|
iTx Technologies offre gratuitement
|
||
[Vue de la source] [Imprimer] [Statistique du projet]
Magento NOTICE OF LICENSE
| Copyright: | Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com) |
| License: | http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) |
| Taille du fichier: | 859 lignes (24 kb) |
| Inclus ou requis: | 2 foiss |
| Réferencé: | 2 fois |
| Inclus or requis: | 0 fichiers |
| getVersion() X-Ref |
| Gets the current Magento version string return: string |
| getVersionInfo() X-Ref |
| Gets the detailed Magento version information return: array |
| reset() X-Ref |
| Set all my static data to defaults |
| register($key, $value, $graceful = false) X-Ref |
| Register a new variable param: string $key param: mixed $value param: bool $graceful |
| unregister($key) X-Ref |
| Unregister a variable from register by key param: string $key |
| registry($key) X-Ref |
| Retrieve a value from registry by a key param: string $key return: mixed |
| setRoot($appRoot = '') X-Ref |
| Set application root absolute path param: string $appRoot |
| getRoot() X-Ref |
| Retrieve application root absolute path return: string |
| getEvents() X-Ref |
| Retrieve Events Collection return: Varien_Event_Collection $collection |
| objects($key = null) X-Ref |
| Varien Objects Cache param: string $key optional, if specified will load this key return: Varien_Object_Cache |
| getBaseDir($type = 'base') X-Ref |
| Retrieve application root absolute path param: string $type return: string |
| getModuleDir($type, $moduleName) X-Ref |
| Retrieve module absolute path by directory type param: string $type param: string $moduleName return: string |
| getStoreConfig($path, $store = null) X-Ref |
| Retrieve config value for store by path param: string $path param: mixed $store return: mixed |
| getStoreConfigFlag($path, $store = null) X-Ref |
| Retrieve config flag for store by path param: string $path param: mixed $store return: bool |
| getBaseUrl($type = Mage_Core_Model_Store::URL_TYPE_LINK, $secure = null) X-Ref |
| Get base URL path by type param: string $type return: string |
| getUrl($route = '', $params = array() X-Ref |
| Generate url by route and parameters param: string $route param: array $params return: string |
| getDesign() X-Ref |
| Get design package singleton return: Mage_Core_Model_Design_Package |
| getConfig() X-Ref |
| Retrieve a config instance return: Mage_Core_Model_Config |
| addObserver($eventName, $callback, $data = array() X-Ref |
| Add observer to even object param: string $eventName param: callback $callback param: array $arguments param: string $observerName |
| dispatchEvent($name, array $data = array() X-Ref |
| Dispatch event Calls all observer callbacks registered for this event and multiobservers matching event name pattern param: string $name param: array $args return: Mage_Core_Model_App |
| getModel($modelClass = '', $arguments = array() X-Ref |
| Retrieve model object param: string $modelClass param: array $arguments return: Mage_Core_Model_Abstract |
| getSingleton($modelClass='', array $arguments=array() X-Ref |
| Retrieve model object singleton param: string $modelClass param: array $arguments return: Mage_Core_Model_Abstract |
| getResourceModel($modelClass, $arguments = array() X-Ref |
| Retrieve object of resource model param: string $modelClass param: array $arguments return: Object |
| getControllerInstance($class, $request, $response, array $invokeArgs = array() X-Ref |
| Retrieve Controller instance by ClassName param: string $class param: Mage_Core_Controller_Request_Http $request param: Mage_Core_Controller_Response_Http $response param: array $invokeArgs return: Mage_Core_Controller_Front_Action |
| getResourceSingleton($modelClass = '', array $arguments = array() X-Ref |
| Retrieve resource vodel object singleton param: string $modelClass param: array $arguments return: object |
| getBlockSingleton($type) X-Ref |
| Deprecated, use self::helper() param: string $type return: object |
| helper($name) X-Ref |
| Retrieve helper object param: string $name the helper name return: Mage_Core_Helper_Abstract |
| exception($module = 'Mage_Core', $message = '', $code = 0) X-Ref |
| Return new exception by module to be thrown param: string $module param: string $message param: integer $code return: Mage_Core_Exception |
| throwException($message, $messageStorage = null) X-Ref |
| Throw Exception param: string $message param: string $messageStorage |
| app($code = '', $type = 'store', $options = array() X-Ref |
| Get initialized application object. param: string $code param: string $type param: string|array $options return: Mage_Core_Model_App |
| run($code = '', $type = 'store', $options=array() X-Ref |
| Front end main entry point param: string $code param: string $type param: string|array $options |
| isInstalled($options = array() X-Ref |
| Retrieve application installation flag param: string|array $options return: bool |
| log($message, $level = null, $file = '') X-Ref |
| log facility (??) param: string $message param: integer $level param: string $file |
| logException(Exception $e) X-Ref |
| Write exception to log param: Exception $e |
| setIsDeveloperMode($mode) X-Ref |
| Set enabled developer mode param: bool $mode return: bool |
| getIsDeveloperMode() X-Ref |
| Retrieve enabled developer mode return: bool |
| printException(Exception $e, $extra = '') X-Ref |
| Display exception param: Exception $e |
| getScriptSystemUrl($folder, $exitIfNot = false) X-Ref |
| Define system folder directory url by virtue of running script directory name Try to find requested folder by shifting to domain root directory param: string $folder param: boolean $exitIfNot return: string |
| setIsDownloader($flag = true) X-Ref |
| Set is downloader flag param: bool $flag |
|
|
|
|