protected function _listModelIds() { $modelIds = array(); $objectIds = $this->_storage->listObjectIds(); foreach ($objectIds as $objectId) { $modelIds[] = $objectId; } return $modelIds; }
public function __construct($id, Garp_Spawn_Config_Storage_Interface $storage, Garp_Spawn_Config_Format_Interface $format) { $this['id'] = $id; $rawConfig = $storage->load($id); $config = $format->parse($id, $rawConfig); $this->_setArrayProperties($config); $this->_addStaticDefaults(); $this->_addModelLabel($id); }