'date', 'LEFT01' => 'left01', 'LEFT02' => 'left02', 'LEFT03' => 'left03', 'RIGHT01' => 'right01', 'RIGHT02' => 'right02', 'RIGHT03' => 'right03' ); public $values; protected $layout; protected $layouts = array( 'toc' => 'view_in_toc', ); function __construct($keys,$config) { parent::__construct($keys,$config); } function view_in_toc() { $v = (object) $this->values; $TS = strtotime($v->date); $href = $this->href; $date = sprintf("%s" ."%s", $this->month_name(date('n',$TS)), date('d', $TS) ); if (is_object($v->left02)) { $v->left02->set_layout('name_as_link'); } $left = sprintf("