Ejemplo n.º 1
0
 /**
  *
  * @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);
     }
 }
Ejemplo n.º 2
0
 /**
  *
  * @return string
  */
 public function express()
 {
     $this->set_value('<?= $' . $this->get_name() . ' ?>');
     return parent::express();
 }