
Public Member Functions | |
| getPath ($formalname, $admin) | |
| getRelativePath ($formalname, $admin) | |
| getClassPath ($formalname, $admin) | |
| getXMLRelativePath ($formalname, $admin) | |
| getXMLPath ($formalname, $admin) | |
| createDirectory ($formalname, $admin) | |
| remove ($formalname) | |
| clearCache ($immediate=false) | |
Private Member Functions | |
| deleteDirectory ($path) | |
Definition at line 188 of file aliroExtensionHandler.php.
| aliroCommonExtHandler::getPath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 191 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
Referenced by createDirectory(), and remove().
00191 { 00192 return criticalInfo::getInstance()->absolute_path.$this->getRelativePath($formalname, $admin); 00193 }
| aliroCommonExtHandler::getRelativePath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 196 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
Referenced by getXMLRelativePath(), and aliroComponentHandler::getXMLRelativePath().
00196 { 00197 $extradir = (_ALIRO_ADMIN_SIDE == $admin) ? criticalInfo::getInstance()->admin_dir : ''; 00198 return $extradir.$this->extensiondir.$formalname; 00199 }
| aliroCommonExtHandler::getClassPath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 202 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
00202 { 00203 return criticalInfo::getInstance()->class_base.$this->getRelativePath($formalname, $admin); 00204 }
| aliroCommonExtHandler::getXMLRelativePath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Reimplemented in aliroComponentHandler.
Definition at line 207 of file aliroExtensionHandler.php.
References getRelativePath().
00207 { 00208 return $this->getRelativePath ($formalname, $admin); 00209 }
| aliroCommonExtHandler::getXMLPath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 212 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
00212 { 00213 return criticalInfo::getInstance()->absolute_path.$this->getXMLRelativePath ($formalname, $admin); 00214 }
| aliroCommonExtHandler::createDirectory | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 217 of file aliroExtensionHandler.php.
References getPath().
00217 { 00218 $dir = new aliroDirectory ($this->getPath($formalname, $admin)); 00219 return $dir->createFresh(); 00220 }
| aliroCommonExtHandler::remove | ( | $ | formalname | ) |
Definition at line 223 of file aliroExtensionHandler.php.
References clearCache(), deleteDirectory(), criticalInfo::getInstance(), and getPath().
00223 { 00224 $info = criticalInfo::getInstance(); 00225 $this->deleteDirectory ($this->getPath($formalname, _ALIRO_USER_SIDE)); 00226 $this->deleteDirectory ($this->getPath($formalname, _ALIRO_ADMIN_SIDE)); 00227 $this->clearCache(); 00228 }
| aliroCommonExtHandler::deleteDirectory | ( | $ | path | ) | [private] |
Definition at line 230 of file aliroExtensionHandler.php.
Referenced by remove().
00230 { 00231 $dir = new aliroDirectory($path); 00232 $dir->deleteAll(); 00233 }
| aliroCommonExtHandler::clearCache | ( | $ | immediate = false |
) |
Reimplemented from cachedSingleton.
Definition at line 235 of file aliroExtensionHandler.php.
References aliroExtensionHandler::getInstance().
Referenced by aliroModuleHandler::deleteModules(), aliroModuleHandler::publishModules(), remove(), aliroTemplateHandler::removeTemplate(), and aliroModuleHandler::updateOrdering().
00235 { 00236 aliroExtensionHandler::getInstance()->clearCache(true); 00237 parent::clearCache($immediate); 00238 }
1.5.5