示例#1
0
文件: Input.php 项目: popphp/pop-form
 /**
  * Set the value of the form element object
  *
  * @param  mixed $value
  * @return Input
  */
 public function setValue($value)
 {
     $this->setAttribute('value', $value);
     return parent::setValue($value);
 }
示例#2
0
 /**
  * Set the value of the form element object
  *
  * @param  mixed $value
  * @return Textarea
  */
 public function setValue($value)
 {
     $this->setNodeValue($value);
     return parent::setValue($value);
 }