Property | Type | Description | |
---|---|---|---|
$_magentoRootDir |
Method | Description | |
---|---|---|
__construct ( string $directory ) | ||
findMagentoRootDir ( string $start_directory ) : string | Given a start directory, work upwards and attempt to identify the Magento root directory. Throws an exception if it can't be found. | |
getDatabaseReadAdapter ( ) : Varien_Db_Adapter_Interface | ||
getDatabaseWriteConnection ( ) : Varien_Db_Adapter_Interface | ||
getMagentoEnvironment ( ) : Mage_Core_Model_App | ||
getTableName ( string $name ) : string |
public findMagentoRootDir ( string $start_directory ) : string | ||
$start_directory | string | |
return | string |
public getDatabaseReadAdapter ( ) : Varien_Db_Adapter_Interface | ||
return | Varien_Db_Adapter_Interface |
public getDatabaseWriteConnection ( ) : Varien_Db_Adapter_Interface | ||
return | Varien_Db_Adapter_Interface |
public getMagentoEnvironment ( ) : Mage_Core_Model_App | ||
return | Mage_Core_Model_App |
public getTableName ( string $name ) : string | ||
$name | string | |
return | string |