MODPATH/orm/classes/kohana/orm.php [ 612 ]
607
608 return $model->where($col, '=', $val);
609 }
610 else
611 {
612 throw new Kohana_Exception('The :property property does not exist in the :class class',
613 array(':property' => $column, ':class' => get_class($this)));
614 }
615 }
616
617 /**
-
APPPATH/classes/model/category.php [ 74 ] » Kohana_ORM->__get(arguments)
0
string(4) "data"
69 ), 70 ); 71 } 72 73 public function __get($key) { 74 $data = parent::__get($key); 75 if (in_array($key, array('domain'))) { 76 return empty($data) ? array() : explode(',', $data); 77 } else { 78 return parent::__get($key); 79 }
-
DOCROOT/themes/travel/tpl/category/list.php [ 31 ] » Model_Category->__get(arguments)
0
string(4) "data"
26 27 <? $i = 0; foreach ($categoryList as $key=>$item) { ?> 28 <a href="<?=url::determine($item)?>" class="category-item"> 29 <span class="col-xs-12 col-sm-12 col-md-12 col-lg-12 ci-name"><?=$item->name?></span> 30 <span class="col-xs-12 col-sm-6 col-md-6 col-lg-6"> 31 <span class="ci-text"><?=Text::limit_chars(strip_tags($item->data), 225)?></span> 32 <span class="ci-more"><?=__('Czytaj wiecej')?></span> 33 </span> 34 <span class="col-xs-12 col-sm-6 col-md-6 col-lg-6"> 35 <?=html::image('img/crop/' . (empty($item->thumb_id) ? 0 : $item->thumb_id) . '/300/150', array('width' => 300, 'height' => 150, 'alt' => $item->name))?> 36 </span>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(54) "/travel-partner.pl/themes/travel/tpl/category/list.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(35) "themes/travel/tpl/category/list.php"
1
array(8) ( "title" => string(15) "WYJAZDY FIRMOWE" "thumb_id2" => string(4) "1791" "description" => string(0) "" "cid" => string(2) "34" "_url" => string(15) "wyjazdy-firmowe" "categoryList" => object Database_MySQL_Result(7)
{ protected _internal_row => integer 1 protected _query => string(94) "SELECT `category`.* FROM `categories` AS `category` WHERE `parent_id` = '34' ORDER BY `id` ASC" protected _result => resource(mysql result) protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"list" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(130) "SELECT `page_stub`.* FROM `page_stubs` AS `page_stub` WHERE `category_id` = '34' AND `stub` = 0 ORDER BY `id` ASC LIMIT 8 OFFSET …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(15) "Model_Page_Stub" protected _object_params => NULL }
"pagination" => string(0) "" )338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
SYSPATH/classes/kohana/view.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 // Display the exception message 233 Kohana_Exception::handler($e);
-
DOCROOT/themes/travel/tpl/layout.php [ 65 ] » Kohana_View->__toString()
60 </nav> 61 62 63 64 65 <?=$content?> 66 67 68 69 <?php include THEMEROOT.DIRECTORY_SEPARATOR.'tpl'.DIRECTORY_SEPARATOR.'_footer.php';?> 70 </body>
-
SYSPATH/classes/kohana/view.php [ 61 ] » include(arguments)
0
string(47) "/travel-partner.pl/themes/travel/tpl/layout.php"
56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean();
-
SYSPATH/classes/kohana/view.php [ 343 ] » Kohana_View::capture(arguments)
0
string(28) "themes/travel/tpl/layout.php"
1
array(7) ( "_url" => string(15) "wyjazdy-firmowe" "_hooks" => array(3) ( "oferta" => array(9) ( "type" => string(1) "c" "id" => string(2) "30" "parent_id" => NULL "name" => string(21) "Oferty Travel Partner" "url" => string(21) "oferty-travel-partner" "lang_id" => string(2) "pl" "hook" => string(6) "oferta" "views" => string(1) "0" "domain" => string(0) "" ) "kontakt" => array(9) ( "type" => string(1) "p" "id" => string(3) "236" "parent_id" => NULL "name" => string(7) "Kontakt" "url" => string(7) "kontakt" "lang_id" => string(2) "pl" "hook" => string(7) "kontakt" "views" => string(5) "30923" "domain" => string(0) "" ) "onas" => array(9) ( "type" => string(1) "p" "id" => string(3) "244" "parent_id" => string(2) "68" "name" => string(13) "Ubezpieczenia" "url" => string(5) "o-nas" "lang_id" => string(2) "pl" "hook" => string(4) "onas" "views" => string(4) "8687" "domain" => string(0) "" ) ) "_form" => array(2) ( "name" => NULL "fields" => array(0) ) "content" => object Kview(3)
{ protected _theme => string(6) "travel" protected _file => string(35) "themes/travel/tpl/category/list.php" protected _data => array(8) ( "title" => string(15) "WYJAZDY FIRMOWE" "thumb_id2" => string(4) "1791" "description" => string(0) "" "cid" => string(2) "34" "_url" => string(15) "wyjazdy-firmowe" "categoryList" => object Database_MySQL_Result(7)
"fragmentsRight" => array(0) "templateRight" => array(0) "TopSlider" => array(0) ){ protected _internal_row => integer 1 protected _query => string(94) "SELECT `category`.* FROM `categories` AS `category` WHERE `parent_id` = '34' ORDER BY `id` ASC" protected _result => resource(mysql result) protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"list" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(130) "SELECT `page_stub`.* FROM `page_stubs` AS `page_stub` WHERE `category_id` = '34' AND `stub` = 0 ORDER BY `id` ASC LIMIT 8 OFFSET …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(15) "Model_Page_Stub" protected _object_params => NULL }
"pagination" => string(0) "" ) }338 { 339 throw new View_Exception('You must set the file to use within your view before rendering'); 340 } 341 342 // Combine local and global data and capture the output 343 return View::capture($this->_file, $this->_data); 344 } 345 346 } // End View
-
APPPATH/classes/controller/application.php [ 73 ] » Kohana_View->render()
68 $this->template->set_global('_description',implode(', ',$this->description)); 69 $this->template->set_global('_keywords',implode(', ',$this->keywords)); 70 $this->template->set_global('_upload_limit',$this->upload_limit); 71 //$this->template->set_global('_session',$this->session); 72 73 $this->response->body($this->template->render()); 74 } 75 76 parent::after(); 77 } 78
-
APPPATH/classes/controller/frontend/frontend.php [ 189 ] » Controller_Application->after()
184 $this->TopSlider = array_filter($this->TopSlider); 185 $this->template->set('TopSlider', $this->TopSlider); 186 187 188 189 parent::after(); 190 } 191 192 } 193 194 ?>
-
{PHP internal call} » Controller_Frontend_Frontend->after()
-
SYSPATH/classes/kohana/request/client/internal.php [ 121 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Frontend_page(27)
{ public url => string(15) "wyjazdy-firmowe" public template => object Kview(3)
{ protected _theme => string(6) "travel" protected _file => string(28) "themes/travel/tpl/layout.php" protected _data => array(7) ( "_url" => string(15) "wyjazdy-firmowe" "_hooks" => array(3) ( "oferta" => array(9) ( "type" => string(1) "c" "id" => string(2) "30" "parent_id" => NULL "name" => string(21) "Oferty Travel Partner" "url" => string(21) "oferty-travel-partner" "lang_id" => string(2) "pl" "hook" => string(6) "oferta" "views" => string(1) "0" "domain" => string(0) "" ) "kontakt" => array(9) ( "type" => string(1) "p" "id" => string(3) "236" "parent_id" => NULL "name" => string(7) "Kontakt" "url" => string(7) "kontakt" "lang_id" => string(2) "pl" "hook" => string(7) "kontakt" "views" => string(5) "30923" "domain" => string(0) "" ) "onas" => array(9) ( "type" => string(1) "p" "id" => string(3) "244" "parent_id" => string(2) "68" "name" => string(13) "Ubezpieczenia" "url" => string(5) "o-nas" "lang_id" => string(2) "pl" "hook" => string(4) "onas" "views" => string(4) "8687" "domain" => string(0) "" ) ) "_form" => array(2) ( "name" => NULL "fields" => array(0) ) "content" => object Kview(3)
public session => object Session_Native(5){ protected _theme => string(6) "travel" protected _file => string(35) "themes/travel/tpl/category/list.php" protected _data => array(8) ( "title" => string(15) "WYJAZDY FIRMOWE" "thumb_id2" => string(4) "1791" "description" => string(0) "" "cid" => string(2) "34" "_url" => string(15) "wyjazdy-firmowe" "categoryList" => object Database_MySQL_Result(7)
"fragmentsRight" => array(0) "templateRight" => array(0) "TopSlider" => array(0) ) }{ protected _internal_row => integer 1 protected _query => string(94) "SELECT `category`.* FROM `categories` AS `category` WHERE `parent_id` = '34' ORDER BY `id` ASC" protected _result => resource(mysql result) protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"list" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(130) "SELECT `page_stub`.* FROM `page_stubs` AS `page_stub` WHERE `category_id` = '34' AND `stub` = 0 ORDER BY `id` ASC LIMIT 8 OFFSET …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(15) "Model_Page_Stub" protected _object_params => NULL }
"pagination" => string(0) "" ) }{ protected _name => string(3) "KSS" protected _lifetime => integer 43200 protected _encrypted => string(7) "default" protected _data => array(0) protected _destroyed => bool FALSE }
public profiler => NULL public controller => NULL public before_content => NULL public after_content => NULL public content => object Kview(3){ protected _theme => string(6) "travel" protected _file => string(35) "themes/travel/tpl/category/list.php" protected _data => array(8) ( "title" => string(15) "WYJAZDY FIRMOWE" "thumb_id2" => string(4) "1791" "description" => string(0) "" "cid" => string(2) "34" "_url" => string(15) "wyjazdy-firmowe" "categoryList" => object Database_MySQL_Result(7)
public page_title => string(15) "WYJAZDY FIRMOWE" public sub_page_title => NULL public offline => NULL public TopSlider => array(0) public InCategory => string(2) "34" public hooks => array(3) ( "oferta" => array(9) ( "type" => string(1) "c" "id" => string(2) "30" "parent_id" => NULL "name" => string(21) "Oferty Travel Partner" "url" => string(21) "oferty-travel-partner" "lang_id" => string(2) "pl" "hook" => string(6) "oferta" "views" => string(1) "0" "domain" => string(0) "" ) "kontakt" => array(9) ( "type" => string(1) "p" "id" => string(3) "236" "parent_id" => NULL "name" => string(7) "Kontakt" "url" => string(7) "kontakt" "lang_id" => string(2) "pl" "hook" => string(7) "kontakt" "views" => string(5) "30923" "domain" => string(0) "" ) "onas" => array(9) ( "type" => string(1) "p" "id" => string(3) "244" "parent_id" => string(2) "68" "name" => string(13) "Ubezpieczenia" "url" => string(5) "o-nas" "lang_id" => string(2) "pl" "hook" => string(4) "onas" "views" => string(4) "8687" "domain" => string(0) "" ) ) public DomainID => array(2) ( 0 => string(4) "null" 1 => string(2) "''" ) public auto_render => bool TRUE public title => array(2) ( 0 => string(17) "Travel-Partner.pl" 1 => string(15) "WYJAZDY FIRMOWE" ) public description => array(1) ( 0 => string(32) "Biuro Aktywnej Turystyki PARTNER" ) public keywords => array(1) ( 0 => string(315) "biuro podróży, Kopenhaga, wycieczka promowa, organizacja, program, biuro turystyczne, Świnoujście, wycieczki szkolne, wczasy, wy …" ) public db => object Database_MySQL(6){ protected _internal_row => integer 1 protected _query => string(94) "SELECT `category`.* FROM `categories` AS `category` WHERE `parent_id` = '34' ORDER BY `id` ASC" protected _result => resource(mysql result) protected _total_rows => integer 3 protected _current_row => integer 0 protected _as_object => string(14) "Model_Category" protected _object_params => NULL }
"list" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(130) "SELECT `page_stub`.* FROM `page_stubs` AS `page_stub` WHERE `category_id` = '34' AND `stub` = 0 ORDER BY `id` ASC LIMIT 8 OFFSET …" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(15) "Model_Page_Stub" protected _object_params => NULL }
"pagination" => string(0) "" ) }{ protected _connection_id => string(40) "c8257834fcd7a5cfe810275bcbea06040443e34e" protected _identifier => string(1) "`" public last_query => string(162) "SELECT `id`, `name`, `url`, `type`, `thumb_id`, `menu`.* FROM `menu` AS `menu` WHERE `lang_id` = 'pl' AND `parent_id` = '236' AN …" protected _instance => string(7) "default" protected _connection => resource(mysql link persistent) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(30) "mysql-batpartner.super-host.pl" "database" => string(11) "db100048166" "persistent" => bool TRUE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }
public langs => array(1) ( 0 => string(2) "pl" ) public lang => string(2) "pl" public cache => object Cache_File(2){ protected _cache_dir => object SplFileInfo(0)
public upload_limit => integer 67108864 public current_uri => string(19) "/pl/wyjazdy-firmowe" public request => object Request(21){ }
protected _config => array(4) ( "driver" => string(4) "file" "cache_dir" => string(26) "/travel-partner.pl/cache/k" "default_expire" => integer 36000 "ignore_on_delete" => array(3) ( 0 => string(10) ".gitignore" 1 => string(4) ".git" 2 => string(4) ".svn" ) ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(47) "http://www.travel-partner.pl/pl/wyjazdy-firmowe" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(20) "((<lang>/)(<stuff>))" protected _regex => array(2) ( "lang" => string(2) "pl" "stuff" => string(2) ".*" ) protected _defaults => array(5) ( "directory" => string(8) "frontend" "controller" => string(4) "page" "action" => string(5) "index" "lang" => string(2) "pl" "stuff" => string(5) "start" ) protected _route_regex => string(47) "#^(?:(?:(?P<lang>pl)/)?(?:(?P<stuff>.*))?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(8) "frontend" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(18) "pl/wyjazdy-firmowe" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "pl" "stuff" => string(15) "wyjazdy-firmowe" ) 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 => NULL }
public _injected_routes => 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" }116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e) 124 { 125 // Restore the previous request 126 if ($previous instanceof Request)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(47) "http://www.travel-partner.pl/pl/wyjazdy-firmowe" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(20) "((<lang>/)(<stuff>))" protected _regex => array(2) ( "lang" => string(2) "pl" "stuff" => string(2) ".*" ) protected _defaults => array(5) ( "directory" => string(8) "frontend" "controller" => string(4) "page" "action" => string(5) "index" "lang" => string(2) "pl" "stuff" => string(5) "start" ) protected _route_regex => string(47) "#^(?:(?:(?P<lang>pl)/)?(?:(?P<stuff>.*))?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(8) "frontend" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(18) "pl/wyjazdy-firmowe" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "pl" "stuff" => string(15) "wyjazdy-firmowe" ) 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 => NULL }
public _injected_routes => array(0) }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 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(47) "http://www.travel-partner.pl/pl/wyjazdy-firmowe" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(20) "((<lang>/)(<stuff>))" protected _regex => array(2) ( "lang" => string(2) "pl" "stuff" => string(2) ".*" ) protected _defaults => array(5) ( "directory" => string(8) "frontend" "controller" => string(4) "page" "action" => string(5) "index" "lang" => string(2) "pl" "stuff" => string(5) "start" ) protected _route_regex => string(47) "#^(?:(?:(?P<lang>pl)/)?(?:(?P<stuff>.*))?)?$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(8) "frontend" protected _controller => string(4) "page" protected _action => string(5) "index" protected _uri => string(18) "pl/wyjazdy-firmowe" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "pl" "stuff" => string(15) "wyjazdy-firmowe" ) 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 => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 114 ] » Kohana_Request->execute()
109 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 110 * If no source is specified, the URI will be automatically detected. 111 */ 112 try { 113 echo Request::factory() 114 ->execute() 115 ->send_headers() 116 ->body(); 117 } catch (Exception $e) { 118 Exception_Handler::handle($e); 119 }