Exemplo n.º 1
0
 /**
  * 
  *
  * @package Kopa
  * @subpackage Core
  * @author thethangtran <*****@*****.**>
  * @since 1.0.0
  *      
  */
 protected function get_control()
 {
     $this->classes[] = 'kopa-ui-taxonomy';
     $terms = get_terms($this->taxonomy);
     $this->options[''] = __('-- Select --', kopa_get_domain());
     foreach ($terms as $term) {
         $this->options[$term->term_id] = $term->name;
     }
     return parent::get_control();
 }
 /**
  * 
  *
  * @package Kopa
  * @subpackage Core
  * @author thethangtran <*****@*****.**>
  * @since 1.0.0
  *      
  */
 protected function get_control()
 {
     $this->classes[] = 'kopa-ui-select-number';
     return parent::get_control();
 }
Exemplo n.º 3
0
 /**
  * 
  *
  * @package Kopa
  * @subpackage Core
  * @author thethangtran <*****@*****.**>
  * @since 1.0.0
  *      
  */
 protected function get_control()
 {
     $this->classes[] = 'kopa-ui-list-page';
     return parent::get_control();
 }