function __construct($option_group, $title, $page = 'post')
 {
     parent::__construct();
     $this->option_group = $option_group;
     $this->title = $title;
     $this->page = $page;
 }
 public function __construct($action, $method = '', $id = '')
 {
     parent::__construct();
     $this->action = $action;
     $this->method = $method;
     $this->id = $id;
 }
 /**
  * PHP 5 constructor
  *
  * @package Themekraft Framework
  * @since 0.1.0
  * 
  */
 function __construct($id = '', $args = array())
 {
     $defaults = array('title_tag' => 'h3');
     $args = wp_parse_args($args, $defaults);
     extract($args, EXTR_SKIP);
     parent::__construct();
     $this->id = $id;
     $this->title_tag = $title_tag;
 }
 /**
  * PHP 5 constructor
  *
  * @package Themekraft Framework
  * @since 0.1.0
  * 
  * @param string $action The action of the form
  * @param array $args Array of [ $method form method, $action form action ]
  */
 function __construct($id, $args)
 {
     parent::__construct();
     $defaults = array('method' => 'post', 'action' => esc_url($_SERVER['REQUEST_URI']), 'name' => $id);
     $args = wp_parse_args($args, $defaults);
     extract($args, EXTR_SKIP);
     $this->action = $action;
     $this->method = $method;
     $this->name = $name;
     $this->id = $id;
 }
 /**
  * PHP 5 constructor
  *
  * @package Themekraft Framework
  * @since 0.1.0
  * 
  * @param array $args Array of [ $headline , $icon Path to icon on Page, $parent_slug Parent slug where menue appears, $page_title, $menue_title, $capability, $menue_slug ]
  */
 function __construct($args = array())
 {
     $defaults = array('id' => '', 'menu_title' => '', 'page_title' => '', 'capability' => 'edit_posts', 'parent_slug' => '', 'menu_slug' => '', 'icon_url' => '', 'position' => '', 'object_menu' => TRUE);
     // print_r( $args );
     $args = wp_parse_args($args, $defaults);
     extract($args, EXTR_SKIP);
     parent::__construct();
     // If menu slug is empty sanitize title name and use it as slug
     if ($menu_slug == '' && $menu_title != '') {
         $this->menu_slug = sanitize_title($menu_title);
     } else {
         $this->menu_slug = sanitize_title($menu_slug);
     }
     $this->id = $id;
     $this->menu_title = $menu_title;
     $this->page_title = $page_title;
     $this->capability = $capability;
     $this->parent_slug = $parent_slug;
     $this->icon_url = $icon_url;
     $this->position = $position;
     $this->object_menu = $object_menu;
     $count_autoslug = 0;
 }
 public function __construct($title, $icon = '')
 {
     parent::__construct();
     $this->title = $title;
     $this->icon = $icon;
 }
 public function __construct()
 {
     parent::__construct();
     $jqueryui = new TK_WP_JQUERYUI();
     $jqueryui->load_jqueryui(array('jquery-ui-tabs'));
 }
 /**
  * PHP 5 constructor
  *
  * @package Themekraft Framework
  * @since 0.1.0
  * 
  */
 function __construct($id = '')
 {
     parent::__construct();
     $this->id = $id;
 }