コード例 #1
0
ファイル: Form.php プロジェクト: BGCX262/zupal-svn-to-git
 /**
  *
  * @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);
     }
 }
コード例 #2
0
ファイル: Abstract.php プロジェクト: BGCX262/zupal-svn-to-git
 /**
  *
  * @return string
  */
 public function express()
 {
     $this->set_value('<?= $' . $this->get_name() . ' ?>');
     return parent::express();
 }