PHP Class lithium\tests\mocks\data\MockSource

Inheritance: extends lithium\data\Source
Mostra file Open project: unionofrad/lithium Class Usage Examples

Protected Properties

Property Type Description
$_classes
$_mockComments
$_mockCreators
$_mockPosts
$_mockTags
$_postsTags

Public Methods

Method Description
calculation ( $type, $query, array $options = [] )
connect ( )
create ( $query, array $options = [] )
delete ( $query, array $options = [] )
describe ( $entity, $schema = [], array $meta = [] )
disconnect ( )
enabled ( $feature = null )
read ( $query, array $options = [] )
relationship ( $class, $type, $name, array $config = [] )
result ( $type, $resource, $context )
schema ( $query, $resource = null, $context = null )
sources ( $class = null )
update ( $query, array $options = [] )

Method Details

calculation() public method

public calculation ( $type, $query, array $options = [] )
$options array

connect() public method

public connect ( )

create() public method

public create ( $query, array $options = [] )
$options array

delete() public method

public delete ( $query, array $options = [] )
$options array

describe() public method

public describe ( $entity, $schema = [], array $meta = [] )
$meta array

disconnect() public method

public disconnect ( )

enabled() public static method

public static enabled ( $feature = null )

read() public method

public read ( $query, array $options = [] )
$options array

relationship() public method

public relationship ( $class, $type, $name, array $config = [] )
$config array

result() public method

public result ( $type, $resource, $context )

schema() public method

public schema ( $query, $resource = null, $context = null )

sources() public method

public sources ( $class = null )

update() public method

public update ( $query, array $options = [] )
$options array

Property Details

$_classes protected_oe property

protected $_classes

$_mockComments protected_oe property

protected $_mockComments

$_mockCreators protected_oe property

protected $_mockCreators

$_mockPosts protected_oe property

protected $_mockPosts

$_mockTags protected_oe property

protected $_mockTags

$_postsTags protected_oe property

protected $_postsTags