コード例 #1
0
ファイル: File.php プロジェクト: Nycto/Round-Eights
 /**
  * Returns a \r8\HTML\Tag object that represents this instance
  *
  * @return \r8\HTML\Tag
  */
 public function getTag()
 {
     return parent::getTag()->unsetAttr('value')->setAttr("type", "file");
 }
コード例 #2
0
ファイル: Text.php プロジェクト: Nycto/Round-Eights
 /**
  * Returns a \r8\HTML\Tag object that represents this instance
  *
  * @return \r8\HTML\Tag
  */
 public function getTag()
 {
     return parent::getTag()->setAttr("type", "text");
 }
コード例 #3
0
ファイル: Password.php プロジェクト: Nycto/Round-Eights
 /**
  * Returns a \r8\HTML\Tag object that represents this instance
  *
  * @return \r8\HTML\Tag
  */
 public function getTag()
 {
     return parent::getTag()->setAttr("type", "password");
 }