PHP Class Modman_Reader

Mostra file Open project: sitewards/modman-php Class Usage Examples

Public Methods

Method Description
__construct ( string $sDirectory ) constructor
getObjectsPerRow ( string $sClassName ) : array returns an array of objects per row
getShells ( ) : array returns all collected shell commands

Private Methods

Method Description
doImport ( array $aCommandParams ) imports another file
getParamsArray ( string $sRow ) : array returns the params of a line as array

Method Details

__construct() public method

constructor
public __construct ( string $sDirectory )
$sDirectory string - where to read

getObjectsPerRow() public method

returns an array of objects per row
public getObjectsPerRow ( string $sClassName ) : array
$sClassName string class which should be used to initialize each row
return array

getShells() public method

returns all collected shell commands
public getShells ( ) : array
return array