Esempio n. 1
0
 /**
  * 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' => 'pcp_id', 'contact_id' => 'pcp_contact_id', 'status_id' => 'status_id', 'title' => 'title', 'intro_text' => 'intro_text', 'page_text' => 'page_text', 'donate_link_text' => 'donate_link_text', 'page_id' => 'page_id', 'page_type' => 'page_type', 'pcp_block_id' => 'pcp_block_id', 'is_thermometer' => 'is_thermometer', 'is_honor_roll' => 'is_honor_roll', 'goal_amount' => 'goal_amount', 'currency' => 'currency', 'is_active' => 'is_active');
     }
     return self::$_fieldKeys;
 }