MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ]
166 {
167 // This benchmark is worthless
168 Profiler::delete($benchmark);
169 }
170
171 throw new Database_Exception(':error [ :query ]', array(
172 ':error' => $this->_connection->error,
173 ':query' => $sql
174 ), $this->_connection->errno);
175 }
176
-
MODPATH/database/classes/Kohana/Database/MySQLi.php [ 337 ] » Kohana_Database_MySQLi->query(arguments)
0
integer 1
1
string(30) "SHOW FULL COLUMNS FROM `users`"
2
bool FALSE
332 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 333 } 334 else 335 { 336 // Find all column names 337 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 338 } 339 340 $count = 0; 341 $columns = array(); 342 foreach ($result as $row)
-
MODPATH/orm/classes/Kohana/ORM.php [ 1668 ] » Kohana_Database_MySQLi->list_columns(arguments)
0
string(7) "`users`"
1663 * @return array 1664 */ 1665 public function list_columns() 1666 { 1667 // Proxy to database 1668 return $this->_db->list_columns($this->_table_name); 1669 } 1670 1671 /** 1672 * Returns an ORM model for the given one-one related alias 1673 *
-
MODPATH/orm/classes/Kohana/ORM.php [ 444 ] » Kohana_ORM->list_columns()
439 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 440 } 441 else 442 { 443 // Grab column information from database 444 $this->_table_columns = $this->list_columns(); 445 446 // Load column cache 447 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 448 } 449 }
-
MODPATH/orm/classes/Kohana/ORM.php [ 389 ] » Kohana_ORM->reload_columns()
384 { 385 $this->{$property} = $value; 386 } 387 388 // Load column information 389 $this->reload_columns(); 390 391 // Clear initial model state 392 $this->clear(); 393 } 394
-
MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize()
249 * 250 * @param mixed $id Parameter for find or object to load 251 */ 252 public function __construct($id = NULL) 253 { 254 $this->_initialize(); 255 256 if ($id !== NULL) 257 { 258 if (is_array($id)) 259 {
-
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct(arguments)
0
NULL
41 public static function factory($model, $id = NULL) 42 { 43 // Set class name 44 $model = 'Model_'.$model; 45 46 return new $model($id); 47 } 48 49 /** 50 * "Has one" relationships 51 * @var array
-
MODPATH/orm/classes/Kohana/ORM.php [ 1689 ] » Kohana_ORM::factory(arguments)
0
string(10) "Model_User"
1684 { 1685 return $this->_related[$alias] = ORM::factory($this->_has_one[$alias]['model']); 1686 } 1687 elseif (isset($this->_belongs_to[$alias])) 1688 { 1689 return $this->_related[$alias] = ORM::factory($this->_belongs_to[$alias]['model']); 1690 } 1691 else 1692 { 1693 return FALSE; 1694 }
-
MODPATH/orm/classes/Kohana/ORM.php [ 629 ] » Kohana_ORM->_related(arguments)
0
string(6) "author"
624 // Return related model that has already been fetched 625 return $this->_related[$column]; 626 } 627 elseif (isset($this->_belongs_to[$column])) 628 { 629 $model = $this->_related($column); 630 631 // Use this model's column and foreign model's primary key 632 $col = $model->_object_name.'.'.$model->_primary_key; 633 $val = $this->_object[$this->_belongs_to[$column]['foreign_key']]; 634
-
MODPATH/orm/classes/Kohana/ORM.php [ 603 ] » Kohana_ORM->get(arguments)
0
string(6) "author"
598 * @param string $column Column name 599 * @return mixed 600 */ 601 public function __get($column) 602 { 603 return $this->get($column); 604 } 605 606 /** 607 * Handles getting of column 608 * Override this method to add custom get behavior
-
APPPATH/classes/Model/News/Comment.php [ 80 ] » Kohana_ORM->__get(arguments)
0
string(6) "author"
75 //return $comments->authors->find_all(); 76 } 77 78 public function get_author_name() 79 { 80 if ($this->author->first_name || $this->author->last_name) { 81 return trim($this->author->first_name . " " . $this->author->last_name); 82 } else { 83 return $this->username ?: ( 84 $this->author->username ?: Kohana::message('comments', 'anonymous') 85 );
-
MODPATH/comments/views/comments/comments.php [ 18 ] » Model_News_Comment->get_author_name()
13 $timestamp_comm = strtotime($comment->created); 14 $timestamp_curr = time(); 15 16 //echo $timestamp_comm; 17 18 $author = $comment->get_author_name(); 19 20 if (preg_match("/\@/", $author)) 21 { 22 list($author, $trash) = explode("@", $author); 23 }
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(69) "/home/www/astr.ru/kohana/modules/comments/views/comments/comments.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(69) "/home/www/astr.ru/kohana/modules/comments/views/comments/comments.php"
1
array(2) ( "comments" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 1 protected _query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _result => object mysqli_result(5)
"admin" => bool FALSE ){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(18) "Model_News_Comment" protected _object_params => NULL }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
MODPATH/comments/classes/Kohana/Comments.php [ 8 ] » Kohana_View->__toString()
3 static function factory (ORM $model) { 4 return new static($model); 5 } 6 7 static function render (ORM $model, $model_id) { 8 echo static::factory($model)->comments_view($model_id); 9 } 10 11 static function form (ORM $model, $id = null, $model_id = null) { 12 echo static::factory($model)->form_view($id, $model_id); 13 }
-
APPPATH/views/news/item.php [ 156 ] » Kohana_Comments::render(arguments)
0
object Model_News_Comment(36)
{ protected _table_name => string(13) "news_comments" protected _primary_key => string(2) "id" protected _belongs_to => array(1) ( "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(4) "User" ) ) protected _has_many => array(2) ( "authors" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(9) "author_id" "model" => string(1) "u" ) "items" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _rules => array(2) ( "content" => array(3) ( "not_empty" => NULL "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 65536 ) ) "username" => array(2) ( "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 32 ) ) ) protected _labels => array(1) ( "content" => string(15) "Comment content" ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(9) ( "id" => NULL "model_id" => NULL "model_name" => NULL "thread" => NULL "username" => NULL "author_id" => NULL "content" => NULL "created" => NULL "modified" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(12) "news_comment" protected _object_plural => string(13) "news_comments" protected _table_columns => array(9) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "model_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "model_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "model_name" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "model_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "thread" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "thread" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "username" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "username" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "created" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "created" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(9) "timestamp" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "modified" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(9) "timestamp" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
{ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(12) "news_comment" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }1
string(5) "48994"
151 <br/> 152 153 <div id="comments"> 154 <?php 155 156 print Comments::render($comments, $item->item_id); 157 158 print Comments::form($comments, null, $item->item_id); 159 160 if (!$authorized) { ?><script type="text/javascript">var nonAuthorized = true;</script><?php } ?> 161
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(53) "/home/www/astr.ru/www/application/views/news/item.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(53) "/home/www/astr.ru/www/application/views/news/item.php"
1
array(15) ( "item" => object Model_News_Item(34)
{ protected _table_name => string(10) "news_items" protected _primary_key => string(7) "item_id" protected _belongs_to => array(3) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "category" ) "source" => array(2) ( "foreign_key" => string(9) "source_id" "model" => string(6) "source" ) "feed" => array(2) ( "foreign_key" => string(7) "feed_id" "model" => string(4) "feed" ) ) protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "item_id" => string(5) "48994" "category_id" => string(1) "3" "source_id" => string(1) "9" "feed_id" => string(1) "7" "title" => string(132) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" "announce" => string(0) "" "content" => string(3362) "<p><span style="font-size:15px"><span style="color:#000000"><span style="font-family:yandex-sans"><span style="background-color: …" "hyperlink" => string(0) "" "ctime" => string(10) "1495092785" "cday" => string(2) "18" "img" => string(17) "591d4e314d19b.jpg" "video" => string(0) "" "gallery" => string(0) "" "comments" => string(1) "1" "views" => string(4) "1761" "visibility" => string(1) "1" "pin" => string(1) "0" "pin_dttm" => string(0) "" "moderated" => string(1) "1" ) protected _changed => array(0) protected _original_values => array(19) ( "item_id" => string(5) "48994" "category_id" => string(1) "3" "source_id" => string(1) "9" "feed_id" => string(1) "7" "title" => string(132) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" "announce" => string(0) "" "content" => string(3362) "<p><span style="font-size:15px"><span style="color:#000000"><span style="font-family:yandex-sans"><span style="background-color: …" "hyperlink" => string(0) "" "ctime" => string(10) "1495092785" "cday" => string(2) "18" "img" => string(17) "591d4e314d19b.jpg" "video" => string(0) "" "gallery" => string(0) "" "comments" => string(1) "1" "views" => string(4) "1761" "visibility" => string(1) "1" "pin" => string(1) "0" "pin_dttm" => string(0) "" "moderated" => string(1) "1" ) 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(9) "news_item" protected _object_plural => string(10) "news_items" protected _table_columns => array(19) ( "item_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "item_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "source_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "source_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "feed_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "feed_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "announce" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "announce" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "ctime" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "ctime" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(2) "11" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "cday" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "cday" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "img" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "img" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "character_maximum_length" => string(3) "100" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "video" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(5) "video" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "gallery" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "gallery" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "comments" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "comments" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "views" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "views" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "visibility" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "visibility" "column_default" => string(1) "0" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(18) "utf8mb4_unicode_ci" "options" => array(2) ( 0 => string(1) "1" 1 => string(1) "0" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "pin" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(3) "pin" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "pin_dttm" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "pin_dttm" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "10" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "moderated" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "moderated" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(5) "48994" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"admin" => bool FALSE "category" => object Model_News_Category(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(9) "news_item" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(15) "news_categories" protected _primary_key => string(11) "category_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "category_id" => NULL "sort_id" => NULL "name" => NULL "title" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "news_category" protected _object_plural => string(15) "news_categories" protected _table_columns => array(4) ( "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 FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "sort_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "sort_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"feeds" => object Model_News_Feed(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(13) "news_category" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(10) "news_feeds" protected _primary_key => string(7) "feed_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(7) "feed_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "feed_id" => string(1) "7" "name" => string(2) "pr" "title" => string(31) "Новости компаний" ) protected _changed => array(0) protected _original_values => array(3) ( "feed_id" => string(1) "7" "name" => string(2) "pr" "title" => string(31) "Новости компаний" ) 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(9) "news_feed" protected _object_plural => string(10) "news_feeds" protected _table_columns => array(3) ( "feed_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "feed_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "7" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "sources" => object Model_News_Source(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(9) "news_feed" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(12) "news_sources" protected _primary_key => string(9) "source_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(9) "source_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "source_id" => NULL "source_hyperlink" => NULL "title" => NULL "hyperlink" => NULL "description" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(11) "news_source" protected _object_plural => string(12) "news_sources" protected _table_columns => array(5) ( "source_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "source_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "source_hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "source_hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"domain" => string(7) "astr.ru" "st" => string(2) "st" "authorized" => NULL "comments" => object Model_News_Comment(36){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(11) "news_source" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(13) "news_comments" protected _primary_key => string(2) "id" protected _belongs_to => array(1) ( "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(4) "User" ) ) protected _has_many => array(2) ( "authors" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(9) "author_id" "model" => string(1) "u" ) "items" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _rules => array(2) ( "content" => array(3) ( "not_empty" => NULL "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 65536 ) ) "username" => array(2) ( "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 32 ) ) ) protected _labels => array(1) ( "content" => string(15) "Comment content" ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(9) ( "id" => NULL "model_id" => NULL "model_name" => NULL "thread" => NULL "username" => NULL "author_id" => NULL "content" => NULL "created" => NULL "modified" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(12) "news_comment" protected _object_plural => string(13) "news_comments" protected _table_columns => array(9) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "model_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "model_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "model_name" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "model_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "thread" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "thread" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "username" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "username" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "created" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "created" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(9) "timestamp" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "modified" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(9) "timestamp" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"bookmark_signed" => string(88) "MGZiOGM2N2RmODBlY2M4MjIxZWRlMjQxYzAwMTg0ODQ4MWQ5NzA4M2E4MmJmY2E2MmYxZTA0OTMwMTk2YjdmZg==" "bookmark_item" => string(600) "eyJ1aWQiOm51bGwsInRpbWUiOjE3MTM5MTQxOTYsInRva2VuX2lkIjoiaHR0cHM6XC9cL25ld3MuYXN0ci5ydVwvcHJcLzQ4OTk0IiwidGl0bGUiOiIyMCAwMDAgXHUw …" "bookmarked" => bool FALSE "route" => string(10) "feed_other" "related" => string(1930) "<div class="listblock"> <div class="listblock_img listblock-related-img"><a href="/pr/economics/6018/"><img src="//st.astr.r …" ){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(12) "news_comment" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
APPPATH/views/news/template.php [ 113 ] » Kohana_View->__toString()
108 <?php //} ?> 109 110 </td> 111 <td class="main_center_news vtop"> 112 <div> 113 <?php echo $content; ?> 114 </div> 115 </td> 116 <td class="main_right_news vtop"> 117 <div class="title" style="overflow:hidden;">Архив новостей<?php 118 if ($archive && $archive != "") {
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(57) "/home/www/astr.ru/www/application/views/news/template.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(57) "/home/www/astr.ru/www/application/views/news/template.php"
1
array(14) ( "content" => object View(2)
{ protected _file => string(53) "/home/www/astr.ru/www/application/views/news/item.php" protected _data => array(15) ( "item" => object Model_News_Item(34)
"calendar" => object kCal(11){ protected _table_name => string(10) "news_items" protected _primary_key => string(7) "item_id" protected _belongs_to => array(3) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "category" ) "source" => array(2) ( "foreign_key" => string(9) "source_id" "model" => string(6) "source" ) "feed" => array(2) ( "foreign_key" => string(7) "feed_id" "model" => string(4) "feed" ) ) protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "item_id" => string(5) "48994" "category_id" => string(1) "3" "source_id" => string(1) "9" "feed_id" => string(1) "7" "title" => string(132) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" "announce" => string(0) "" "content" => string(3362) "<p><span style="font-size:15px"><span style="color:#000000"><span style="font-family:yandex-sans"><span style="background-color: …" "hyperlink" => string(0) "" "ctime" => string(10) "1495092785" "cday" => string(2) "18" "img" => string(17) "591d4e314d19b.jpg" "video" => string(0) "" "gallery" => string(0) "" "comments" => string(1) "1" "views" => string(4) "1761" "visibility" => string(1) "1" "pin" => string(1) "0" "pin_dttm" => string(0) "" "moderated" => string(1) "1" ) protected _changed => array(0) protected _original_values => array(19) ( "item_id" => string(5) "48994" "category_id" => string(1) "3" "source_id" => string(1) "9" "feed_id" => string(1) "7" "title" => string(132) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" "announce" => string(0) "" "content" => string(3362) "<p><span style="font-size:15px"><span style="color:#000000"><span style="font-family:yandex-sans"><span style="background-color: …" "hyperlink" => string(0) "" "ctime" => string(10) "1495092785" "cday" => string(2) "18" "img" => string(17) "591d4e314d19b.jpg" "video" => string(0) "" "gallery" => string(0) "" "comments" => string(1) "1" "views" => string(4) "1761" "visibility" => string(1) "1" "pin" => string(1) "0" "pin_dttm" => string(0) "" "moderated" => string(1) "1" ) 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(9) "news_item" protected _object_plural => string(10) "news_items" protected _table_columns => array(19) ( "item_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "item_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "source_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "source_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "feed_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "feed_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "announce" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "announce" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "ctime" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "ctime" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(2) "11" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "cday" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "cday" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "img" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "img" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "character_maximum_length" => string(3) "100" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "video" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(5) "video" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "gallery" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "gallery" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "comments" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "comments" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "views" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "views" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "visibility" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "visibility" "column_default" => string(1) "0" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(18) "utf8mb4_unicode_ci" "options" => array(2) ( 0 => string(1) "1" 1 => string(1) "0" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "pin" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(3) "pin" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "pin_dttm" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "pin_dttm" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "10" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "moderated" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "moderated" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(5) "48994" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"admin" => bool FALSE "category" => object Model_News_Category(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(9) "news_item" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(15) "news_categories" protected _primary_key => string(11) "category_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "category_id" => NULL "sort_id" => NULL "name" => NULL "title" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "news_category" protected _object_plural => string(15) "news_categories" protected _table_columns => array(4) ( "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 FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "sort_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "sort_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"feeds" => object Model_News_Feed(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(13) "news_category" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(10) "news_feeds" protected _primary_key => string(7) "feed_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(7) "feed_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "feed_id" => string(1) "7" "name" => string(2) "pr" "title" => string(31) "Новости компаний" ) protected _changed => array(0) protected _original_values => array(3) ( "feed_id" => string(1) "7" "name" => string(2) "pr" "title" => string(31) "Новости компаний" ) 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(9) "news_feed" protected _object_plural => string(10) "news_feeds" protected _table_columns => array(3) ( "feed_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "feed_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "7" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "sources" => object Model_News_Source(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(9) "news_feed" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(12) "news_sources" protected _primary_key => string(9) "source_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(9) "source_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "source_id" => NULL "source_hyperlink" => NULL "title" => NULL "hyperlink" => NULL "description" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(11) "news_source" protected _object_plural => string(12) "news_sources" protected _table_columns => array(5) ( "source_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "source_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "source_hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "source_hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"domain" => string(7) "astr.ru" "st" => string(2) "st" "authorized" => NULL "comments" => object Model_News_Comment(36){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(11) "news_source" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(13) "news_comments" protected _primary_key => string(2) "id" protected _belongs_to => array(1) ( "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(4) "User" ) ) protected _has_many => array(2) ( "authors" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(9) "author_id" "model" => string(1) "u" ) "items" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _rules => array(2) ( "content" => array(3) ( "not_empty" => NULL "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 65536 ) ) "username" => array(2) ( "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 32 ) ) ) protected _labels => array(1) ( "content" => string(15) "Comment content" ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(9) ( "id" => NULL "model_id" => NULL "model_name" => NULL "thread" => NULL "username" => NULL "author_id" => NULL "content" => NULL "created" => NULL "modified" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(12) "news_comment" protected _object_plural => string(13) "news_comments" protected _table_columns => array(9) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "model_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "model_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "model_name" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "model_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "thread" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "thread" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "username" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "username" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "created" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "created" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(9) "timestamp" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "modified" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(9) "timestamp" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"bookmark_signed" => string(88) "MGZiOGM2N2RmODBlY2M4MjIxZWRlMjQxYzAwMTg0ODQ4MWQ5NzA4M2E4MmJmY2E2MmYxZTA0OTMwMTk2YjdmZg==" "bookmark_item" => string(600) "eyJ1aWQiOm51bGwsInRpbWUiOjE3MTM5MTQxOTYsInRva2VuX2lkIjoiaHR0cHM6XC9cL25ld3MuYXN0ci5ydVwvcHJcLzQ4OTk0IiwidGl0bGUiOiIyMCAwMDAgXHUw …" "bookmarked" => bool FALSE "route" => string(10) "feed_other" "related" => string(1930) "<div class="listblock"> <div class="listblock_img listblock-related-img"><a href="/pr/economics/6018/"><img src="//st.astr.r …" ) }{ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(12) "news_comment" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected feed => string(2) "pr" protected category => NULL protected current_day => integer 24 protected current_month => integer 4 protected current_year => integer 2024 protected timestamp => integer 1713902400 protected days_of_week => NULL protected cells => array(0) protected events => array(0) protected options => array(0) protected config => object Config_Group(6)
"cats" => object Database_MySQLi_Result(7){ public days_of_week => string(33) "Mon, Tue, Wed, Thu, Fri, Sat, Sun" public view => string(8) "calendar" public view_system => string(4) "View" public month_url_format => string(15) "{YEAR}/{MONTH}/" public header_format => string(3) "F Y" public show_today => bool TRUE }
}{ protected _internal_row => integer 14 protected _query => string(228) "SELECT `news_category`.`category_id` AS `category_id`, `news_category`.`sort_id` AS `sort_id`, `news_category`.`name` AS `name`, …" protected _result => object mysqli_result(5)
"feeds" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 14 protected _current_row => integer 14 protected _as_object => string(19) "Model_News_Category" protected _object_params => NULL }{ protected _internal_row => integer 8 protected _query => string(159) "SELECT `news_feed`.`feed_id` AS `feed_id`, `news_feed`.`name` AS `name`, `news_feed`.`title` AS `title` FROM `news_feeds` AS `ne …" protected _result => object mysqli_result(5)
"feed" => string(2) "pr" "category_name" => string(0) "" "archive" => object stdClass(2){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 8 protected _current_row => integer 8 protected _as_object => string(15) "Model_News_Feed" protected _object_params => NULL }{ public name => string(2) "pr" public title => string(31) "Новости компаний" }
"archive_url" => string(0) "" "comms" => string(1407) "<div class="listblock-prs"> <div> <span class="darkgray">Максим Жуков:</span><br/> <a href="//news.astr.ru/n …" "prs" => string(9630) "<div class="listblock-prs"> <div class="listblock_img-prs"><img src="//st.astr.ru/resize/75x50/news/1/14/143965/150x100_6070 …" "arus" => string(2308) "<div class="listblock-prs"> <div class="listblock_img-prs"><img src="//st.astr.ru/resize/75x50/news/4/40/40308/150x100_58677 …" "voteform" => string(1951) "<div id="poll"> <div class="poll-item"> <div class="poll-question">Нравится ли Вам жить в Астрахани?</div> <div id="pol …" "header" => object View(2){ protected _file => string(50) "/home/www/astr.ru/www/application/views/header.php" protected _data => array(14) ( "week_full" => array(7) ( 0 => string(22) "Понедельник" 1 => string(14) "Вторник" 2 => string(10) "Среда" 3 => string(14) "Четверг" 4 => string(14) "Пятница" 5 => string(14) "Суббота" 6 => string(22) "Воскресенье" ) "months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "authorized" => NULL "full_domain" => string(12) "news.astr.ru" "domain" => string(7) "astr.ru" "st" => string(2) "st" "route" => string(10) "feed_other" "curr" => array(2) ( 0 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "840" 3 => string(7) "65.5177" 4 => string(7) "65.6097" 5 => string(1) "0" ) 1 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "978" 3 => string(7) "71.2439" 4 => string(7) "71.6458" 5 => string(1) "0" ) ) "currency" => object View(2)
"footer" => object View(2){ protected _file => string(61) "/home/www/astr.ru/www/application/views/elements/currency.php" protected _data => array(8) ( "week_full" => array(7) ( 0 => string(22) "Понедельник" 1 => string(14) "Вторник" 2 => string(10) "Среда" 3 => string(14) "Четверг" 4 => string(14) "Пятница" 5 => string(14) "Суббота" 6 => string(22) "Воскресенье" ) "months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "authorized" => NULL "full_domain" => string(12) "news.astr.ru" "domain" => string(7) "astr.ru" "st" => string(2) "st" "route" => string(10) "feed_other" "curr" => array(2) ( 0 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "840" 3 => string(7) "65.5177" 4 => string(7) "65.6097" 5 => string(1) "0" ) 1 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "978" 3 => string(7) "71.2439" 4 => string(7) "71.6458" 5 => string(1) "0" ) ) ) }
"analytics" => object View(2){ protected _file => string(62) "/home/www/astr.ru/www/application/views/elements/analytics.php" protected _data => array(0) }
"cats" => object Database_MySQLi_Result(7){ protected _internal_row => integer 14 protected _query => string(228) "SELECT `news_category`.`category_id` AS `category_id`, `news_category`.`sort_id` AS `sort_id`, `news_category`.`name` AS `name`, …" protected _result => object mysqli_result(5)
"ct2" => array(14) ( 1 => string(8) "politics" 2 => string(7) "society" 3 => string(9) "economics" 4 => string(3) "law" 5 => string(9) "incidents" 14 => string(8) "security" 6 => string(8) "services" 12 => string(6) "health" 13 => string(9) "education" 8 => string(6) "sports" 9 => string(7) "culture" 7 => string(7) "science" 10 => string(6) "russia" 11 => string(5) "world" ) "fd2" => array(8) ( 1 => string(4) "news" 2 => string(8) "articles" 3 => string(4) "auto" 4 => string(8) "business" 5 => string(7) "tourism" 6 => string(6) "realty" 7 => string(2) "pr" 9 => string(4) "astr" ) "head" => array(2) ( 0 => string(158) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем! | Астрахань.Ру" 1 => string(172) "Новости Астрахань.Ру: 20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" ) ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 14 protected _current_row => integer 14 protected _as_object => string(19) "Model_News_Category" protected _object_params => NULL }{ protected _file => string(50) "/home/www/astr.ru/www/application/views/footer.php" protected _data => array(8) ( "ulogin" => string(389) " <script src="http://ulogin.ru/js/ulogin.js"></script> <div id="uLogin_1774258008" x-ulogin-params="display=panel;fields=fir …" "domain" => string(7) "astr.ru" "full_domain" => string(12) "news.astr.ru" "st" => string(2) "st" "counters" => object View(2)
){ protected _file => string(52) "/home/www/astr.ru/www/application/views/counters.php" protected _data => array(0) }
"route" => string(10) "feed_other" "is_admin" => bool FALSE "admin" => bool FALSE ) }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
APPPATH/classes/Controller/News/Main.php [ 318 ] » Kohana_Controller_Template->after()
313 $data['admin'] = true; 314 } 315 316 $this->template->footer = View::factory('footer', $data); 317 318 parent::after(); 319 } 320 321 /** 322 * Выдача RSS-фида 323 *
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_News_Main->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_News_Main(5)
{ public template => object View(2)
{ protected _file => string(57) "/home/www/astr.ru/www/application/views/news/template.php" protected _data => array(14) ( "content" => object View(2)
protected data => array(0) public auto_render => bool TRUE public request => object Request(19){ protected _file => string(53) "/home/www/astr.ru/www/application/views/news/item.php" protected _data => array(15) ( "item" => object Model_News_Item(34)
"calendar" => object kCal(11){ protected _table_name => string(10) "news_items" protected _primary_key => string(7) "item_id" protected _belongs_to => array(3) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "category" ) "source" => array(2) ( "foreign_key" => string(9) "source_id" "model" => string(6) "source" ) "feed" => array(2) ( "foreign_key" => string(7) "feed_id" "model" => string(4) "feed" ) ) protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(19) ( "item_id" => string(5) "48994" "category_id" => string(1) "3" "source_id" => string(1) "9" "feed_id" => string(1) "7" "title" => string(132) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" "announce" => string(0) "" "content" => string(3362) "<p><span style="font-size:15px"><span style="color:#000000"><span style="font-family:yandex-sans"><span style="background-color: …" "hyperlink" => string(0) "" "ctime" => string(10) "1495092785" "cday" => string(2) "18" "img" => string(17) "591d4e314d19b.jpg" "video" => string(0) "" "gallery" => string(0) "" "comments" => string(1) "1" "views" => string(4) "1761" "visibility" => string(1) "1" "pin" => string(1) "0" "pin_dttm" => string(0) "" "moderated" => string(1) "1" ) protected _changed => array(0) protected _original_values => array(19) ( "item_id" => string(5) "48994" "category_id" => string(1) "3" "source_id" => string(1) "9" "feed_id" => string(1) "7" "title" => string(132) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" "announce" => string(0) "" "content" => string(3362) "<p><span style="font-size:15px"><span style="color:#000000"><span style="font-family:yandex-sans"><span style="background-color: …" "hyperlink" => string(0) "" "ctime" => string(10) "1495092785" "cday" => string(2) "18" "img" => string(17) "591d4e314d19b.jpg" "video" => string(0) "" "gallery" => string(0) "" "comments" => string(1) "1" "views" => string(4) "1761" "visibility" => string(1) "1" "pin" => string(1) "0" "pin_dttm" => string(0) "" "moderated" => string(1) "1" ) 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(9) "news_item" protected _object_plural => string(10) "news_items" protected _table_columns => array(19) ( "item_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "item_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "source_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "source_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "feed_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "feed_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "announce" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "announce" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "ctime" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "ctime" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(2) "11" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "cday" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "cday" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "img" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "img" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "character_maximum_length" => string(3) "100" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "video" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(5) "video" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "gallery" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "gallery" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "comments" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "comments" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "views" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "views" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "visibility" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "visibility" "column_default" => string(1) "0" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "collation_name" => string(18) "utf8mb4_unicode_ci" "options" => array(2) ( 0 => string(1) "1" 1 => string(1) "0" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "pin" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(3) "pin" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "pin_dttm" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "pin_dttm" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "10" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "moderated" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "moderated" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(5) "48994" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"admin" => bool FALSE "category" => object Model_News_Category(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(9) "news_item" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(15) "news_categories" protected _primary_key => string(11) "category_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(11) "category_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "category_id" => NULL "sort_id" => NULL "name" => NULL "title" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(13) "news_category" protected _object_plural => string(15) "news_categories" protected _table_columns => array(4) ( "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 FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "sort_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "sort_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "20" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"feeds" => object Model_News_Feed(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(13) "news_category" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(10) "news_feeds" protected _primary_key => string(7) "feed_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(7) "feed_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "feed_id" => string(1) "7" "name" => string(2) "pr" "title" => string(31) "Новости компаний" ) protected _changed => array(0) protected _original_values => array(3) ( "feed_id" => string(1) "7" "name" => string(2) "pr" "title" => string(31) "Новости компаний" ) 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(9) "news_feed" protected _object_plural => string(10) "news_feeds" protected _table_columns => array(3) ( "feed_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "feed_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "7" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "sources" => object Model_News_Source(34){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(9) "news_feed" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(12) "news_sources" protected _primary_key => string(9) "source_id" protected _has_many => array(1) ( "item" => array(4) ( "foreign_key" => string(9) "source_id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "source_id" => NULL "source_hyperlink" => NULL "title" => NULL "hyperlink" => NULL "description" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(11) "news_source" protected _object_plural => string(12) "news_sources" protected _table_columns => array(5) ( "source_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "source_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "source_hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "source_hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "hyperlink" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "hyperlink" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "description" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"domain" => string(7) "astr.ru" "st" => string(2) "st" "authorized" => NULL "comments" => object Model_News_Comment(36){ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(11) "news_source" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected _table_name => string(13) "news_comments" protected _primary_key => string(2) "id" protected _belongs_to => array(1) ( "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(4) "User" ) ) protected _has_many => array(2) ( "authors" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(9) "author_id" "model" => string(1) "u" ) "items" => array(4) ( "foreign_key" => string(2) "id" "through" => NULL "far_key" => string(7) "item_id" "model" => string(4) "item" ) ) protected _rules => array(2) ( "content" => array(3) ( "not_empty" => NULL "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 65536 ) ) "username" => array(2) ( "min_length" => array(1) ( 0 => integer 4 ) "max_length" => array(1) ( 0 => integer 32 ) ) ) protected _labels => array(1) ( "content" => string(15) "Comment content" ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(9) ( "id" => NULL "model_id" => NULL "model_name" => NULL "thread" => NULL "username" => NULL "author_id" => NULL "content" => NULL "created" => NULL "modified" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(12) "news_comment" protected _object_plural => string(13) "news_comments" protected _table_columns => array(9) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(20) "select,insert,update" ) "model_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "model_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "model_name" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "model_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "thread" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "thread" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "128" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "username" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "username" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "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 FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(20) "select,insert,update" ) "content" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(7) "content" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "created" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "created" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(9) "timestamp" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "modified" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "modified" "column_default" => NULL "data_type" => string(9) "timestamp" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"bookmark_signed" => string(88) "MGZiOGM2N2RmODBlY2M4MjIxZWRlMjQxYzAwMTg0ODQ4MWQ5NzA4M2E4MmJmY2E2MmYxZTA0OTMwMTk2YjdmZg==" "bookmark_item" => string(600) "eyJ1aWQiOm51bGwsInRpbWUiOjE3MTM5MTQxOTYsInRva2VuX2lkIjoiaHR0cHM6XC9cL25ld3MuYXN0ci5ydVwvcHJcLzQ4OTk0IiwidGl0bGUiOiIyMCAwMDAgXHUw …" "bookmarked" => bool FALSE "route" => string(10) "feed_other" "related" => string(1930) "<div class="listblock"> <div class="listblock_img listblock-related-img"><a href="/pr/economics/6018/"><img src="//st.astr.r …" ) }{ protected _connection_id => string(40) "911bd1f0e0621248ed54edc095448e666704ad11" protected _identifier => string(1) "`" public last_query => string(578) "SELECT `news_comment`.*, `users`.`avatar`, `news_comment`.`id` AS `id`, `news_comment`.`model_id` AS `model_id`, `news_comment`. …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
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(12) "news_comment" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "astr" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }{ protected feed => string(2) "pr" protected category => NULL protected current_day => integer 24 protected current_month => integer 4 protected current_year => integer 2024 protected timestamp => integer 1713902400 protected days_of_week => NULL protected cells => array(0) protected events => array(0) protected options => array(0) protected config => object Config_Group(6)
"cats" => object Database_MySQLi_Result(7){ public days_of_week => string(33) "Mon, Tue, Wed, Thu, Fri, Sat, Sun" public view => string(8) "calendar" public view_system => string(4) "View" public month_url_format => string(15) "{YEAR}/{MONTH}/" public header_format => string(3) "F Y" public show_today => bool TRUE }
}{ protected _internal_row => integer 14 protected _query => string(228) "SELECT `news_category`.`category_id` AS `category_id`, `news_category`.`sort_id` AS `sort_id`, `news_category`.`name` AS `name`, …" protected _result => object mysqli_result(5)
"feeds" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 14 protected _current_row => integer 14 protected _as_object => string(19) "Model_News_Category" protected _object_params => NULL }{ protected _internal_row => integer 8 protected _query => string(159) "SELECT `news_feed`.`feed_id` AS `feed_id`, `news_feed`.`name` AS `name`, `news_feed`.`title` AS `title` FROM `news_feeds` AS `ne …" protected _result => object mysqli_result(5)
"feed" => string(2) "pr" "category_name" => string(0) "" "archive" => object stdClass(2){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 8 protected _current_row => integer 8 protected _as_object => string(15) "Model_News_Feed" protected _object_params => NULL }{ public name => string(2) "pr" public title => string(31) "Новости компаний" }
"archive_url" => string(0) "" "comms" => string(1407) "<div class="listblock-prs"> <div> <span class="darkgray">Максим Жуков:</span><br/> <a href="//news.astr.ru/n …" "prs" => string(9630) "<div class="listblock-prs"> <div class="listblock_img-prs"><img src="//st.astr.ru/resize/75x50/news/1/14/143965/150x100_6070 …" "arus" => string(2308) "<div class="listblock-prs"> <div class="listblock_img-prs"><img src="//st.astr.ru/resize/75x50/news/4/40/40308/150x100_58677 …" "voteform" => string(1951) "<div id="poll"> <div class="poll-item"> <div class="poll-question">Нравится ли Вам жить в Астрахани?</div> <div id="pol …" "header" => object View(2){ protected _file => string(50) "/home/www/astr.ru/www/application/views/header.php" protected _data => array(14) ( "week_full" => array(7) ( 0 => string(22) "Понедельник" 1 => string(14) "Вторник" 2 => string(10) "Среда" 3 => string(14) "Четверг" 4 => string(14) "Пятница" 5 => string(14) "Суббота" 6 => string(22) "Воскресенье" ) "months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "authorized" => NULL "full_domain" => string(12) "news.astr.ru" "domain" => string(7) "astr.ru" "st" => string(2) "st" "route" => string(10) "feed_other" "curr" => array(2) ( 0 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "840" 3 => string(7) "65.5177" 4 => string(7) "65.6097" 5 => string(1) "0" ) 1 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "978" 3 => string(7) "71.2439" 4 => string(7) "71.6458" 5 => string(1) "0" ) ) "currency" => object View(2)
"footer" => object View(2){ protected _file => string(61) "/home/www/astr.ru/www/application/views/elements/currency.php" protected _data => array(8) ( "week_full" => array(7) ( 0 => string(22) "Понедельник" 1 => string(14) "Вторник" 2 => string(10) "Среда" 3 => string(14) "Четверг" 4 => string(14) "Пятница" 5 => string(14) "Суббота" 6 => string(22) "Воскресенье" ) "months_of" => array(12) ( 0 => string(12) "января" 1 => string(14) "февраля" 2 => string(10) "марта" 3 => string(12) "апреля" 4 => string(6) "мая" 5 => string(8) "июня" 6 => string(8) "июля" 7 => string(14) "августа" 8 => string(16) "сентября" 9 => string(14) "октября" 10 => string(12) "ноября" 11 => string(14) "декабря" ) "authorized" => NULL "full_domain" => string(12) "news.astr.ru" "domain" => string(7) "astr.ru" "st" => string(2) "st" "route" => string(10) "feed_other" "curr" => array(2) ( 0 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "840" 3 => string(7) "65.5177" 4 => string(7) "65.6097" 5 => string(1) "0" ) 1 => array(6) ( 0 => string(10) "27.02.2020" 1 => string(10) "28.02.2020" 2 => string(3) "978" 3 => string(7) "71.2439" 4 => string(7) "71.6458" 5 => string(1) "0" ) ) ) }
"analytics" => object View(2){ protected _file => string(62) "/home/www/astr.ru/www/application/views/elements/analytics.php" protected _data => array(0) }
"cats" => object Database_MySQLi_Result(7){ protected _internal_row => integer 14 protected _query => string(228) "SELECT `news_category`.`category_id` AS `category_id`, `news_category`.`sort_id` AS `sort_id`, `news_category`.`name` AS `name`, …" protected _result => object mysqli_result(5)
"ct2" => array(14) ( 1 => string(8) "politics" 2 => string(7) "society" 3 => string(9) "economics" 4 => string(3) "law" 5 => string(9) "incidents" 14 => string(8) "security" 6 => string(8) "services" 12 => string(6) "health" 13 => string(9) "education" 8 => string(6) "sports" 9 => string(7) "culture" 7 => string(7) "science" 10 => string(6) "russia" 11 => string(5) "world" ) "fd2" => array(8) ( 1 => string(4) "news" 2 => string(8) "articles" 3 => string(4) "auto" 4 => string(8) "business" 5 => string(7) "tourism" 6 => string(6) "realty" 7 => string(2) "pr" 9 => string(4) "astr" ) "head" => array(2) ( 0 => string(158) "20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем! | Астрахань.Ру" 1 => string(172) "Новости Астрахань.Ру: 20 000 участников Сабантуя в сети МегаФона в Астрахани: места хватило всем!" ) ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 14 protected _current_row => integer 14 protected _as_object => string(19) "Model_News_Category" protected _object_params => NULL }{ protected _file => string(50) "/home/www/astr.ru/www/application/views/footer.php" protected _data => array(8) ( "ulogin" => string(389) " <script src="http://ulogin.ru/js/ulogin.js"></script> <div id="uLogin_1774258008" x-ulogin-params="display=panel;fields=fir …" "domain" => string(7) "astr.ru" "full_domain" => string(12) "news.astr.ru" "st" => string(2) "st" "counters" => object View(2)
) }{ protected _file => string(52) "/home/www/astr.ru/www/application/views/counters.php" protected _data => array(0) }
"route" => string(10) "feed_other" "is_admin" => bool FALSE "admin" => bool FALSE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(19) "<feed>/<item_id>(/)" protected _regex => array(2) ( "feed" => string(6) "[a-z]+" "item_id" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "news" "controller" => string(4) "main" "action" => string(4) "item" ) protected _route_regex => string(45) "#^(?P<feed>[a-z]+)/(?P<item_id>\d+)(?:/)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "News" protected _controller => string(4) "Main" protected _action => string(4) "item" protected _uri => string(8) "pr/48994" protected _external => bool FALSE protected _params => array(2) ( "feed" => string(2) "pr" "item_id" => string(5) "48994" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(19) "<feed>/<item_id>(/)" protected _regex => array(2) ( "feed" => string(6) "[a-z]+" "item_id" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "news" "controller" => string(4) "main" "action" => string(4) "item" ) protected _route_regex => string(45) "#^(?P<feed>[a-z]+)/(?P<item_id>\d+)(?:/)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "News" protected _controller => string(4) "Main" protected _action => string(4) "item" protected _uri => string(8) "pr/48994" protected _external => bool FALSE protected _params => array(2) ( "feed" => string(2) "pr" "item_id" => string(5) "48994" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(19) "<feed>/<item_id>(/)" protected _regex => array(2) ( "feed" => string(6) "[a-z]+" "item_id" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "news" "controller" => string(4) "main" "action" => string(4) "item" ) protected _route_regex => string(45) "#^(?P<feed>[a-z]+)/(?P<item_id>\d+)(?:/)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "News" protected _controller => string(4) "Main" protected _action => string(4) "item" protected _uri => string(8) "pr/48994" protected _external => bool FALSE protected _params => array(2) ( "feed" => string(2) "pr" "item_id" => string(5) "48994" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 120 ] » Kohana_Request->execute()
115 /** 116 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 117 * If no source is specified, the URI will be automatically detected. 118 */ 119 echo Request::factory(TRUE, array(), FALSE) 120 ->execute() 121 ->send_headers(TRUE) 122 ->body(); 123 }