Ejemplo n.º 1
0
 /**
  * returns all the column names of this table
  *
  * @access public
  * @return array
  */
 static function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'membership_id' => array('name' => 'membership_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Member_DAO_Membership'), 'contribution_id' => array('name' => 'contribution_id', 'type' => CRM_Utils_Type::T_INT, 'FKClassName' => 'CRM_Contribute_DAO_Contribution'));
     }
     return self::$_fields;
 }
Ejemplo n.º 2
0
 /**
  * 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, 'title' => ts('Membership Payment ID'), 'required' => true), 'membership_id' => array('name' => 'membership_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Membership'), 'description' => 'FK to Membership table', 'required' => true, 'FKClassName' => 'CRM_Member_DAO_Membership'), 'contribution_id' => array('name' => 'contribution_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution'), 'description' => 'FK to contribution table.', 'FKClassName' => 'CRM_Contribute_DAO_Contribution'));
     }
     return self::$_fields;
 }