Code |
Context$type = "retire"
$date = "2010-07-31"
$retires = array(
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
),
array(
"Retire" => array(),
"Carreer" => array(),
"Hipodrome" => array()
)
)
$dates = array(
"2012-02-05" => "Hoy: 05/02/2012",
"2012-02-06" => "Lunes: 06/02/2012",
"2012-02-07" => "Martes: 07/02/2012",
"2012-02-08" => "Miercoles: 08/02/2012",
"2012-02-09" => "Jueves: 09/02/2012",
"2012-02-10" => "Viernes: 10/02/2012",
"2012-02-11" => "Sabado: 11/02/2012"
)
$i = 7
$base = "2012-02-11"
$human = "11/02/2012"
$dia = "Sabado"
$this->set('retires',$retires);
$this->set('dates',$dates);
$this->set('dateshow',$dates[$date]);
RetiresController::view() - APP/controllers/retires_controller.php, line 161
Object::dispatchMethod() - CORE/cake/libs/object.php, line 120
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 88