예제 #1
0
파일: Tag.php 프로젝트: ToddBudde/phrails
 /**
  * Constructor for the Tag class
  *
  * @return Tag
  * @author Justin Palmer
  **/
 public function __construct($options = null)
 {
     $this->options = OptionsParser::toHtmlProperties($this->addOptions($options));
 }
예제 #2
0
 /**
  * @test
  */
 public function Convert_toString()
 {
     $this->assertType('string', OptionsParser::toHtmlProperties($this->s));
 }