PHP Class MageConfigSync\Magento

Afficher le fichier Open project: punkstar/mageconfigsync Class Usage Examples

Protected Properties

Свойство Type Description
$_magentoRootDir

Méthodes publiques

Méthode 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

Method Details

__construct() public méthode

public __construct ( string $directory )
$directory string

findMagentoRootDir() public méthode

Given a start directory, work upwards and attempt to identify the Magento root directory. Throws an exception if it can't be found.
public findMagentoRootDir ( string $start_directory ) : string
$start_directory string
Résultat string

getDatabaseReadAdapter() public méthode

public getDatabaseReadAdapter ( ) : Varien_Db_Adapter_Interface
Résultat Varien_Db_Adapter_Interface

getDatabaseWriteConnection() public méthode

public getDatabaseWriteConnection ( ) : Varien_Db_Adapter_Interface
Résultat Varien_Db_Adapter_Interface

getMagentoEnvironment() public méthode

public getMagentoEnvironment ( ) : Mage_Core_Model_App
Résultat Mage_Core_Model_App

getTableName() public méthode

public getTableName ( string $name ) : string
$name string
Résultat string

Property Details

$_magentoRootDir protected_oe property

protected $_magentoRootDir