module = $module; // vars $this->name = $this->module->get_export_tool(); $this->title = $this->module->get_message('export_title'); parent::__construct(); } /** * html * * @return void */ function html(){ // single if($this->is_active()){ $this->html_single(); // archive }else{ $this->html_archive(); } } /** * html_archive */ function html_archive(){ if(!method_exists($this->module, 'get_items')){ return; } // vars $choices = array(); $items = $this->module->get_items('db'); // loop db items foreach($items as $item){ $choices[ $item['name'] ] = esc_html($item['label']); } ?>
module->get_message('export_description'); ?>
module->export_actions)){ ?> module->export_actions)){ ?>
module->export_actions)){ ?> module->export_actions)){ ?>