PageBcBaserHelperFixture

 Methods

スキーマファイルを探す

findSchemaFile(string $tableName, string $plugin = null) : null | string

Parameters

$tableName

string

テーブル名

$plugin

string

プラグイン名

Returns

nullstring

lib/Baser/Config/Schema以下のスキーマクラスからスキーマを取得

getSchema(string $name) : array

Parameters

$name

string

Model名

Exceptions

\RuntimeException

Returns

array

{@inheritDoc}

init() 

 Properties

 

Name of the object

$name : string

Default

'Page'
 

Records

$records : array

Default

array(array('id' => 1, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 2, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 3, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 4, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 5, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 6, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 7, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 8, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 9, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'), array('id' => 10, 'contents' => '', 'draft' => '', 'code' => '', 'modified' => null, 'created' => '2014-10-20'))