Exemplo n.º 1
0
 /**
  *
  * 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);
 }
Exemplo n.º 2
0
 public function __construct($name)
 {
     parent::__construct($name);
     $this->addOption('1', '');
 }