SiteConfigBcBaserHelperFixture

 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

'SiteConfig'
 

Records

$records : array

Default

array(array('id' => '1', 'name' => 'name', 'value' => 'baserCMS inc. [デモ]', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '2', 'name' => 'keyword', 'value' => 'baser,CMS,コンテンツマネジメントシステム,開発支援', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '3', 'name' => 'description', 'value' => 'baserCMS は、CakePHPを利用し、環境準備の素早さに重点を置いた基本開発支援プロジェクトです。WEBサイトに最低限必要となるプラグイン、そしてそのプラグインを組み込みやすい管理画面、認証付きのメンバーマイページを最初から装備しています。', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '4', 'name' => 'address', 'value' => '福岡県', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '5', 'name' => 'theme', 'value' => 'nada-icons', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 12:58:25'), array('id' => '6', 'name' => 'email', 'value' => 'basertest@example.com', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '7', 'name' => 'widget_area', 'value' => '1', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '8', 'name' => 'maintenance', 'value' => '0', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '9', 'name' => 'mail_encode', 'value' => 'UTF-8', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '10', 'name' => 'smtp_host', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '11', 'name' => 'smtp_user', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '12', 'name' => 'smtp_password', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '13', 'name' => 'smtp_port', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '14', 'name' => 'formal_name', 'value' => 'baserCMS inc. [デモ]', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '15', 'name' => 'admin_list_num', 'value' => '10', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '16', 'name' => 'google_analytics_id', 'value' => 'hoge', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '17', 'name' => 'content_categories', 'value' => 'YTowOnt9', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 12:58:25'), array('id' => '18', 'name' => 'content_types', 'value' => 'YTozOntzOjk6IuODluODreOCsCI7czo5OiLjg5bjg63jgrAiO3M6OToi44Oa44O844K4IjtzOjk6IuODmuODvOOCuCI7czo5OiLjg6Hjg7zjg6siO3M6OToi44Oh44O844OrIjt9', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 12:58:25'), array('id' => '19', 'name' => 'category_permission', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 12:58:25'), array('id' => '20', 'name' => 'admin_theme', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 12:58:25'), array('id' => '21', 'name' => 'login_credit', 'value' => '1', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '22', 'name' => 'first_access', 'value' => '', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:32'), array('id' => '23', 'name' => 'editor', 'value' => 'BcCkeditor', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '24', 'name' => 'editor_styles', 'value' => '#青見出し h3 { color:Blue; } #赤見出し h3 { color:Red; } #黄マーカー span { background-color:Yellow; } #緑マーカー span { background-color:Lime; } #大文字 big {} #小文字 small {} #コード code {} #削除文 del {} #挿入文 ins {} #引用 cite {} #インライン q {}', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '25', 'name' => 'editor_enter_br', 'value' => '0', 'created' => '2015-01-27 12:56:52', 'modified' => '2015-01-27 13:01:58'), array('id' => '26', 'name' => 'admin_side_banner', 'value' => '1', 'created' => '2015-01-27 12:56:53', 'modified' => '2015-01-27 13:01:58'), array('id' => '27', 'name' => 'smtp_tls', 'value' => '0', 'created' => '2015-01-27 12:56:53', 'modified' => '2015-01-27 13:01:58'), array('id' => '28', 'name' => 'version', 'value' => '3.0.6.1', 'created' => '2015-01-27 12:58:10', 'modified' => '2015-01-27 12:58:25'), array('id' => '29', 'name' => 'use_universal_analytics', 'value' => '1', 'created' => '2015-01-27 12:58:10', 'modified' => '2015-01-27 12:58:25'), array('id' => '30', 'name' => 'google_maps_api_key', 'value' => 'AIzaSyBeDLfQ5IY3qYm9D9T6OCscuGFB7_0WH08', 'created' => '2015-01-27 12:58:10', 'modified' => '2015-01-27 12:58:25'), array('id' => '31', 'name' => 'main_site_display_name', 'value' => 'パソコン', 'created' => '2015-01-27 12:58:10', 'modified' => '2015-01-27 12:58:25'), array('id' => '32', 'name' => 'use_site_device_setting', 'value' => '1', 'created' => '2015-01-27 12:58:10', 'modified' => '2015-01-27 12:58:25'), array('id' => '33', 'name' => 'use_site_lang_setting', 'value' => '0', 'created' => '2015-01-27 12:58:10', 'modified' => '2015-01-27 12:58:25'))