コード例 #1
0
ファイル: RecordLink.php プロジェクト: skema/skema
 public function newBean()
 {
     $bean = parent::newBean();
     $bean->{$this->_('htmlInputTemplate')} = $this->htmlInputTemplate;
     $bean->{$this->_('linkedSetId')} = $this->linkedSetId;
     return $bean;
 }
コード例 #2
0
ファイル: Checkbox.php プロジェクト: skema/skema
 public function newBean()
 {
     $bean = parent::newBean();
     if (empty($bean->{$this->_('checkedValue')})) {
         $bean->{$this->_('checkedValue')} = '';
     }
     return $bean;
 }
コード例 #3
0
ファイル: DropDown.php プロジェクト: skema/skema
 public function newBean()
 {
     $bean = parent::newBean();
     if (empty($bean->{$this->_('options')})) {
         $bean->{$this->_('options')} = '';
     }
     return $bean;
 }
コード例 #4
0
ファイル: Currency.php プロジェクト: skema/skema
 public function newBean()
 {
     $bean = parent::newBean();
     $bean->{$this->_('symbol')} = $this->symbol;
     return $bean;
 }