Code |
Context $z=$this->Category->find('all',array('conditions'=>array('Category.lft <='=>$doc['Category']['lft'],'Category.rght >='=>$doc['Category']['rght']),'order'=>'Category.lft ASC'));
// pr($z[0]['Category']['overall_id']);die;
$linkcate=$this->Overall->read(null, $z[0]['Category']['overall_id']);
$id = null
$type = null
$doc = false
$z = array()
AppController::linknew() - APP/app_controller.php, line 93
NewsController::view() - APP/controllers/news_controller.php, line 35
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83