/** * * @param string $pKey * @param $pValue * @return scalar */ public function get_prop($pKey) { switch (strtolower($pKey)) { case 'action': return $this->get_action(); break; default: return parent::get_prop($pKey); } }
/** * * @return string */ public function express() { $this->set_value('<?= $' . $this->get_name() . ' ?>'); return parent::express(); }