Пример #1
0
 public function __construct()
 {
     parent::__construct();
     $this->template = array();
     $this->templateFile = "user.tpl";
     $this->basePath = realpath(dirname(__FILE__) . "/../") . "/";
     // data tha will be exported or imported (updated)
     $this->exportColumns = array('active' => 'active', 'notify' => 'notify', 'role' => 'role', 'name' => 'name', 'firstname' => 'firstname', 'address' => 'address', 'address_nr' => 'address_nr', 'zipcode' => 'zipcode', 'city' => 'city', 'country' => 'country', 'phone' => 'phone', 'mobile' => 'mobile', 'email' => 'email', 'username' => 'username', 'password' => 'password');
     $view = ViewManager::getInstance();
     $view->insert(self::VIEW_IMPORT, 'Gebruikers importeren');
     $view->insert(self::VIEW_IMPORT_TEMPL, 'Csv template');
     $view->insert(self::VIEW_EXPORT, 'Gebruikers exporteren');
 }