
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 189 of file aliroExtensionHandler.php.
| aliroCommonExtHandler::getPath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 192 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
Referenced by createDirectory(), and remove().
00192 { 00193 return criticalInfo::getInstance()->absolute_path.$this->getRelativePath($formalname, $admin); 00194 }
| aliroCommonExtHandler::getRelativePath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 197 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
Referenced by getXMLRelativePath(), and aliroComponentHandler::getXMLRelativePath().
00197 { 00198 $extradir = (_ALIRO_ADMIN_SIDE == $admin) ? criticalInfo::getInstance()->admin_dir : ''; 00199 return $extradir.$this->extensiondir.$formalname; 00200 }
| aliroCommonExtHandler::getClassPath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 203 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
00203 { 00204 return criticalInfo::getInstance()->class_base.$this->getRelativePath($formalname, $admin); 00205 }
| aliroCommonExtHandler::getXMLRelativePath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Reimplemented in aliroComponentHandler.
Definition at line 208 of file aliroExtensionHandler.php.
References getRelativePath().
00208 { 00209 return $this->getRelativePath ($formalname, $admin); 00210 }
| aliroCommonExtHandler::getXMLPath | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 213 of file aliroExtensionHandler.php.
References criticalInfo::getInstance().
00213 { 00214 return criticalInfo::getInstance()->absolute_path.$this->getXMLRelativePath ($formalname, $admin); 00215 }
| aliroCommonExtHandler::createDirectory | ( | $ | formalname, | |
| $ | admin | |||
| ) |
Definition at line 218 of file aliroExtensionHandler.php.
References getPath().
00218 { 00219 $dir = new aliroDirectory ($this->getPath($formalname, $admin)); 00220 return $dir->createFresh(); 00221 }
| aliroCommonExtHandler::remove | ( | $ | formalname | ) |
Definition at line 224 of file aliroExtensionHandler.php.
References clearCache(), deleteDirectory(), criticalInfo::getInstance(), and getPath().
00224 { 00225 $info = criticalInfo::getInstance(); 00226 $this->deleteDirectory ($this->getPath($formalname, _ALIRO_USER_SIDE)); 00227 $this->deleteDirectory ($this->getPath($formalname, _ALIRO_ADMIN_SIDE)); 00228 $this->clearCache(); 00229 }
| aliroCommonExtHandler::deleteDirectory | ( | $ | path | ) | [private] |
Definition at line 231 of file aliroExtensionHandler.php.
Referenced by remove().
00231 { 00232 $dir = new aliroDirectory($path); 00233 $dir->deleteAll(); 00234 }
| aliroCommonExtHandler::clearCache | ( | $ | immediate = false |
) |
Reimplemented from cachedSingleton.
Definition at line 236 of file aliroExtensionHandler.php.
References aliroExtensionHandler::getInstance().
Referenced by aliroModuleHandler::deleteModules(), aliroModuleHandler::publishModules(), remove(), aliroTemplateHandler::removeTemplate(), and aliroModuleHandler::updateOrdering().
00236 { 00237 aliroExtensionHandler::getInstance()->clearCache(true); 00238 parent::clearCache($immediate); 00239 }
1.5.5