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), 'contact_id' => array('name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'acl_id' => array('name' => 'acl_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_ACL_DAO_ACL'), 'modified_date' => array('name' => 'modified_date', 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Modified Date')));
     }
     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('Cache ID'), 'description' => 'Unique table ID', 'required' => true), 'contact_id' => array('name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Cache Contact'), 'description' => 'Foreign Key to Contact', 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'acl_id' => array('name' => 'acl_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Cache ACL'), 'description' => 'Foreign Key to ACL', 'required' => true, 'FKClassName' => 'CRM_ACL_DAO_ACL'), 'modified_date' => array('name' => 'modified_date', 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Cache Modified Date'), 'description' => 'When was this cache entry last modified'));
     }
     return self::$_fields;
 }