Code |
Context$children = null
$subsections = array(
array(
"id" => "21670",
"syndicate" => "off",
"priority_order" => "asc",
"last_modified" => null,
"map_priority" => null,
"map_changefreq" => null,
"object_type_id" => "3",
"status" => "on",
"created" => "2012-07-10 11:01:58",
"modified" => "2023-03-21 14:26:55",
"title" => "I nostri video",
"nickname" => "i-nostri-video",
"description" => "",
"valid" => "1",
"lang" => "ita",
"ip_created" => "93.57.122.168",
"user_created" => "4",
"user_modified" => "7",
"rights" => "",
"license" => "",
"creator" => "",
"publisher" => "",
"note" => null,
"fixed" => "0",
"comments" => "off",
"ObjectProperty" => array(),
"area_id" => "1",
"parent_id" => "83",
"object_path" => "/1/83/21670",
"parent_path" => "/1/83",
"priority" => "167",
"menu" => null,
"publication_date" => "2012-07-10 11:01:58",
"languages" => array(),
"object_type" => "Section",
"authorized" => true,
"bindings" => array(),
"canonicalPath" => "/velisti-tv/i-nostri-video",
"parentAuthorized" => true
)
)
$videoCategories = array()
$videoCategories = array();
// Aggiunge classes ad ogni video contenente le categorie (custom) da usare come class per i video nella view
foreach($children as $k => $v){
PagesController::setVelistiTvData() - APP/controllers/pages_controller.php, line 499
PagesController::beditaBeforeRender() - APP/controllers/pages_controller.php, line 129
AppController::beforeRender() - /home/bedita3/velistipercaso/bedita-app/app_controller.php, line 206
Controller::render() - /home/bedita3/velistipercaso/cake/libs/controller/controller.php, line 765
Dispatcher::_invoke() - /home/bedita3/velistipercaso/cake/dispatcher.php, line 229
Dispatcher::dispatch() - /home/bedita3/velistipercaso/cake/dispatcher.php, line 193
[main] - APP/webroot/index.php, line 96