public function __construct(Doctrine_Record $city, $defaultGeoNamesPath = '') { parent::__construct(); $this->_defaultGeoNamesPath = $defaultGeoNamesPath; $this->_city = $city; $this->_cityComponentName = $city->getTable()->getComponentName(); $this->_columns = array('city_id', 'name', 'asciiname', 'alternatenames', 'lat', 'lng', 'feature_class', 'feature_code', 'country_code', 'cc2', 'admin1_code', 'admin2_code', 'admin3_code', 'admin4_code', 'population', 'elevation', 'gtpo30', 'timezone', 'modified_at'); }
/** * The constructor * @param Void_Application_Doctrine $doctrine */ public function __construct(Void_Application_Doctrine $doctrine) { parent::__construct(); $this->doctrine = $doctrine; // Set up a migration object $this->setUpMigration($doctrine->getCli()); }
/** * The constructor * @param Void_Application_Doctrine $doctrine */ public function __construct(Void_Auth_Adapter_Doctrine $adapter) { parent::__construct(); $this->adapter = $adapter; }