public function __construct($name) { parent::__construct($name); //add fontello icons $icons = MetaBox::getFontelloIcons(); $this->setOptions($icons); }
/** * Class constructor * * @param string $name * * @access public */ public function __construct($name) { parent::__construct($name); $css_path = FileSystem::getDirectory('fonts_path') . 'fontello.css'; $items = SectionAbstract::flipSourceData(MetaBox::getFontelloIcons('icon', $css_path, 'silverwp_fontello_icons')); $this->setOptions($items); }
/** * * Class constructor * * @param string $name * * @throws \SilverWp\Helper\Control\Exception */ public function __construct($name) { parent::__construct($name); //add fontello icons $css_uri = FileSystem::getDirectory('fonts_uri') . 'fontello.css'; $items = MetaBox::getFontelloIcons('icon', $css_uri, 'silverwp_fontello_icons'); $this->setOptions($items); }