コード例 #1
0
ファイル: labelfield.php プロジェクト: Jille/dingesform
 function render()
 {
     $strings = parent::render();
     $this->fillLabelAttributes();
     $strings['label_' . $this->name] = $this->getLabelTag();
     return $strings;
 }
コード例 #2
0
ファイル: hidden.php プロジェクト: Jille/dingesform
 function fillAttributes()
 {
     parent::fillAttributes();
     $this->setAttribute('type', 'hidden');
     $this->setAttribute('value', $this->getEffectiveValue());
 }