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), 'child_group_id' => array('name' => 'child_group_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Group'), 'parent_group_id' => array('name' => 'parent_group_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Group'));
     }
     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('Group Nesting ID'), 'description' => 'Relationship ID', 'required' => true), 'child_group_id' => array('name' => 'child_group_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Child Group'), 'description' => 'ID of the child group', 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Group'), 'parent_group_id' => array('name' => 'parent_group_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Parent Group'), 'description' => 'ID of the parent group', 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Group'));
     }
     return self::$_fields;
 }