APPPATH/views/tags/news.php [ 34 ]
29 </div>
30 </a>
31 <? endif;*/ ?>
32
33 <? foreach ($news_collection as $news_item): ?>
34 <? $news_count += 1; ?>
35 <a href="<?= $news_item->view_url() ?>">
36 <div class="item">
37 <div class="image resize_news2"
38 style="background: url('<?= $news_item->file_s->html_img_url(232, 142) ?>'); background-size: cover;">
39 <div class="content">
-
APPPATH/views/tags/news.php [ 34 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(30) "Undefined variable: news_count"
2
string(51) "/srv/www/new.baq.kz/application/views/tags/news.php"
3
integer 34
4
array(13) ( "kohana_view_filename" => string(51) "/srv/www/new.baq.kz/application/views/tags/news.php" "kohana_view_data" => array(2) ( "tag" => object Model_Tag(46)
{ protected _table_name => string(4) "tags" protected _list_title => string(23) "Список тегов" protected _edit_title => string(6) "тег" public lang => NULL protected alphabet => array(3) ( "ru" => array(33) ( 0 => string(2) "А" 1 => string(2) "Б" 2 => string(2) "В" 3 => string(2) "Г" 4 => string(2) "Д" 5 => string(2) "Е" 6 => string(2) "Ё" 7 => string(2) "Ж" 8 => string(2) "З" 9 => string(2) "И" 10 => string(2) "Й" 11 => string(2) "К" 12 => string(2) "Л" 13 => string(2) "М" 14 => string(2) "Н" 15 => string(2) "О" 16 => string(2) "П" 17 => string(2) "Р" 18 => string(2) "С" 19 => string(2) "Т" 20 => string(2) "У" 21 => string(2) "Ф" 22 => string(2) "Х" 23 => string(2) "Ц" 24 => string(2) "Ч" 25 => string(2) "Ш" 26 => string(2) "Щ" 27 => string(2) "Ъ" 28 => string(2) "Ы" 29 => string(2) "Ь" 30 => string(2) "Э" 31 => string(2) "Ю" 32 => string(2) "Я" ) "kz" => array(39) ( 0 => string(2) "А" 1 => string(2) "Ә" 2 => string(2) "Б" 3 => string(2) "В" 4 => string(2) "Г" 5 => string(2) "Ғ" 6 => string(2) "Д" 7 => string(2) "Е" 8 => string(2) "Ж" 9 => string(2) "З" 10 => string(2) "И" 11 => string(2) "Й" 12 => string(2) "К" 13 => string(2) "Қ" 14 => string(2) "Л" 15 => string(2) "М" 16 => string(2) "Н" 17 => string(2) "Ң" 18 => string(2) "О" 19 => string(2) "Ө" 20 => string(2) "П" 21 => string(2) "Р" 22 => string(2) "С" 23 => string(2) "Т" 24 => string(2) "У" 25 => string(2) "Ұ" 26 => string(2) "Ү" 27 => string(2) "Ф" 28 => string(2) "Х" 29 => string(2) "Һ" 30 => string(2) "Ц" 31 => string(2) "Ч" 32 => string(2) "Ш" 33 => string(2) "Щ" 34 => string(2) "Ы" 35 => string(2) "І" 36 => string(2) "Э" 37 => string(2) "Ю" 38 => string(2) "Я" ) "en" => array(26) ( 0 => string(1) "A" 1 => string(1) "B" 2 => string(1) "C" 3 => string(1) "D" 4 => string(1) "E" 5 => string(1) "F" 6 => string(1) "G" 7 => string(1) "H" 8 => string(1) "I" 9 => string(1) "J" 10 => string(1) "K" 11 => string(1) "L" 12 => string(1) "M" 13 => string(1) "N" 14 => string(1) "O" 15 => string(1) "P" 16 => string(1) "Q" 17 => string(1) "R" 18 => string(1) "S" 19 => string(1) "T" 20 => string(1) "U" 21 => string(1) "V" 22 => string(1) "W" 23 => string(1) "X" 24 => string(1) "Y" 25 => string(1) "Z" ) ) protected _has_many => array(1) ( "news" => array(4) ( "foreign_key" => string(6) "tag_id" "through" => string(9) "tags_news" "far_key" => string(7) "news_id" "model" => string(4) "News" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _route => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(7) ( "id" => string(3) "760" "tag" => string(28) "қоғамдық көлік " "sef" => string(14) "kogamdik_kolik" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(3) "760" "tag" => string(28) "қоғамдық көлік " "sef" => string(14) "kogamdik_kolik" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(3) "tag" protected _object_plural => string(4) "tags" protected _table_columns => array(7) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tag" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "tag" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(3) "760" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
"news_collection" => object Database_Result_Cached(6){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(3) "tag" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _query => string(1513) "SELECT `news`.`id` AS `id`, `news`.`title` AS `title`, `news`.`description` AS `description`, `news`.`text` AS `text`, `news`.`f …" protected _result => array(20) ( 0 => object Model_News(45)
{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "437642" "title" => string(71) "Астанада "ақылды" аялдама таныстырылды" "description" => string(301) "<p>Астана, BAQ.KZ. Инвестор елордада қоғамдық көлікті күтуге арналған 50-ден астам жылы аялдаманы ашуды жоспарлап отыр, деп хаба …" "text" => string(3928) "<p>Алғашқы Your I-Stop Жағалау шағын ауданында Орынбор көшесі, 4 мекен-жайы бойынша («Құлагер»ТК аялдамасы) ашылды.</p> <p> </p …" "file" => string(6) "329275" "file_author" => string(29) "Нұржас Жақсыбай" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "4284" "date" => string(19) "2018-12-26 22:30:00" "sef" => string(52) "astanada_akildi_ayaldama_tanistirildi20181226_223000" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "437642" "title" => string(71) "Астанада "ақылды" аялдама таныстырылды" "description" => string(301) "<p>Астана, BAQ.KZ. Инвестор елордада қоғамдық көлікті күтуге арналған 50-ден астам жылы аялдаманы ашуды жоспарлап отыр, деп хаба …" "text" => string(3928) "<p>Алғашқы Your I-Stop Жағалау шағын ауданында Орынбор көшесі, 4 мекен-жайы бойынша («Құлагер»ТК аялдамасы) ашылды.</p> <p> </p …" "file" => string(6) "329275" "file_author" => string(29) "Нұржас Жақсыбай" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "4284" "date" => string(19) "2018-12-26 22:30:00" "sef" => string(52) "astanada_akildi_ayaldama_tanistirildi20181226_223000" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "437642" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
1 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "437610" "title" => string(110) "Автобус өртіне кінәлі күдікті Өзбекстаннан елге жеткізілді" "description" => string(424) "<p>Астана, BAQ.KZ. Қазақстанның Бас прокуратурасы мен ІІМ қызметкерлері қылмыстық жауапкершілікке тарту үшін Өзбекстаннан Ордуха …" "text" => string(1144) "<blockquote> <p>"Ұсталған адам осы жылдың қаңтар айында Ақтөбе облысында көлік құралының өртенуіне және 52 адамның қаза табуына …" "file" => string(6) "328821" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2832" "date" => string(19) "2018-12-26 15:51:00" "sef" => string(76) "avtobus_ortine_kinali_kudikti_ozbekstannan_ekstraditsiyalandi20181226_155100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "437610" "title" => string(110) "Автобус өртіне кінәлі күдікті Өзбекстаннан елге жеткізілді" "description" => string(424) "<p>Астана, BAQ.KZ. Қазақстанның Бас прокуратурасы мен ІІМ қызметкерлері қылмыстық жауапкершілікке тарту үшін Өзбекстаннан Ордуха …" "text" => string(1144) "<blockquote> <p>"Ұсталған адам осы жылдың қаңтар айында Ақтөбе облысында көлік құралының өртенуіне және 52 адамның қаза табуына …" "file" => string(6) "328821" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2832" "date" => string(19) "2018-12-26 15:51:00" "sef" => string(76) "avtobus_ortine_kinali_kudikti_ozbekstannan_ekstraditsiyalandi20181226_155100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "437610" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
2 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436746" "title" => string(91) "Үш күнде 5 мың жол ережесін бұзу оқиғасы тіркелген" "description" => string(186) "<p>Астана, BAQ.KZ. Ішкі істер министрлігі ел аумағында «Автобус» жедел алдын алу шарасын өткізіп жатыр.</p> " "text" => string(2854) "<p style="text-align: justify;">Бұл іс-шара жолаушылар көлігінің қатысуымен болатын жол-көлік оқиғаларын азайтуға, оның зардабын …" "file" => string(6) "327164" "file_author" => string(0) "" "category_id" => string(2) "26" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1914" "date" => string(19) "2018-12-06 18:19:00" "sef" => string(68) "ush_kunde_5_min_zhol_erezhesin_buzu_okigasi_tirkelgen20181206_181900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436746" "title" => string(91) "Үш күнде 5 мың жол ережесін бұзу оқиғасы тіркелген" "description" => string(186) "<p>Астана, BAQ.KZ. Ішкі істер министрлігі ел аумағында «Автобус» жедел алдын алу шарасын өткізіп жатыр.</p> " "text" => string(2854) "<p style="text-align: justify;">Бұл іс-шара жолаушылар көлігінің қатысуымен болатын жол-көлік оқиғаларын азайтуға, оның зардабын …" "file" => string(6) "327164" "file_author" => string(0) "" "category_id" => string(2) "26" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1914" "date" => string(19) "2018-12-06 18:19:00" "sef" => string(68) "ush_kunde_5_min_zhol_erezhesin_buzu_okigasi_tirkelgen20181206_181900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "436746" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
3 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436634" "title" => string(75) "Пойыз билеті, көлік, ет бағасы қымбаттады" "description" => string(331) "<p>Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> 2018 жылғы қаңтар-қарашада Қазақстан Республикасында инфляция 4,6%-ды құрады. …" "text" => string(2889) "<p style="text-align: justify;">Баға азық-түлік тауарларына осы жылғы он бір айда (2018ж. қараша 2017ж. желтоқсанға) – 3,8%, азы …" "file" => string(6) "326951" "file_author" => string(0) "" "category_id" => string(3) "127" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2177" "date" => string(19) "2018-12-04 20:36:00" "sef" => string(54) "poiiz_bileti_kolik_et_bagasi_kimbattadi20181204_203600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436634" "title" => string(75) "Пойыз билеті, көлік, ет бағасы қымбаттады" "description" => string(331) "<p>Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> 2018 жылғы қаңтар-қарашада Қазақстан Республикасында инфляция 4,6%-ды құрады. …" "text" => string(2889) "<p style="text-align: justify;">Баға азық-түлік тауарларына осы жылғы он бір айда (2018ж. қараша 2017ж. желтоқсанға) – 3,8%, азы …" "file" => string(6) "326951" "file_author" => string(0) "" "category_id" => string(3) "127" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2177" "date" => string(19) "2018-12-04 20:36:00" "sef" => string(54) "poiiz_bileti_kolik_et_bagasi_kimbattadi20181204_203600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "436634" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
4 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436161" "title" => string(78) "Астана маңына қатынайтын бағдарлар ашылды" "description" => string(387) "<p style="text-align: justify;">Астана, BAQ.KZ. Қала маңындағы елдімекендерге қатынайтын бағдардың қозғалысы 24 қарашада ауа рай …" "text" => string(779) "<blockquote> <p style="text-align: justify;">«25 қарашада сағат 09:00-де қала маңындағы елдімекендерге баратын №300, 301, 302, 3 …" "file" => string(6) "325878" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1795" "date" => string(19) "2018-11-25 12:58:00" "sef" => string(57) "astana_manina_katinaitin_bagdarlar_ashildi20181125_125800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436161" "title" => string(78) "Астана маңына қатынайтын бағдарлар ашылды" "description" => string(387) "<p style="text-align: justify;">Астана, BAQ.KZ. Қала маңындағы елдімекендерге қатынайтын бағдардың қозғалысы 24 қарашада ауа рай …" "text" => string(779) "<blockquote> <p style="text-align: justify;">«25 қарашада сағат 09:00-де қала маңындағы елдімекендерге баратын №300, 301, 302, 3 …" "file" => string(6) "325878" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1795" "date" => string(19) "2018-11-25 12:58:00" "sef" => string(57) "astana_manina_katinaitin_bagdarlar_ashildi20181125_125800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "436161" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
5 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436064" "title" => string(127) "Ауа райына байланысты Астана маңына қатынайтын бағдарлар тоқтатылды" "description" => string(347) "<p style="text-align: justify;">Астана, BAQ.KZ. Боран және көктайғаққа байланысты Астана қаласымен байланысатын қала аралық тасж …" "text" => string(1030) "<blockquote> <p style="text-align: justify;">«Ауа райының бұзылуына және жолдардың жабылуына байланысты келесі аймақтық бағдарла …" "file" => string(6) "325737" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1632" "date" => string(19) "2018-11-23 09:08:00" "sef" => string(82) "aua_raiina_bailanisti_astana_manina_katinaitin_bagdarlar_toktatildi20181123_090800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436064" "title" => string(127) "Ауа райына байланысты Астана маңына қатынайтын бағдарлар тоқтатылды" "description" => string(347) "<p style="text-align: justify;">Астана, BAQ.KZ. Боран және көктайғаққа байланысты Астана қаласымен байланысатын қала аралық тасж …" "text" => string(1030) "<blockquote> <p style="text-align: justify;">«Ауа райының бұзылуына және жолдардың жабылуына байланысты келесі аймақтық бағдарла …" "file" => string(6) "325737" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1632" "date" => string(19) "2018-11-23 09:08:00" "sef" => string(82) "aua_raiina_bailanisti_astana_manina_katinaitin_bagdarlar_toktatildi20181123_090800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "436064" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
6 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "435730" "title" => string(105) "Атырауда жүргізушілер мен кондукторлардың жалақысы өсті" "description" => string(295) "<p>Атырау, BAQ.KZ. Жолсеріктер мен жүргізушілердің жалақысын өсірудегі мақсат -қалалық автобустарда электронды билет жүйесінің …" "text" => string(2157) "<p style="text-align: justify;">Бұл туралы "Смарт-Атырау" КММ басшысы Әділбек Танкиев мәлімдеді.</p> <p style="text-align: just …" "file" => string(6) "325009" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1952" "date" => string(19) "2018-11-16 14:45:00" "sef" => string(73) "atirauda_zhurgizushiler_men_konduktorlardin_zhalakisi_osti20181116_144500" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35700" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435730" "title" => string(105) "Атырауда жүргізушілер мен кондукторлардың жалақысы өсті" "description" => string(295) "<p>Атырау, BAQ.KZ. Жолсеріктер мен жүргізушілердің жалақысын өсірудегі мақсат -қалалық автобустарда электронды билет жүйесінің …" "text" => string(2157) "<p style="text-align: justify;">Бұл туралы "Смарт-Атырау" КММ басшысы Әділбек Танкиев мәлімдеді.</p> <p style="text-align: just …" "file" => string(6) "325009" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1952" "date" => string(19) "2018-11-16 14:45:00" "sef" => string(73) "atirauda_zhurgizushiler_men_konduktorlardin_zhalakisi_osti20181116_144500" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35700" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435730" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
7 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "435643" "title" => string(112) "Қарағандыда жыл басынан бері жол апатынан 161 адам қаза тапқан" "description" => string(630) "<p style="text-align: justify;">Қарағанды, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Аймақта жол көлік оқиғасы салдарынан …" "text" => string(2577) "<p style="text-align: justify;">Қарағанды облыстық Полиция департаментінің мәліметінше, тас жолдағы апаттардың көпшілігі жеңіл к …" "file" => string(6) "324838" "file_author" => string(22) "интернеттен" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1858" "date" => string(19) "2018-11-15 08:36:00" "sef" => string(79) "karagandida_zhil_basinan_beri_zhol_apatinan_161_adam_kaza_tapkan20181115_083600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "148" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435643" "title" => string(112) "Қарағандыда жыл басынан бері жол апатынан 161 адам қаза тапқан" "description" => string(630) "<p style="text-align: justify;">Қарағанды, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Аймақта жол көлік оқиғасы салдарынан …" "text" => string(2577) "<p style="text-align: justify;">Қарағанды облыстық Полиция департаментінің мәліметінше, тас жолдағы апаттардың көпшілігі жеңіл к …" "file" => string(6) "324838" "file_author" => string(22) "интернеттен" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1858" "date" => string(19) "2018-11-15 08:36:00" "sef" => string(79) "karagandida_zhil_basinan_beri_zhol_apatinan_161_adam_kaza_tapkan20181115_083600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "148" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435643" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
8 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "435529" "title" => string(90) "Көкшетауда автобустар электронды билетке көшеді" "description" => string(312) "<p style="text-align: justify;"><strong>Көкшетау BAQ.KZ тілшісі. Көкшетауда қоғамдық көліктер электронды билетке көшеді. Жаңа жо …" "text" => string(3080) "<p style="text-align: justify;">Қазіргі уақытта «Kazintersoft» компаниясының өкілдері қаладағы №1, 25 бағытындағы автобустарда …" "file" => string(6) "324626" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1902" "date" => string(19) "2018-11-13 14:37:00" "sef" => string(64) "kokshetauda_avtobustar_elektrondi_biletke_koshedi20181113_143700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "175" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435529" "title" => string(90) "Көкшетауда автобустар электронды билетке көшеді" "description" => string(312) "<p style="text-align: justify;"><strong>Көкшетау BAQ.KZ тілшісі. Көкшетауда қоғамдық көліктер электронды билетке көшеді. Жаңа жо …" "text" => string(3080) "<p style="text-align: justify;">Қазіргі уақытта «Kazintersoft» компаниясының өкілдері қаладағы №1, 25 бағытындағы автобустарда …" "file" => string(6) "324626" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1902" "date" => string(19) "2018-11-13 14:37:00" "sef" => string(64) "kokshetauda_avtobustar_elektrondi_biletke_koshedi20181113_143700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "175" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435529" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
9 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "435321" "title" => string(99) "Таразда автобус жолақысы қымбаттай ма? Әкімнің жауабы" "description" => string(467) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Жамбыл облысының әкімі Асқар Мырзахметов Тараз қаласында қоғамдық көлікт …" "text" => string(4704) "<p style="text-align: justify;">Шарада журналистердің бірі облыс әкімінен Тараз қаласындағы қоғамдық көліктерде жолақы бағасы 90 …" "file" => string(6) "324268" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1963" "date" => string(19) "2018-11-08 17:32:00" "sef" => string(69) "tarazda_avtobus_zholakisi_kimbattai_ma_akimnin_zhauabi20181108_173200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435321" "title" => string(99) "Таразда автобус жолақысы қымбаттай ма? Әкімнің жауабы" "description" => string(467) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Жамбыл облысының әкімі Асқар Мырзахметов Тараз қаласында қоғамдық көлікт …" "text" => string(4704) "<p style="text-align: justify;">Шарада журналистердің бірі облыс әкімінен Тараз қаласындағы қоғамдық көліктерде жолақы бағасы 90 …" "file" => string(6) "324268" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1963" "date" => string(19) "2018-11-08 17:32:00" "sef" => string(69) "tarazda_avtobus_zholakisi_kimbattai_ma_akimnin_zhauabi20181108_173200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435321" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
10 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "435138" "title" => string(83) "Жол жүру картасына түспеген ақша қайтарылады" "description" => string(277) "<p style="text-align: justify;">Астана, BAQ.KZ. Бұдан былай қоғамдық көлкпен жүру барысында ALRT картасын толтырған ақшаңыз карт …" "text" => string(1823) "<p style="text-align: justify;">Бұрын егер көлік картасы RTVM терминалы арқылы дұрыс толтырылмаған жағдайда пайдаланушы картаға …" "file" => string(6) "323894" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1701" "date" => string(19) "2018-11-06 10:48:00" "sef" => string(62) "zhol_zhuru_kartasina_tuspegen_aksha_kaitariladi20181106_103800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435138" "title" => string(83) "Жол жүру картасына түспеген ақша қайтарылады" "description" => string(277) "<p style="text-align: justify;">Астана, BAQ.KZ. Бұдан былай қоғамдық көлкпен жүру барысында ALRT картасын толтырған ақшаңыз карт …" "text" => string(1823) "<p style="text-align: justify;">Бұрын егер көлік картасы RTVM терминалы арқылы дұрыс толтырылмаған жағдайда пайдаланушы картаға …" "file" => string(6) "323894" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1701" "date" => string(19) "2018-11-06 10:48:00" "sef" => string(62) "zhol_zhuru_kartasina_tuspegen_aksha_kaitariladi20181106_103800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435138" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
11 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "434660" "title" => string(108) "Астаналықтар жолақыны банк картасы арқылы төлейтін болады" "description" => string(243) "<p>Астана, BAQ.KZ. Бұл қаражатты көлеңкелі айналымнан шығаруға мүмкіндік берді және тасымалдаушылардың табыстылығын 15 % - ға ар …" "text" => string(1518) "<p style="text-align: justify;">Астана қаласы әкімдігінің ресми сайтының мәліметіне қарағанда, сараланған тариф іске қосылған бі …" "file" => string(6) "323003" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2048" "date" => string(19) "2018-10-26 18:35:00" "sef" => string(73) "astanaliktar_zholakini_bank_kartasi_arkili_toleitin_boladi20181026_162600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434660" "title" => string(108) "Астаналықтар жолақыны банк картасы арқылы төлейтін болады" "description" => string(243) "<p>Астана, BAQ.KZ. Бұл қаражатты көлеңкелі айналымнан шығаруға мүмкіндік берді және тасымалдаушылардың табыстылығын 15 % - ға ар …" "text" => string(1518) "<p style="text-align: justify;">Астана қаласы әкімдігінің ресми сайтының мәліметіне қарағанда, сараланған тариф іске қосылған бі …" "file" => string(6) "323003" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2048" "date" => string(19) "2018-10-26 18:35:00" "sef" => string(73) "astanaliktar_zholakini_bank_kartasi_arkili_toleitin_boladi20181026_162600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "434660" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
12 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "434604" "title" => string(66) "Алматы тағы да 200 автобуспен толықты" "description" => string(374) "<p style="text-align: justify;">Алматы, BAQ.KZ. <strong>Көлік реформасын жүзеге асыру аясында қаланың жолаушылар көлігін жаңарту …" "text" => string(4234) "<p style="text-align: justify;">Сыйымдылығы үлкен жаңа автобустар №48 бағыт бойынша жүреді, сонымен қатар № 12, 19, 56, 70, 77, …" "file" => string(6) "322898" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1905" "date" => string(19) "2018-10-25 17:11:00" "sef" => string(52) "almati_tagi_da_200_avtobuspen_tolikti20181025_170900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434604" "title" => string(66) "Алматы тағы да 200 автобуспен толықты" "description" => string(374) "<p style="text-align: justify;">Алматы, BAQ.KZ. <strong>Көлік реформасын жүзеге асыру аясында қаланың жолаушылар көлігін жаңарту …" "text" => string(4234) "<p style="text-align: justify;">Сыйымдылығы үлкен жаңа автобустар №48 бағыт бойынша жүреді, сонымен қатар № 12, 19, 56, 70, 77, …" "file" => string(6) "322898" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1905" "date" => string(19) "2018-10-25 17:11:00" "sef" => string(52) "almati_tagi_da_200_avtobuspen_tolikti20181025_170900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "434604" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
13 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "434318" "title" => string(104) "Астана LRT көлік картасын толтырудың жаңа әдісін енгізбек" "description" => string(320) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Astana LRT ЖШС басқарма төрағасы Бекмырз …" "text" => string(3866) "<blockquote> <p style="text-align: justify;">«Тиісті қосымша қазір Android платформасындағы ұялы телефондарына жүктеліп жатыр. Б …" "file" => string(6) "322339" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2397" "date" => string(19) "2018-10-19 16:12:00" "sef" => string(75) "astana_lrt_koliktik_kartani_toltirudin_zhana_adisin_engizbek20181019_162400" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434318" "title" => string(104) "Астана LRT көлік картасын толтырудың жаңа әдісін енгізбек" "description" => string(320) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Astana LRT ЖШС басқарма төрағасы Бекмырз …" "text" => string(3866) "<blockquote> <p style="text-align: justify;">«Тиісті қосымша қазір Android платформасындағы ұялы телефондарына жүктеліп жатыр. Б …" "file" => string(6) "322339" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2397" "date" => string(19) "2018-10-19 16:12:00" "sef" => string(75) "astana_lrt_koliktik_kartani_toltirudin_zhana_adisin_engizbek20181019_162400" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "434318" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
14 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "434315" "title" => string(97) "Astana LRT жол картасына қатысты шыққан шуға жауап берді " "description" => string(335) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Astana LRT ЖШС төлем жүйесі департаменті …" "text" => string(1167) "<p style="text-align: justify;">Осыған дейін әлеуметтік желілерде қоғамдық көліктерде картадан екі есе қаражат алынатыны туралы …" "file" => string(6) "322336" "file_author" => string(10) "автор" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2066" "date" => string(19) "2018-10-19 15:59:00" "sef" => string(75) "astana_lrt_zhol_kartasina_katisti_shikkan_shuga_zhauap_berdi20181019_155900" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434315" "title" => string(97) "Astana LRT жол картасына қатысты шыққан шуға жауап берді " "description" => string(335) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Astana LRT ЖШС төлем жүйесі департаменті …" "text" => string(1167) "<p style="text-align: justify;">Осыған дейін әлеуметтік желілерде қоғамдық көліктерде картадан екі есе қаражат алынатыны туралы …" "file" => string(6) "322336" "file_author" => string(10) "автор" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2066" "date" => string(19) "2018-10-19 15:59:00" "sef" => string(75) "astana_lrt_zhol_kartasina_katisti_shikkan_shuga_zhauap_berdi20181019_155900" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "434315" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
15 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "434218" "title" => string(142) "Алматы көлік жүйесін кешенді реформалау бойынша ең жоғары марапатқа ие болды" "description" => string(397) "<p style="text-align: justify;"><strong>Алматы, BAQ.KZ. Алматы</strong><strong> Люблянда өткен</strong> <strong>ақылды қалаларды …" "text" => string(4425) "<p style="text-align: justify;">Әлемдік ең үздік 50 практика мен инновациялық жобаның финалдық үштігіне «Анкара парк» туристік ж …" "file" => string(6) "322119" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1636" "date" => string(19) "2018-10-18 12:05:00" "sef" => string(95) "almati_kolik_zhuiesin_keshendi_reformalau_boiinsha_en_zhogari_marapatka_ie_boldi20181018_112700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434218" "title" => string(142) "Алматы көлік жүйесін кешенді реформалау бойынша ең жоғары марапатқа ие болды" "description" => string(397) "<p style="text-align: justify;"><strong>Алматы, BAQ.KZ. Алматы</strong><strong> Люблянда өткен</strong> <strong>ақылды қалаларды …" "text" => string(4425) "<p style="text-align: justify;">Әлемдік ең үздік 50 практика мен инновациялық жобаның финалдық үштігіне «Анкара парк» туристік ж …" "file" => string(6) "322119" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1636" "date" => string(19) "2018-10-18 12:05:00" "sef" => string(95) "almati_kolik_zhuiesin_keshendi_reformalau_boiinsha_en_zhogari_marapatka_ie_boldi20181018_112700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "434218" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
16 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "433633" "title" => string(112) "Атырауда қала күніне орай 20 жаңа автобус пайдалануға берілді" "description" => string(324) "<p style="text-align: justify;">21 орындық және тұрып тұруға арналған 75 орны бар 11 метрлік автобустар Атыраудағы қоғамдық көлі …" "text" => string(3980) "<p style="text-align: justify;">Осылайша, Атырауда қоғамдық көлік тұжырымдамасын іске асыру басталды. Ағымдағы жылдың аяғына дей …" "file" => string(6) "321030" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2005" "date" => string(19) "2018-10-07 12:43:00" "sef" => string(77) "atirauda_kala_kunine_orai_20_zhana_avtobus_paidalanuga_berildi20181007_124300" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35700" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "433633" "title" => string(112) "Атырауда қала күніне орай 20 жаңа автобус пайдалануға берілді" "description" => string(324) "<p style="text-align: justify;">21 орындық және тұрып тұруға арналған 75 орны бар 11 метрлік автобустар Атыраудағы қоғамдық көлі …" "text" => string(3980) "<p style="text-align: justify;">Осылайша, Атырауда қоғамдық көлік тұжырымдамасын іске асыру басталды. Ағымдағы жылдың аяғына дей …" "file" => string(6) "321030" "file_author" => string(0) "" "category_id" => string(3) "295" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2005" "date" => string(19) "2018-10-07 12:43:00" "sef" => string(77) "atirauda_kala_kunine_orai_20_zhana_avtobus_paidalanuga_berildi20181007_124300" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35700" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "433633" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
17 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(4) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "433138" "title" => string(64) "Астанаға кіруді ақылы ету ұсынылды" "description" => string(402) "<p style="text-align: justify;">«Астана LRT» компаниясы кей көлік түрлеріне Астанаға таңғы және кешкі мезгілде кіруді ақылы қылу …" "text" => string(1653) "<p style="text-align: justify;">Қалалық әкімдікте астананың көлік жүйесін жаңғырту мәселесіне арналған пресс-конференцияда Астан …" "file" => string(6) "320025" "file_author" => string(0) "" "category_id" => string(2) "11" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1604" "date" => string(19) "2018-09-27 20:51:00" "sef" => string(49) "astanaga_kirudi_akili_etu_usinildi20180927_205100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "433138" "title" => string(64) "Астанаға кіруді ақылы ету ұсынылды" "description" => string(402) "<p style="text-align: justify;">«Астана LRT» компаниясы кей көлік түрлеріне Астанаға таңғы және кешкі мезгілде кіруді ақылы қылу …" "text" => string(1653) "<p style="text-align: justify;">Қалалық әкімдікте астананың көлік жүйесін жаңғырту мәселесіне арналған пресс-конференцияда Астан …" "file" => string(6) "320025" "file_author" => string(0) "" "category_id" => string(2) "11" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1604" "date" => string(19) "2018-09-27 20:51:00" "sef" => string(49) "astanaga_kirudi_akili_etu_usinildi20180927_205100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_