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