/** * 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, 'description' => 'Unique Settings ID', 'required' => true), 'name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Setting Name'), 'description' => 'unique name for setting', 'maxlength' => 256, 'size' => CRM_Utils_Type::HUGE), 'value' => array('name' => 'value', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Setting Value'), 'description' => 'data associated with setting', 'maxlength' => 256, 'size' => CRM_Utils_Type::HUGE)); } return self::$_fields; }