/** * 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); }
public function __construct($control_name) { parent::__construct($control_name); $weight = SectionAbstract::flipSourceData(silverwp_font_weight_full()); $this->setOptions($weight); }
public function __construct($control_name) { parent::__construct($control_name); $transform = SectionAbstract::flipSourceData(silverwp_get_font_transform()); $this->setOptions($transform); }