/** * 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, 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'vacancy_id' => array('name' => 'vacancy_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_HRRecruitment_DAO_HRVacancy'), 'permission' => array('name' => 'permission', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Permission'), 'maxlength' => 127, 'size' => CRM_Utils_Type::HUGE)); } return self::$_fields; }