/** * 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' => 'id', 'name' => 'name', 'component_type' => 'component_type', 'subject' => 'subject', 'body_html' => 'body_html', 'body_text' => 'body_text', 'is_default' => 'is_default', 'is_active' => 'is_active'); } return self::$_fieldKeys; }