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); $this->setOptions(array('normal' => Translate::translate('normal'), 'italic' => Translate::translate('italic'), 'oblique' => Translate::translate('oblique'), 'initial' => Translate::translate('initial'), 'inherit' => Translate::translate('inherit'))); }
public function __construct($control_name) { parent::__construct($control_name); $transform = SectionAbstract::flipSourceData(silverwp_get_font_transform()); $this->setOptions($transform); }