MODPATH/cache/classes/kohana/cache/file.php [ 234 ]
229 chmod($directory, 0777);
230 }
231
232 // Open file to inspect
233 $resouce = new SplFileInfo($directory.$filename);
234 $file = $resouce->openFile('w');
235
236 try
237 {
238 $data = $lifetime."\n".serialize($data);
239 $file->fwrite($data, strlen($data));
-
MODPATH/cache/classes/kohana/cache/file.php [ 234 ] » SplFileInfo->openFile(arguments)
0
string(1) "w"
229 chmod($directory, 0777); 230 } 231 232 // Open file to inspect 233 $resouce = new SplFileInfo($directory.$filename); 234 $file = $resouce->openFile('w'); 235 236 try 237 { 238 $data = $lifetime."\n".serialize($data); 239 $file->fwrite($data, strlen($data));
-
APPPATH/classes/view/video/index.php [ 84 ] » Kohana_Cache_File->set(arguments)
0
string(21) "related_videos_109613"
1
array(10) ( 0 => string(6) "109614" 1 => string(5) "12532" 2 => string(6) "110442" 3 => string(6) "105684" 4 => string(6) "110440" 5 => string(6) "105682" 6 => string(6) "110438" 7 => string(6) "105680" 8 => string(6) "110436" 9 => string(6) "105678" )
2
integer 604800
79 ->find_all(); 80 81 // Cache IDs for a week because this query is too slow 82 $ids = $related->as_array(NULL, 'id'); 83 84 Cache::instance()->set($cache_key, $ids, Date::WEEK); 85 } 86 else 87 { 88 $related = ORM::factory('video') 89 ->where('id','IN',$ids_cache)
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 718 ] » View_Video_Index->related_videos()
713 */ 714 protected function _findVariableInContext($tag_name, $context) { 715 foreach ($context as $view) { 716 if (is_object($view)) { 717 if (method_exists($view, $tag_name)) { 718 return $view->$tag_name(); 719 } else if (isset($view->$tag_name)) { 720 return $view->$tag_name; 721 } 722 } else if (array_key_exists($tag_name, $view)) { 723 return $view[$tag_name];
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 700 ] » Mustache->_findVariableInContext(arguments)
0
string(14) "related_videos"
1
array(2) ( 0 => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) 1 => object View_Video_Index(13)
{ protected _partials => array(2) ( "before_content" => string(96) "<div class="top_container"> {{{breadcrumb}}} <h1> {{#video}}{{name}}{{/video}} </h1> </div>" "recommend" => string(370) "<!--<h3>Support Carbaze</h3>--> <div id="recommend" style=""> <!-- <div id="twlike"> <a href="http://twitter.com/share" clas …" ) public header_class => string(4) "tiny" public video => object Model_Video(35)
){ protected _has_many => array(2) ( "cars" => array(4) ( "model" => string(3) "car" "foreign_key" => string(8) "video_id" "through" => string(11) "cars_videos" "far_key" => string(6) "car_id" ) "views" => array(4) ( "model" => string(10) "video_view" "foreign_key" => string(8) "video_id" "through" => NULL "far_key" => string(7) "view_id" ) ) protected _has_one => array(1) ( "data" => array(2) ( "model" => string(10) "video_data" "foreign_key" => string(8) "video_id" ) ) protected _load_with => array(0) protected _pagination => NULL protected _belongs_to => array(0) protected _validation => NULL protected _object => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _changed => array(0) protected _original_values => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _related => array(1) ( "data" => object Model_Video_Data(35)
protected _redirect_timeout => integer 3 protected _redirect_url => NULL public before_content => NULL public breadcrumb => object Breadcrumb(2){ protected _belongs_to => array(1) ( "video" => array(2) ( "model" => string(5) "video" "foreign_key" => string(8) "video_id" ) ) protected _pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "video_id" => string(6) "109613" "description" => string(60) "Eazy E & 2Pac remix My channel on facebook: www.facebook.com" "keywords" => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" ) 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(10) "video_data" protected _object_plural => string(11) "video_datas" protected _table_name => string(11) "video_datas" protected _table_columns => array(3) ( "video_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "video_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "description" => array(11) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(11) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) 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(5) "video" protected _object_plural => string(6) "videos" protected _table_name => string(6) "videos" protected _table_columns => array(4) ( "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(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "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(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seo" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "seo" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "109613" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5){ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(10) "video_data" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "video" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _links => array(0) protected _view => string(7) "default" }
public keywords => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" public notifications => array(1) ( "messages" => array(0) ) protected _sitelinks => NULL public render_layout => bool TRUE protected _layout => string(6) "layout" protected _template => string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …" }695 $c = array($ret); 696 $ret = $this->_findVariableInContext($next, $c); 697 } 698 return $ret; 699 } else { 700 return $this->_findVariableInContext($tag_name, $this->_context); 701 } 702 } 703 704 /** 705 * Get a variable from the context array. Internal helper used by getVariable() to abstract
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 216 ] » Mustache->_getVariable(arguments)
0
string(14) "related_videos"
211 protected function _renderSections($template) { 212 while ($section_data = $this->_findSection($template)) { 213 list($section, $offset, $type, $tag_name, $content) = $section_data; 214 215 $replace = ''; 216 $val = $this->_getVariable($tag_name); 217 switch($type) { 218 // inverted section 219 case '^': 220 if (empty($val)) { 221 $replace .= $content;
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 200 ] » Mustache->_renderSections(arguments)
0
string(1216) "<section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="width:630px; …"
195 * @access protected 196 * @param string $template 197 * @return string Rendered Mustache template. 198 */ 199 protected function _renderTemplate($template) { 200 $template = $this->_renderSections($template); 201 return $this->_renderTags($template); 202 } 203 204 /** 205 * Render boolean, enumerable and inverted sections.
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 252 ] » Mustache->_renderTemplate(arguments)
0
string(1193) "<section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="width:630px; …"
247 $this->_popContext(); 248 } 249 } else if ($val) { 250 if (is_array($val) || is_object($val)) { 251 $this->_pushContext($val); 252 $replace .= $this->_renderTemplate($content); 253 $this->_popContext(); 254 } else { 255 $replace .= $content; 256 } 257 }
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 200 ] » Mustache->_renderSections(arguments)
0
string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …"
195 * @access protected 196 * @param string $template 197 * @return string Rendered Mustache template. 198 */ 199 protected function _renderTemplate($template) { 200 $template = $this->_renderSections($template); 201 return $this->_renderTags($template); 202 } 203 204 /** 205 * Render boolean, enumerable and inverted sections.
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 172 ] » Mustache->_renderTemplate(arguments)
0
string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …"
1
array(1) ( 0 => object View_Video_Index(13)
{ protected _partials => array(2) ( "before_content" => string(96) "<div class="top_container"> {{{breadcrumb}}} <h1> {{#video}}{{name}}{{/video}} </h1> </div>" "recommend" => string(370) "<!--<h3>Support Carbaze</h3>--> <div id="recommend" style=""> <!-- <div id="twlike"> <a href="http://twitter.com/share" clas …" ) public header_class => string(4) "tiny" public video => object Model_Video(35)
){ protected _has_many => array(2) ( "cars" => array(4) ( "model" => string(3) "car" "foreign_key" => string(8) "video_id" "through" => string(11) "cars_videos" "far_key" => string(6) "car_id" ) "views" => array(4) ( "model" => string(10) "video_view" "foreign_key" => string(8) "video_id" "through" => NULL "far_key" => string(7) "view_id" ) ) protected _has_one => array(1) ( "data" => array(2) ( "model" => string(10) "video_data" "foreign_key" => string(8) "video_id" ) ) protected _load_with => array(0) protected _pagination => NULL protected _belongs_to => array(0) protected _validation => NULL protected _object => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _changed => array(0) protected _original_values => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _related => array(1) ( "data" => object Model_Video_Data(35)
protected _redirect_timeout => integer 3 protected _redirect_url => NULL public before_content => NULL public breadcrumb => object Breadcrumb(2){ protected _belongs_to => array(1) ( "video" => array(2) ( "model" => string(5) "video" "foreign_key" => string(8) "video_id" ) ) protected _pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "video_id" => string(6) "109613" "description" => string(60) "Eazy E & 2Pac remix My channel on facebook: www.facebook.com" "keywords" => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" ) 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(10) "video_data" protected _object_plural => string(11) "video_datas" protected _table_name => string(11) "video_datas" protected _table_columns => array(3) ( "video_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "video_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "description" => array(11) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(11) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) 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(5) "video" protected _object_plural => string(6) "videos" protected _table_name => string(6) "videos" protected _table_columns => array(4) ( "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(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "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(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seo" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "seo" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "109613" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5){ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(10) "video_data" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "video" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _links => array(0) protected _view => string(7) "default" }
public keywords => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" public notifications => array(1) ( "messages" => array(0) ) protected _sitelinks => NULL public render_layout => bool TRUE protected _layout => string(6) "layout" protected _template => string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …" }167 } else if (empty($this->_context)) { 168 $this->_context = array($this); 169 } 170 171 $template = $this->_renderPragmas($template); 172 return $this->_renderTemplate($template, $this->_context); 173 } 174 175 /** 176 * Wrap the render() function for string conversion. 177 *
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 619 ] » Mustache->render(arguments)
0
string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …"
614 * @return string 615 */ 616 protected function _renderPartial($tag_name, $whitespace = '') { 617 $view = clone($this); 618 619 return $whitespace . preg_replace('/\n(?!$)/s', "\n" . $whitespace, $view->render($this->_getPartial($tag_name))); 620 } 621 622 /** 623 * Change the Mustache tag delimiter. This method also replaces this object's current 624 * tag RegEx with one using the new delimiters.
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 547 ] » Mustache->_renderPartial(arguments)
0
string(7) "content"
1
NULL
542 case '!': 543 return $this->_renderComment($tag_name); 544 break; 545 case '>': 546 case '<': 547 return $this->_renderPartial($tag_name, $whitespace); 548 break; 549 case '{': 550 // strip the trailing } ... 551 if ($tag_name[(strlen($tag_name) - 1)] == '}') { 552 $tag_name = substr($tag_name, 0, -1);
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 516 ] » Mustache->_renderTag(arguments)
0
string(1) ">"
1
string(7) "content"
2
NULL
511 if ((substr($html, -1) == "\n") && (substr($template, $next_offset, 1) == "\n")) { 512 $next_offset++; 513 } 514 $template = substr($template, $next_offset); 515 516 $html .= $this->_renderTag($modifier, $tag_name, $whitespace); 517 } 518 519 $this->_otag = $otag_orig; 520 $this->_ctag = $ctag_orig; 521
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 201 ] » Mustache->_renderTags(arguments)
0
string(875) " <!-- <div class="clearfix"> <div class="fb-like-box" data-href="http://www.facebook.com/pages/Carbaze/151901381550453 …"
196 * @param string $template 197 * @return string Rendered Mustache template. 198 */ 199 protected function _renderTemplate($template) { 200 $template = $this->_renderSections($template); 201 return $this->_renderTags($template); 202 } 203 204 /** 205 * Render boolean, enumerable and inverted sections. 206 *
-
MODPATH/kostache_own/vendor/mustache/Mustache.php [ 172 ] » Mustache->_renderTemplate(arguments)
0
string(3337) "<!DOCTYPE html> <html> <head lang="{{lang}}"> <meta charset="{{charset}}"> <title>{{title}}</title> <!-- Le HTML5 shim --> <!--[ …"
1
array(1) ( 0 => object View_Video_Index(13)
{ protected _partials => array(2) ( "before_content" => string(96) "<div class="top_container"> {{{breadcrumb}}} <h1> {{#video}}{{name}}{{/video}} </h1> </div>" "recommend" => string(370) "<!--<h3>Support Carbaze</h3>--> <div id="recommend" style=""> <!-- <div id="twlike"> <a href="http://twitter.com/share" clas …" ) public header_class => string(4) "tiny" public video => object Model_Video(35)
){ protected _has_many => array(2) ( "cars" => array(4) ( "model" => string(3) "car" "foreign_key" => string(8) "video_id" "through" => string(11) "cars_videos" "far_key" => string(6) "car_id" ) "views" => array(4) ( "model" => string(10) "video_view" "foreign_key" => string(8) "video_id" "through" => NULL "far_key" => string(7) "view_id" ) ) protected _has_one => array(1) ( "data" => array(2) ( "model" => string(10) "video_data" "foreign_key" => string(8) "video_id" ) ) protected _load_with => array(0) protected _pagination => NULL protected _belongs_to => array(0) protected _validation => NULL protected _object => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _changed => array(0) protected _original_values => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _related => array(1) ( "data" => object Model_Video_Data(35)
protected _redirect_timeout => integer 3 protected _redirect_url => NULL public before_content => NULL public breadcrumb => object Breadcrumb(2){ protected _belongs_to => array(1) ( "video" => array(2) ( "model" => string(5) "video" "foreign_key" => string(8) "video_id" ) ) protected _pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "video_id" => string(6) "109613" "description" => string(60) "Eazy E & 2Pac remix My channel on facebook: www.facebook.com" "keywords" => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" ) 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(10) "video_data" protected _object_plural => string(11) "video_datas" protected _table_name => string(11) "video_datas" protected _table_columns => array(3) ( "video_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "video_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "description" => array(11) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(11) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) 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(5) "video" protected _object_plural => string(6) "videos" protected _table_name => string(6) "videos" protected _table_columns => array(4) ( "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(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "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(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seo" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "seo" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "109613" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5){ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(10) "video_data" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "video" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _links => array(0) protected _view => string(7) "default" }
public keywords => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" public notifications => array(1) ( "messages" => array(0) ) protected _sitelinks => NULL public render_layout => bool TRUE protected _layout => string(6) "layout" protected _template => string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …" }167 } else if (empty($this->_context)) { 168 $this->_context = array($this); 169 } 170 171 $template = $this->_renderPragmas($template); 172 return $this->_renderTemplate($template, $this->_context); 173 } 174 175 /** 176 * Wrap the render() function for string conversion. 177 *
-
MODPATH/kostache_own/classes/kohana/kostache/layout.php [ 43 ] » Mustache->render()
38 39 $partials[Kostache_Layout::CONTENT_PARTIAL] = $this->_template; 40 41 $template = $this->_load($this->_layout); 42 43 return $this->_stash($template, $this, $partials)->render(); 44 } 45 46 }
-
MODPATH/kostache_own/classes/kohana/kostache.php [ 107 ] » Kohana_Kostache_Layout->render()
102 */ 103 public function __toString() 104 { 105 try 106 { 107 return $this->render(); 108 } 109 catch (Exception $e) 110 { 111 ob_start(); 112
-
SYSPATH/classes/kohana/response.php [ 160 ] » Kohana_Kostache->__toString()
155 public function body($content = NULL) 156 { 157 if ($content === NULL) 158 return $this->_body; 159 160 $this->_body = (string) $content; 161 return $this; 162 } 163 164 /** 165 * Gets or sets the HTTP protocol. The standard protocol to use
-
APPPATH/classes/controller.php [ 42 ] » Kohana_Response->body(arguments)
0
object View_Video_Index(13)
{ protected _partials => array(2) ( "before_content" => string(96) "<div class="top_container"> {{{breadcrumb}}} <h1> {{#video}}{{name}}{{/video}} </h1> </div>" "recommend" => string(370) "<!--<h3>Support Carbaze</h3>--> <div id="recommend" style=""> <!-- <div id="twlike"> <a href="http://twitter.com/share" clas …" ) public header_class => string(4) "tiny" public video => object Model_Video(35)
{ protected _has_many => array(2) ( "cars" => array(4) ( "model" => string(3) "car" "foreign_key" => string(8) "video_id" "through" => string(11) "cars_videos" "far_key" => string(6) "car_id" ) "views" => array(4) ( "model" => string(10) "video_view" "foreign_key" => string(8) "video_id" "through" => NULL "far_key" => string(7) "view_id" ) ) protected _has_one => array(1) ( "data" => array(2) ( "model" => string(10) "video_data" "foreign_key" => string(8) "video_id" ) ) protected _load_with => array(0) protected _pagination => NULL protected _belongs_to => array(0) protected _validation => NULL protected _object => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _changed => array(0) protected _original_values => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _related => array(1) ( "data" => object Model_Video_Data(35)
protected _redirect_timeout => integer 3 protected _redirect_url => NULL public before_content => NULL public breadcrumb => object Breadcrumb(2){ protected _belongs_to => array(1) ( "video" => array(2) ( "model" => string(5) "video" "foreign_key" => string(8) "video_id" ) ) protected _pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "video_id" => string(6) "109613" "description" => string(60) "Eazy E & 2Pac remix My channel on facebook: www.facebook.com" "keywords" => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" ) 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(10) "video_data" protected _object_plural => string(11) "video_datas" protected _table_name => string(11) "video_datas" protected _table_columns => array(3) ( "video_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "video_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "description" => array(11) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(11) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) 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(5) "video" protected _object_plural => string(6) "videos" protected _table_name => string(6) "videos" protected _table_columns => array(4) ( "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(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "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(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seo" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "seo" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "109613" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5){ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(10) "video_data" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "video" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _links => array(0) protected _view => string(7) "default" }
public keywords => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" public notifications => array(1) ( "messages" => array(0) ) protected _sitelinks => NULL public render_layout => bool TRUE protected _layout => string(6) "layout" protected _template => string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …" }37 } 38 39 // Response body isn't set yet, set it to this controllers' view 40 if ( ! $this->response->body()) 41 { 42 $this->response->body($this->view); 43 } 44 } 45 46 $this->response 47 ->headers('x-content-type-options','nosniff')
-
{PHP internal call} » Controller->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 119 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Video(7)
{ protected _video => object Model_Video(35)
{ protected _has_many => array(2) ( "cars" => array(4) ( "model" => string(3) "car" "foreign_key" => string(8) "video_id" "through" => string(11) "cars_videos" "far_key" => string(6) "car_id" ) "views" => array(4) ( "model" => string(10) "video_view" "foreign_key" => string(8) "video_id" "through" => NULL "far_key" => string(7) "view_id" ) ) protected _has_one => array(1) ( "data" => array(2) ( "model" => string(10) "video_data" "foreign_key" => string(8) "video_id" ) ) protected _load_with => array(0) protected _pagination => NULL protected _belongs_to => array(0) protected _validation => NULL protected _object => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _changed => array(0) protected _original_values => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _related => array(1) ( "data" => object Model_Video_Data(35)
public auto_view => bool TRUE public version => string(7) "default" public view => object View_Video_Index(13){ protected _belongs_to => array(1) ( "video" => array(2) ( "model" => string(5) "video" "foreign_key" => string(8) "video_id" ) ) protected _pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "video_id" => string(6) "109613" "description" => string(60) "Eazy E & 2Pac remix My channel on facebook: www.facebook.com" "keywords" => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" ) 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(10) "video_data" protected _object_plural => string(11) "video_datas" protected _table_name => string(11) "video_datas" protected _table_columns => array(3) ( "video_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "video_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "description" => array(11) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(11) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) 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(5) "video" protected _object_plural => string(6) "videos" protected _table_name => string(6) "videos" protected _table_columns => array(4) ( "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(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "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(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seo" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "seo" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "109613" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5){ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(10) "video_data" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "video" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _partials => array(2) ( "before_content" => string(96) "<div class="top_container"> {{{breadcrumb}}} <h1> {{#video}}{{name}}{{/video}} </h1> </div>" "recommend" => string(370) "<!--<h3>Support Carbaze</h3>--> <div id="recommend" style=""> <!-- <div id="twlike"> <a href="http://twitter.com/share" clas …" ) public header_class => string(4) "tiny" public video => object Model_Video(35)
public visitor => object Visitor(1){ protected _has_many => array(2) ( "cars" => array(4) ( "model" => string(3) "car" "foreign_key" => string(8) "video_id" "through" => string(11) "cars_videos" "far_key" => string(6) "car_id" ) "views" => array(4) ( "model" => string(10) "video_view" "foreign_key" => string(8) "video_id" "through" => NULL "far_key" => string(7) "view_id" ) ) protected _has_one => array(1) ( "data" => array(2) ( "model" => string(10) "video_data" "foreign_key" => string(8) "video_id" ) ) protected _load_with => array(0) protected _pagination => NULL protected _belongs_to => array(0) protected _validation => NULL protected _object => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _changed => array(0) protected _original_values => array(4) ( "id" => string(6) "109613" "youtube_id" => string(11) "F99--5_hjIo" "name" => string(27) "Eazy E ft. 2Pac- Real Thugs" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _related => array(1) ( "data" => object Model_Video_Data(35)
protected _redirect_timeout => integer 3 protected _redirect_url => NULL public before_content => NULL public breadcrumb => object Breadcrumb(2){ protected _belongs_to => array(1) ( "video" => array(2) ( "model" => string(5) "video" "foreign_key" => string(8) "video_id" ) ) protected _pagination => NULL protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "video_id" => string(6) "109613" "description" => string(60) "Eazy E & 2Pac remix My channel on facebook: www.facebook.com" "keywords" => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" ) 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(10) "video_data" protected _object_plural => string(11) "video_datas" protected _table_name => string(11) "video_datas" protected _table_columns => array(3) ( "video_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "video_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "description" => array(11) ( "type" => string(6) "string" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(11) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5)
) 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(5) "video" protected _object_plural => string(6) "videos" protected _table_name => string(6) "videos" protected _table_columns => array(4) ( "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(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "32" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "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(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "seo" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "seo" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "256" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "109613" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO(5){ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(10) "video_data" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _identifier => string(0) "" public last_query => string(286) "SELECT COUNT(*) AS total, video.* FROM videos AS video INNER JOIN cars_videos AS cv ON (cv.video_id = video.id) WHERE cv.car_id …" protected _instance => string(7) "default" protected _connection => object PDO(0)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "video" }{ }
protected _config => array(5) ( "type" => string(3) "pdo" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _links => array(0) protected _view => string(7) "default" }
public keywords => string(43) "hiphop, Rap, eazy, eazye, 2pac, thugs, real" public notifications => array(1) ( "messages" => array(0) ) protected _sitelinks => NULL public render_layout => bool TRUE protected _layout => string(6) "layout" protected _template => string(1214) "{{#video}} <section class="span-16" id="content"> <div class="player"> <object type="application/x-shockwave-flash" style="w …" }{ protected _referrer => NULL }
public request => object Request(20){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(18) "video-<id>(/<seo>)" protected _regex => array(1) ( "id" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(5) "video" "action" => string(5) "index" ) protected _route_regex => string(53) "#^video-(?P<id>[0-9]+)(?:/(?P<seo>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(11) "carbaze.com" public x-forwarded-for => string(12) "3.12.152.102" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "video" protected _action => string(5) "index" protected _uri => string(38) "video-109613/eazy-e-ft-2pac-real-thugs" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "109613" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => object HTTP_Cache(5)
}{ protected _cache => object Cache_File(2)
}{ protected _cache_dir => object SplFileInfo(0)
protected _cache_key_callback => string(21) "HTTP::dummy_cache_key" protected _allow_private_cache => bool FALSE protected _request_time => integer 1732521175 protected _response_time => NULL }{ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(44) "/home/carblbkv/public_html/application/cache" "default_expire" => integer 3600 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) ) }{ 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" }114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e) 122 { 123 // Restore the previous request 124 if ($previous instanceof Request)
-
SYSPATH/classes/kohana/http/cache.php [ 172 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(18) "video-<id>(/<seo>)" protected _regex => array(1) ( "id" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(5) "video" "action" => string(5) "index" ) protected _route_regex => string(53) "#^video-(?P<id>[0-9]+)(?:/(?P<seo>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(11) "carbaze.com" public x-forwarded-for => string(12) "3.12.152.102" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "video" protected _action => string(5) "index" protected _uri => string(38) "video-109613/eazy-e-ft-2pac-real-thugs" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "109613" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => object HTTP_Cache(5)
}{ protected _cache => object Cache_File(2)
}{ protected _cache_dir => object SplFileInfo(0)
protected _cache_key_callback => string(21) "HTTP::dummy_cache_key" protected _allow_private_cache => bool FALSE protected _request_time => integer 1732521175 protected _response_time => NULL }{ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(44) "/home/carblbkv/public_html/application/cache" "default_expire" => integer 3600 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) ) }167 168 // Start request time 169 $this->_request_time = time(); 170 171 // Execute the request with the Request client 172 $response = $client->execute_request($request); 173 174 // Stop response time 175 $this->_response_time = (time() - $this->_request_time); 176 177 // Cache the response
-
SYSPATH/classes/kohana/request/client.php [ 62 ] » Kohana_HTTP_Cache->execute(arguments)
0
object Request_Client_Internal(2)
{ protected _previous_environment => NULL protected _cache => object HTTP_Cache(5)
{ protected _cache => object Cache_File(2)
}{ protected _cache_dir => object SplFileInfo(0)
protected _cache_key_callback => string(21) "HTTP::dummy_cache_key" protected _allow_private_cache => bool FALSE protected _request_time => integer 1732521175 protected _response_time => NULL }{ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(44) "/home/carblbkv/public_html/application/cache" "default_expire" => integer 3600 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) ) }1
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(18) "video-<id>(/<seo>)" protected _regex => array(1) ( "id" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(5) "video" "action" => string(5) "index" ) protected _route_regex => string(53) "#^video-(?P<id>[0-9]+)(?:/(?P<seo>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(11) "carbaze.com" public x-forwarded-for => string(12) "3.12.152.102" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "video" protected _action => string(5) "index" protected _uri => string(38) "video-109613/eazy-e-ft-2pac-real-thugs" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "109613" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => object HTTP_Cache(5)
}{ protected _cache => object Cache_File(2)
}{ protected _cache_dir => object SplFileInfo(0)
protected _cache_key_callback => string(21) "HTTP::dummy_cache_key" protected _allow_private_cache => bool FALSE protected _request_time => integer 1732521175 protected _response_time => NULL }{ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(44) "/home/carblbkv/public_html/application/cache" "default_expire" => integer 3600 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) ) }57 * @uses [Profiler] 58 */ 59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /**
-
SYSPATH/classes/kohana/request.php [ 1164 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(18) "video-<id>(/<seo>)" protected _regex => array(1) ( "id" => string(6) "[0-9]+" ) protected _defaults => array(2) ( "controller" => string(5) "video" "action" => string(5) "index" ) protected _route_regex => string(53) "#^video-(?P<id>[0-9]+)(?:/(?P<seo>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ public accept => string(3) "*/*" public user-agent => string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" public accept-encoding => string(23) "gzip, br, zstd, deflate" public host => string(11) "carbaze.com" public x-forwarded-for => string(12) "3.12.152.102" }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "video" protected _action => string(5) "index" protected _uri => string(38) "video-109613/eazy-e-ft-2pac-real-thugs" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "109613" "seo" => string(25) "eazy-e-ft-2pac-real-thugs" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => object HTTP_Cache(5)
}{ protected _cache => object Cache_File(2)
}{ protected _cache_dir => object SplFileInfo(0)
protected _cache_key_callback => string(21) "HTTP::dummy_cache_key" protected _allow_private_cache => bool FALSE protected _request_time => integer 1732521175 protected _response_time => NULL }{ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(44) "/home/carblbkv/public_html/application/cache" "default_expire" => integer 3600 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) ) }1159 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1160 ':uri' => $this->_uri, 1161 )); 1162 } 1163 1164 return $this->_client->execute($this); 1165 } 1166 1167 /** 1168 * Returns whether this request is the initial request Kohana received. 1169 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 137 ] » Kohana_Request->execute()
132 133 if (Kohana::DEVELOPMENT > Kohana::$environment) 134 { 135 try 136 { 137 $response = $request->execute(); 138 } 139 catch(HTTP_Exception_401 $e) 140 { 141 Kohana::$log->add(Log::NOTICE, 'Hacker(?): '.Request::$client_ip.' :: '.$e->getMessage()); 142