コード例 #1
0
ファイル: GroupTitle.php プロジェクト: silversite/silverwp
 public function __construct($control_name)
 {
     parent::__construct($control_name);
     //fix kirki generate notice when default value isn't sets
     $this->setDefault('');
 }
コード例 #2
0
ファイル: WpEditor.php プロジェクト: silversite/silverwp
 public function __construct($name)
 {
     parent::__construct('content');
 }
コード例 #3
0
ファイル: Faic.php プロジェクト: silversite/silverwp
 /**
  * The default value of the chooser,
  * refers to an item choice value or smart tags: {{first}} / {{last}}.
  *
  * @param string $default
  *
  * @return $this
  * @access public
  */
 public function setDefault($default)
 {
     parent::setDefault(array($default));
     return $this;
 }
コード例 #4
0
ファイル: Notebox.php プロジェクト: silversite/silverwp
 /**
  * Class constructor
  *
  * @param string $name default empty string
  *
  * @throws Exception
  */
 public function __construct($name = '')
 {
     parent::__construct($name);
 }