10 private $baseURL = null;
17 if ( !isset($this->baseURL) ){
18 $this->baseURL = Dataface_ModuleTool::getInstance()->getModuleURL(__FILE__);
20 return $this->baseURL;
25 $base =
'xataface__email_';
31 'dataface__email_blacklist'
34 $dirpath = dirname(__FILE__);
35 foreach ($tables as $table){
36 Dataface_Table::setBasePath($table, $dirpath);
39 Dataface_Application::getInstance()->_conf[
'_allowed_tables'][
'email module'] =
'/^xataface__email_/';
40 Dataface_Application::getInstance()->_conf[
'_allowed_tables'][
'email blacklist'] =
'/^dataface__email_blacklist$/';
45 private $pathsAdded =
false;
47 if ( !$this->pathsAdded ){
48 $this->pathsAdded =
true;
49 Dataface_JavascriptTool::getInstance()->addPath(
50 dirname(__FILE__).
'/js',
53 Dataface_CSSTool::getInstance()->addPath(
54 dirname(__FILE__).
'/css',
57 df_register_skin(
'email', dirname(__FILE__).
'/templates');