예제 #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
 /**
  * Returns a \r8\HTML\Tag object that represents this instance
  *
  * @return \r8\HTML\Tag
  */
 public function getTag()
 {
     return parent::getTag()->setAttr("type", "password");
 }