Ejemplo n.º 1
0
 /**
  * Constructor
  *
  * @since 2.2.2
  *
  * @param CMB2_Types $types
  * @param array      $args
  */
 public function __construct(CMB2_Types $types, $args = array(), $value = '')
 {
     parent::__construct($types, $args);
     $this->value = $value ? $value : $this->value;
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  *
  * @since 2.2.2
  *
  * @param CMB2_Types $types
  * @param array      $args
  */
 public function __construct(CMB2_Types $types, $args = array(), $is_checked = null)
 {
     parent::__construct($types, $args);
     $this->is_checked = $is_checked;
 }