/** * Returns an array containing, for each field, the arary key used for that * field in self::$_fields. * * @access public * @return array */ static function &fieldKeys() { if (!self::$_fieldKeys) { self::$_fieldKeys = array('id' => 'volunteer_project_id', 'entity_table' => 'entity_table', 'entity_id' => 'entity_id', 'target_contact_id' => 'target_contact_id', 'is_active' => 'is_active'); } return self::$_fieldKeys; }
/** * Returns an array containing, for each field, the arary key used for that * field in self::$_fields. * * @return array */ static function &fieldKeys() { if (!self::$_fieldKeys) { self::$_fieldKeys = array('id' => 'volunteer_project_id', 'title' => 'title', 'description' => 'description', 'entity_table' => 'entity_table', 'entity_id' => 'entity_id', 'is_active' => 'is_active', 'loc_block_id' => 'loc_block_id', 'campaign_id' => 'campaign_id'); } return self::$_fieldKeys; }