示例#1
0
 public function __construct($control_name)
 {
     parent::__construct($control_name);
     $weight = SectionAbstract::flipSourceData(silverwp_font_weight_full());
     $this->setOptions($weight);
 }
示例#2
0
 public function __construct($control_name)
 {
     parent::__construct($control_name);
     $this->setOptions(array('normal' => Translate::translate('normal'), 'italic' => Translate::translate('italic'), 'oblique' => Translate::translate('oblique'), 'initial' => Translate::translate('initial'), 'inherit' => Translate::translate('inherit')));
 }
示例#3
0
 public function __construct($control_name)
 {
     parent::__construct($control_name);
     $transform = SectionAbstract::flipSourceData(silverwp_get_font_transform());
     $this->setOptions($transform);
 }