BlogContentFixture

 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

'BlogContent'
 

Records

$records : array

Default

array(array('id' => '1', 'description' => 'baserCMS inc. [デモ] の最新の情報をお届けします。', 'template' => 'default', 'list_count' => '10', 'list_direction' => 'DESC', 'feed_count' => '10', 'tag_use' => '1', 'comment_use' => '1', 'comment_approve' => '0', 'auth_captcha' => '1', 'widget_area' => '2', 'eye_catch_size' => 'YTo0OntzOjExOiJ0aHVtYl93aWR0aCI7czozOiIzMDAiO3M6MTI6InRodW1iX2hlaWdodCI7czozOiIzMDAiO3M6MTg6Im1vYmlsZV90aHVtYl93aWR0aCI7czozOiIxMDAiO3M6MTk6Im1vYmlsZV90aHVtYl9oZWlnaHQiO3M6MzoiMTAwIjt9', 'use_content' => '1', 'created' => '2015-08-10 18:57:47', 'modified' => NULL), array('id' => '2', 'description' => 'ディスクリプション', 'template' => 'default', 'list_count' => '10', 'list_direction' => 'DESC', 'feed_count' => '10', 'tag_use' => '1', 'comment_use' => '1', 'comment_approve' => '0', 'auth_captcha' => '1', 'widget_area' => '2', 'eye_catch_size' => 'YTo0OntzOjExOiJ0aHVtYl93aWR0aCI7czozOiIzMDAiO3M6MTI6InRodW1iX2hlaWdodCI7czozOiIzMDAiO3M6MTg6Im1vYmlsZV90aHVtYl93aWR0aCI7czozOiIxMDAiO3M6MTk6Im1vYmlsZV90aHVtYl9oZWlnaHQiO3M6MzoiMTAwIjt9', 'use_content' => '1', 'created' => '2015-08-10 18:57:47', 'modified' => NULL), array('id' => '3', 'description' => 'description3', 'template' => 'default', 'list_count' => '10', 'list_direction' => 'DESC', 'feed_count' => '10', 'tag_use' => '1', 'comment_use' => '1', 'comment_approve' => '0', 'auth_captcha' => '1', 'widget_area' => '2', 'eye_catch_size' => 'YTo0OntzOjExOiJ0aHVtYl93aWR0aCI7czozOiIzMDAiO3M6MTI6InRodW1iX2hlaWdodCI7czozOiIzMDAiO3M6MTg6Im1vYmlsZV90aHVtYl93aWR0aCI7czozOiIxMDAiO3M6MTk6Im1vYmlsZV90aHVtYl9oZWlnaHQiO3M6MzoiMTAwIjt9', 'use_content' => '1', 'created' => '2015-08-10 18:57:47', 'modified' => NULL))