PHP 클래스 MageConfigSync\Magento

파일 보기 프로젝트 열기: punkstar/mageconfigsync 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_magentoRootDir

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

public __construct ( string $directory )
$directory string

findMagentoRootDir() 공개 메소드

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
리턴 string

getDatabaseReadAdapter() 공개 메소드

public getDatabaseReadAdapter ( ) : Varien_Db_Adapter_Interface
리턴 Varien_Db_Adapter_Interface

getDatabaseWriteConnection() 공개 메소드

public getDatabaseWriteConnection ( ) : Varien_Db_Adapter_Interface
리턴 Varien_Db_Adapter_Interface

getMagentoEnvironment() 공개 메소드

public getMagentoEnvironment ( ) : Mage_Core_Model_App
리턴 Mage_Core_Model_App

getTableName() 공개 메소드

public getTableName ( string $name ) : string
$name string
리턴 string

프로퍼티 상세

$_magentoRootDir 보호되어 있는 프로퍼티

protected $_magentoRootDir