MODPATH/uniqbox/classes/objectex.php [ 280 ]
275 default:
276 $serachtype="=";
277 if(isset($args["searchtype"])){
278 $serachtype=$args["searchtype"];
279 }
280 $objects = ORM::factory ('object')->where($findtype,$serachtype,$args[$findtype])->where("delete","=",$delete)->find();
281 break;
282 }
283 return $objects;
284 }
285
-
MODPATH/uniqbox/classes/objectex.php [ 280 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(17) "Undefined index: "
2
string(68) "/var/www/centerprom.com/www-new/modules/uniqbox/classes/objectex.php"
3
integer 280
4
array(7) ( "args" => array(2) ( "parents" => NULL "flag" => integer 1 ) "page" => integer 0 "limit" => integer 0 "delete" => integer 0 "objects" => array(0) "findtype" => string(0) "" "serachtype" => string(1) "=" )
275 default: 276 $serachtype="="; 277 if(isset($args["searchtype"])){ 278 $serachtype=$args["searchtype"]; 279 } 280 $objects = ORM::factory ('object')->where($findtype,$serachtype,$args[$findtype])->where("delete","=",$delete)->find(); 281 break; 282 } 283 return $objects; 284 } 285
-
MODPATH/uniqbox/classes/objectex.php [ 43 ] » ObjectEx->load(arguments)
0
array(1) ( "parents" => NULL )
1
integer 0
2
integer 0
3
integer 0
38 { 39 40 $this->_loaded["mainobject"] = $this->load($args,$page,$limit,$delete); 41 $this->obj = $this->_loaded["mainobject"]; 42 if($child==true){ 43 $this->_loaded["childobject"]= $this->load(array("parents"=>$this->_loaded["mainobject"]->id),$page,$limit,$delete); 44 $this->child_to_object(); 45 46 } 47 48 }
-
APPPATH/classes/controller/welcome.php [ 252 ] » ObjectEx->__construct(arguments)
0
array(1) ( "id" => string(7) "1783674" )
1
bool TRUE
247 </form> 248 "; 249 $title = $object->obj->name; 250 $result = $temp; 251 } elseif (isset($_REQUEST["cat"])){ 252 $object = new ObjectEx(array("id"=>$_REQUEST["cat"]),true); 253 if (isset($object->child->subs)){ 254 $object = new ObjectEx(array("id"=>$object->child->subs->id),true); 255 } 256 $result = ""; 257 if (count($object->childurl) == 0){
-
{PHP internal call} » Controller_Welcome->action_index(arguments)
0
string(7) "catalog"
-
SYSPATH/classes/kohana/request.php [ 1046 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Welcome(4)
{ public template => object View(2)
{ protected _file => string(62) "/var/www/centerprom.com/www-new/application/views/mainview.php" protected _data => array(7) ( "menu" => string(248) "<li class="top item18"> <a href="/about/"><span>About</span></a> </li> <li id="current" class="top active item13"> <a href="/c …" "news_all" => array(5) ( 0 => array(4) ( "name" => string(39) "Дни дальнего востока " "content" => string(3260) "<p> </p> <p> </p> <p> <strong><span data-scayt_word="Международный" data-scaytid="1"> </span></strong>< …" "image" => string(19) "/media/files/84.jpg" "url" => string(39) "Дни дальнего востока " ) 1 => array(4) ( "name" => string(20) "WorldSkills Hi-Tech " "content" => string(2374) "<p> </p> <p> </p> <p> Екатиренбург, Россия 3-7 ноября</p> <p> <br /> <br /> <br /> IV Национальный …" "image" => string(19) "/media/files/85.jpg" "url" => string(20) "WorldSkills Hi-Tech " ) 2 => array(4) ( "name" => string(19) "Worldskills Russia " "content" => string(4067) "<p> <span data-scayt_word="Красногорск" data-scaytid="1">Красногорск</span>, <span data-scayt_word="Россия" data-scaytid="3">Р …" "image" => string(19) "/media/files/63.bmp" "url" => string(5) "news1" ) 3 => array(4) ( "name" => string(71) "Развитие среднего проф. образования 2016" "content" => string(4916) "<p> <span data-scayt_word="Сочи" data-scaytid="1">Сочи</span>, <span data-scayt_word="Россия" data-scaytid="3">Россия</sp …" "image" => string(19) "/media/files/64.bmp" "url" => string(6) "news 6" ) 4 => array(4) ( "name" => string(29) "Worlddidac, Астана 2015" "content" => string(1441) "<div> <span data-scayt_word="Астана" data-scaytid="1">Астана</span>, <span data-scayt_word="Казахстан" data-scaytid="2">Казахс …" "image" => string(19) "/media/files/83.jpg" "url" => string(5) "news2" ) ) "sliders_all" => array(5) ( 0 => array(3) ( "name" => string(4) "pic4" "image" => string(19) "/media/files/93.jpg" "url" => string(60) "http://www.centerprom.ru/catalog/?cat=1783597&subCat=1783806" ) 1 => array(3) ( "name" => string(4) "pic1" "image" => string(19) "/media/files/96.jpg" "url" => string(60) "http://www.centerprom.ru/catalog/?cat=1783597&subCat=1783843" ) 2 => array(3) ( "name" => string(4) "pic2" "image" => string(19) "/media/files/91.jpg" "url" => string(60) "http://www.centerprom.ru/catalog/?cat=1783597&subCat=1783827" ) 3 => array(3) ( "name" => string(4) "pic5" "image" => string(19) "/media/files/94.jpg" "url" => string(60) "http://www.centerprom.ru/catalog/?cat=1783597&subCat=1783787" ) 4 => array(3) ( "name" => string(4) "pic6" "image" => string(19) "/media/files/98.jpg" "url" => string(60) "http://www.centerprom.ru/catalog/?cat=1783597&subCat=1783803" ) ) "maincontent" => object View(2)
public params => array(7) ( "menu" => string(4) "main" "maincontent" => string(19) "catalog?cat=1783674" "ads" => string(4) "logo" "downads" => string(7) "address" "listpost" => string(7) "1783851" "leftmenu" => string(9) "left_menu" "centermenu" => string(13) "center_blocks" ) public auto_render => bool TRUE public request => object Request(9){ protected _file => string(65) "/var/www/centerprom.com/www-new/application/views/maincontent.php" protected _data => array(2) ( "content" => string(0) "" "cat" => object Model_Object(34)
"page" => string(7) "catalog" "ads" => object View(2){ protected _table_name => string(7) "objects" protected _primary_key => string(2) "id" protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validate => NULL protected _rules => array(0) protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(17) ( ... ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => array(1) ( ... ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(6) "object" protected _object_plural => string(7) "objects" protected _table_columns => array(17) ( ... ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "2b72f3d1b52ff384ef99d8f08861c45395305fc2" protected _identifier => string(1) "`" public last_query => string(109) "SELECT `objects`.* FROM `objects` WHERE `id` = '1783674' AND `delete` = 0 ORDER BY `objects`.`id` ASC LIMIT 1" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( ... ) }
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 _preload_data => array(0) }{ protected _file => string(57) "/var/www/centerprom.com/www-new/application/views/ads.php" protected _data => array(1) ( "content" => string(47) "<img src="/media/images/logo.png" alt="logo" />" ) }
"downads" => object View(2){ protected _file => string(61) "/var/www/centerprom.com/www-new/application/views/downads.php" protected _data => array(1) ( "content" => string(180) "CenterProm.Com © 2010 <a href="#">Russia, St-Petersburg, Babushkina street, b.81, k.1, office 22N. phone: +7 (812) 3097337, inf …" ) }
) }{ public route => object Route(4)
}{ protected _uri => string(8) "(<page>)" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(7) "welcome" "action" => string(5) "index" "page" => string(4) "main" ) protected _route_regex => string(33) "#^(?:(?P<page>[^/.,;?\n]++))?$#uD" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(7) "welcome" public action => string(5) "index" public uri => string(7) "catalog" protected _params => array(1) ( "page" => string(7) "catalog" ) }1
array(1) ( "page" => string(7) "catalog" )
1041 1042 // Determine the action to use 1043 $action = empty($this->action) ? Route::$default_action : $this->action; 1044 1045 // Execute the main action with the parameters 1046 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1047 1048 // Execute the "after action" method 1049 $class->getMethod('after')->invoke($controller); 1050 } 1051 catch (Exception $e)
-
APPPATH/bootstrap.php [ 114 ] » Kohana_Request->execute()
109 /** 110 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 111 * If no source is specified, the URI will be automatically detected. 112 */ 113 echo Request::instance() 114 ->execute() 115 ->send_headers() 116 ->response; 117 }
-
DOCROOT/index.php [ 104 ] » require(arguments)
0
string(57) "/var/www/centerprom.com/www-new/application/bootstrap.php"
99 // Load empty core extension 100 require SYSPATH.'classes/kohana'.EXT; 101 } 102 103 // Bootstrap the application 104 require APPPATH.'bootstrap'.EXT;