示例#1
0
文件: HTML.php 项目: xiphe/html
 /**
  * Set an option value for this instance
  * 
  * @param string $key   the target option name
  * @param mixed  $value the new option value
  *
  * @return Xiphe\HTML
  */
 public function setOption($key, $value)
 {
     if (Core\Config::isValidOptionName($key)) {
         Core\Config::s3t($this->{$key}, $value);
     }
     return $this;
 }