/** * 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' => 'id', 'domain_id' => 'domain_id', 'name' => 'name', 'title' => 'title', 'is_active' => 'is_active', 'help_pre' => 'help_pre', 'help_post' => 'help_post', 'javascript' => 'javascript', 'extends' => 'extends', 'financial_type_id' => 'financial_type_id', 'is_quick_config' => 'is_quick_config', 'is_reserved' => 'is_reserved'); } return self::$_fieldKeys; }