Implemented mail messages templates and layouts
This commit is contained in:
committed by
Manuel Raynaud
parent
e675be4cff
commit
33e0a854f2
@@ -22,6 +22,13 @@ class Module extends BaseModule
|
||||
return ucfirst($this->getCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the module's base directory path, relative to THELIA_MODULE_DIR
|
||||
*/
|
||||
public function getAbsoluteBaseDir() {
|
||||
return THELIA_MODULE_DIR . $this->getBaseDir();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the module's config directory path, relative to THELIA_MODULE_DIR
|
||||
*/
|
||||
@@ -29,10 +36,24 @@ class Module extends BaseModule
|
||||
return $this->getBaseDir() . DS . "Config";
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the module's config absolute directory path
|
||||
*/
|
||||
public function getAbsoluteConfigPath() {
|
||||
return THELIA_MODULE_DIR . $this->getConfigPath();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the module's i18N directory path, relative to THELIA_MODULE_DIR
|
||||
*/
|
||||
public function getI18nPath() {
|
||||
return $this->getBaseDir() . DS . "I18n";
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the module's i18N absolute directory path
|
||||
*/
|
||||
public function getAbsoluteI18nPath() {
|
||||
return THELIA_MODULE_DIR . $this->getI18nPath();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user