예제 #1
0
파일: FontIcon.php 프로젝트: fortifi/ui
 /**
  * @return HtmlTag
  */
 protected function _produceHtml()
 {
     $icon = parent::_produceHtml();
     $icon->addClass('fa', 'fa-fw', 'f-icon', $this->_icon);
     return $icon;
 }
예제 #2
0
파일: CountryIcon.php 프로젝트: fortifi/ui
 /**
  * @return HtmlTag
  */
 protected function _produceHtml()
 {
     $icon = parent::_produceHtml();
     $icon->addClass('flag', 'flag-' . $this->_country)->setAttribute('title', static::$countries[$this->_country]);
     return $icon;
 }
예제 #3
0
파일: LineIcon.php 프로젝트: fortifi/ui
 /**
  * @return HtmlTag
  */
 protected function _produceHtml()
 {
     $icon = parent::_produceHtml();
     $icon->addClass('lineIcon', 'lineIcon-' . $this->_icon);
     return $icon;
 }
예제 #4
0
파일: BrowserIcon.php 프로젝트: fortifi/ui
 /**
  * @return HtmlTag
  */
 protected function _produceHtml()
 {
     $icon = parent::_produceHtml();
     $icon->addClass('f-browser-' . $this->_size . '-' . $this->_browser);
     return $icon;
 }