/** * Returns all the column names of this table. * * @return array */ static function &fields() { if (!self::$_fields) { self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => TRUE), 'entity_table' => array('name' => 'entity_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Entity Table'), 'required' => TRUE, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'entity_id' => array('name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'required' => TRUE), 'price_set_id' => array('name' => 'price_set_id', 'type' => CRM_Utils_Type::T_INT, 'required' => TRUE, 'FKClassName' => 'Snapshot_v4p2_Price_DAO_Set')); } return self::$_fields; }