当前位置: 首页>>代码示例>>PHP>>正文


PHP CRM_Core_DAO_AllCoreTables::invoke方法代码示例

本文整理汇总了PHP中CRM_Core_DAO_AllCoreTables::invoke方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Core_DAO_AllCoreTables::invoke方法的具体用法?PHP CRM_Core_DAO_AllCoreTables::invoke怎么用?PHP CRM_Core_DAO_AllCoreTables::invoke使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CRM_Core_DAO_AllCoreTables的用法示例。


在下文中一共展示了CRM_Core_DAO_AllCoreTables::invoke方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Address Format ID'), 'description' => 'Address Format Id', 'required' => true), 'format' => array('name' => 'format', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Address Format'), 'description' => 'The format of an address'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:AddressFormat.php

示例2: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('World Region ID'), 'description' => 'Country Id', 'required' => true), 'world_region' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('World Region'), 'description' => 'Region name to be associated with countries', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, 'export' => true, 'where' => 'civicrm_worldregion.name', 'headerPattern' => '', 'dataPattern' => ''));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:Worldregion.php

示例3: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('activity_id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Activity ID'), 'description' => 'Unique  Other Activity ID', 'required' => true, 'import' => true, 'where' => 'civicrm_activity.id', 'headerPattern' => '', 'dataPattern' => '', 'export' => true), 'source_record_id' => array('name' => 'source_record_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Source Record'), 'description' => 'Artificial FK to original transaction (e.g. contribution) IF it is not an Activity. Table can be figured out through activity_type_id, and further through component registry.'), 'activity_type_id' => array('name' => 'activity_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Activity Type ID'), 'description' => 'FK to civicrm_option_value.id, that has to be valid, registered activity type.', 'required' => true, 'import' => true, 'where' => 'civicrm_activity.activity_type_id', 'headerPattern' => '/(activity.)?type(.id$)/i', 'dataPattern' => '', 'export' => true, 'default' => '1', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'activity_type', 'optionEditPath' => 'civicrm/admin/options/activity_type')), 'activity_subject' => array('name' => 'subject', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Subject'), 'description' => 'The subject/purpose/short description of the activity.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'import' => true, 'where' => 'civicrm_activity.subject', 'headerPattern' => '/(activity.)?subject/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Text')), 'activity_date_time' => array('name' => 'activity_date_time', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Activity Date'), 'description' => 'Date and time this activity is scheduled to occur. Formerly named scheduled_date_time.', 'import' => true, 'where' => 'civicrm_activity.activity_date_time', 'headerPattern' => '/(activity.)?date(.time$)?/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Select Date')), 'activity_duration' => array('name' => 'duration', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Duration'), 'description' => 'Planned or actual duration of activity expressed in minutes. Conglomerate of former duration_hours and duration_minutes.', 'import' => true, 'where' => 'civicrm_activity.duration', 'headerPattern' => '/(activity.)?duration(s)?$/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Text')), 'activity_location' => array('name' => 'location', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Location'), 'description' => 'Location of the activity (optional, open text).', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'import' => true, 'where' => 'civicrm_activity.location', 'headerPattern' => '/(activity.)?location$/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Text')), 'phone_id' => array('name' => 'phone_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone (called) ID'), 'description' => 'Phone ID of the number called (optional - used if an existing phone number is selected).', 'FKClassName' => 'CRM_Core_DAO_Phone', 'html' => array('type' => 'EntityRef')), 'phone_number' => array('name' => 'phone_number', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Phone (called) Number'), 'description' => 'Phone number in case the number does not exist in the civicrm_phone table.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'html' => array('type' => 'Text')), 'activity_details' => array('name' => 'details', 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Details'), 'description' => 'Details about the activity (agenda, notes, etc).', 'import' => true, 'where' => 'civicrm_activity.details', 'headerPattern' => '/(activity.)?detail(s)?$/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'RichTextEditor')), 'activity_status_id' => array('name' => 'status_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Activity Status'), 'description' => 'ID of the status this activity is currently in. Foreign key to civicrm_option_value.', 'import' => true, 'where' => 'civicrm_activity.status_id', 'headerPattern' => '/(activity.)?status(.label$)?/i', 'dataPattern' => '', 'export' => false, 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'activity_status', 'optionEditPath' => 'civicrm/admin/options/activity_status')), 'priority_id' => array('name' => 'priority_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Priority'), 'description' => 'ID of the priority given to this activity. Foreign key to civicrm_option_value.', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'priority', 'optionEditPath' => 'civicrm/admin/options/priority')), 'parent_id' => array('name' => 'parent_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Parent Activity Id'), 'description' => 'Parent meeting ID (if this is a follow-up item). This is not currently implemented', 'FKClassName' => 'CRM_Activity_DAO_Activity'), 'activity_is_test' => array('name' => 'is_test', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Test'), 'import' => true, 'where' => 'civicrm_activity.is_test', 'headerPattern' => '/(is.)?test(.activity)?/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Select')), 'activity_medium_id' => array('name' => 'medium_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Activity Medium'), 'description' => 'Activity Medium, Implicit FK to civicrm_option_value where option_group = encounter_medium.', 'default' => 'NULL', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'encounter_medium', 'optionEditPath' => 'civicrm/admin/options/encounter_medium')), 'is_auto' => array('name' => 'is_auto', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Auto')), 'relationship_id' => array('name' => 'relationship_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Relationship Id'), 'description' => 'FK to Relationship ID', 'default' => 'NULL', 'FKClassName' => 'CRM_Contact_DAO_Relationship'), 'is_current_revision' => array('name' => 'is_current_revision', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is this activity a current revision in versioning chain?'), 'import' => true, 'where' => 'civicrm_activity.is_current_revision', 'headerPattern' => '/(is.)?(current.)?(revision|version(ing)?)/i', 'dataPattern' => '', 'export' => true, 'default' => '1', 'html' => array('type' => 'CheckBox')), 'original_id' => array('name' => 'original_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Original Activity ID '), 'description' => 'Activity ID of the first activity record in versioning chain.', 'FKClassName' => 'CRM_Activity_DAO_Activity'), 'activity_result' => array('name' => 'result', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Result'), 'description' => 'Currently being used to store result id for survey activity, FK to option value.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'html' => array('type' => 'Text')), 'activity_is_deleted' => array('name' => 'is_deleted', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Activity is in the Trash'), 'import' => true, 'where' => 'civicrm_activity.is_deleted', 'headerPattern' => '/(activity.)?(trash|deleted)/i', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Text')), 'activity_campaign_id' => array('name' => 'campaign_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Campaign'), 'description' => 'The campaign for which this activity has been triggered.', 'import' => true, 'where' => 'civicrm_activity.campaign_id', 'headerPattern' => '', 'dataPattern' => '', 'export' => true, 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'html' => array('type' => 'CheckBox'), 'pseudoconstant' => array('table' => 'civicrm_campaign', 'keyColumn' => 'id', 'labelColumn' => 'title')), 'activity_engagement_level' => array('name' => 'engagement_level', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Engagement Index'), 'description' => 'Assign a specific level of engagement to this activity. Used for tracking constituents in ladder of engagement.', 'import' => true, 'where' => 'civicrm_activity.engagement_level', 'headerPattern' => '', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'engagement_index', 'optionEditPath' => 'civicrm/admin/options/engagement_index')), 'weight' => array('name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order'), 'html' => array('type' => 'Text')));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:Activity.php

示例4: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Premium ID'), 'required' => true), 'entity_table' => array('name' => 'entity_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Premium Entity'), 'description' => 'Joins these premium settings to another object. Always civicrm_contribution_page for now.', 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'entity_id' => array('name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Premium entity ID'), 'required' => true), 'premiums_active' => array('name' => 'premiums_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Premium Active?'), 'description' => 'Is the Premiums feature enabled for this page?', 'required' => true), 'premiums_intro_title' => array('name' => 'premiums_intro_title', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Title for Premiums section'), 'description' => 'Title for Premiums section.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'premiums_intro_text' => array('name' => 'premiums_intro_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Premium Introductory Text'), 'description' => 'Displayed in <div> at top of Premiums section of page. Text and HTML allowed.'), 'premiums_contact_email' => array('name' => 'premiums_contact_email', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Premium Contact Email'), 'description' => 'This email address is included in receipts if it is populated and a premium has been selected.', 'maxlength' => 100, 'size' => CRM_Utils_Type::HUGE), 'premiums_contact_phone' => array('name' => 'premiums_contact_phone', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Premiums Contact Phone'), 'description' => 'This phone number is included in receipts if it is populated and a premium has been selected.', 'maxlength' => 50, 'size' => CRM_Utils_Type::BIG), 'premiums_display_min_contribution' => array('name' => 'premiums_display_min_contribution', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Display Minimum Contribution?'), 'description' => 'Boolean. Should we automatically display minimum contribution amount text after the premium descriptions.', 'required' => true), 'premiums_nothankyou_label' => array('name' => 'premiums_nothankyou_label', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('No Thank-you Text'), 'description' => 'Label displayed for No Thank-you option in premiums block (e.g. No thank you)', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'premiums_nothankyou_position' => array('name' => 'premiums_nothankyou_position', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('No Thank-you Position'), 'default' => '1'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:Premium.php

示例5: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('PCP Block ID'), 'description' => 'PCP block Id', 'required' => true), 'entity_table' => array('name' => 'entity_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Entity Table'), 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'entity_id' => array('name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity'), 'description' => 'FK to civicrm_contribution_page.id OR civicrm_event.id', 'required' => true), 'target_entity_type' => array('name' => 'target_entity_type', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Target Entity'), 'description' => 'The type of entity that this pcp targets', 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'contribute'), 'target_entity_id' => array('name' => 'target_entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Target Entity ID'), 'description' => 'The entity that this pcp targets', 'required' => true), 'supporter_profile_id' => array('name' => 'supporter_profile_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Supporter Profile'), 'description' => 'FK to civicrm_uf_group.id. Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?', 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_UFGroup'), 'owner_notify_id' => array('name' => 'owner_notify_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Owner Notification'), 'description' => 'FK to civicrm_option_group with name = PCP owner notifications', 'html' => array('type' => 'Radio'), 'pseudoconstant' => array('optionGroupName' => 'pcp_owner_notify', 'optionEditPath' => 'civicrm/admin/options/pcp_owner_notify')), 'is_approval_needed' => array('name' => 'is_approval_needed', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Approval Required?'), 'description' => 'Does Personal Campaign Page require manual activation by administrator? (is inactive by default after setup)?', 'default' => 'NULL'), 'is_tellfriend_enabled' => array('name' => 'is_tellfriend_enabled', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Tell a Friend Enabled?'), 'description' => 'Does Personal Campaign Page allow using tell a friend?', 'default' => 'NULL'), 'tellfriend_limit' => array('name' => 'tellfriend_limit', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Tell A Friend Limit'), 'description' => 'Maximum recipient fields allowed in tell a friend', 'default' => 'NULL'), 'link_text' => array('name' => 'link_text', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Link Text'), 'description' => 'Link text for PCP.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL'), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Enabled?'), 'description' => 'Is Personal Campaign Page Block enabled/active?', 'default' => '1'), 'notify_email' => array('name' => 'notify_email', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Notification Email'), 'description' => 'If set, notification is automatically emailed to this email-address on create/update Personal Campaign Page', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'default' => 'NULL'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:PCPBlock.php

示例6: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Type ID'), 'description' => 'ID of original financial_type so you can search this table by the financial_type.id and then select the relevant version based on the timestamp', 'required' => true), 'financial_type' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Financial Type'), 'description' => 'Financial Type Name.', 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'import' => true, 'where' => 'civicrm_financial_type.name', 'headerPattern' => '/(finan(cial)?)?type/i', 'dataPattern' => '/donation|member|campaign/i', 'export' => true), 'description' => array('name' => 'description', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Description'), 'description' => 'Financial Type Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'is_deductible' => array('name' => 'is_deductible', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Tax Deductible?'), 'description' => 'Is this financial type tax-deductible? If true, contributions of this type may be fully OR partially deductible - non-deductible amount is stored in the Contribution record.', 'default' => '1'), 'is_reserved' => array('name' => 'is_reserved', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Financial Type is Reserved?'), 'description' => 'Is this a predefined system object?'), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Financial Type Is Active?'), 'description' => 'Is this property active?'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:FinancialType.php

示例7: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('ACL ID'), 'description' => 'Unique table ID', 'required' => true), 'name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('ACL Name'), 'description' => 'ACL Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'html' => array('type' => 'Text')), 'deny' => array('name' => 'deny', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Deny ACL?'), 'description' => 'Is this ACL entry Allow  (0) or Deny (1) ?', 'required' => true, 'html' => array('type' => 'Radio')), 'entity_table' => array('name' => 'entity_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('ACL Entity'), 'description' => 'Table of the object possessing this ACL entry (Contact, Group, or ACL Group)', 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'entity_id' => array('name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity ID'), 'description' => 'ID of the object possessing this ACL'), 'operation' => array('name' => 'operation', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('ACL Operation'), 'description' => 'What operation does this ACL entry control?', 'required' => true, 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'html' => array('type' => 'Select'), 'pseudoconstant' => array('callback' => 'CRM_ACL_BAO_ACL::operation')), 'object_table' => array('name' => 'object_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('ACL Object'), 'description' => 'The table of the object controlled by this ACL entry', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'object_id' => array('name' => 'object_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('ACL Object ID'), 'description' => 'The ID of the object controlled by this ACL entry'), 'acl_table' => array('name' => 'acl_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('ACL Table'), 'description' => 'If this is a grant/revoke entry, what table are we granting?', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'acl_id' => array('name' => 'acl_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('ACL Group ID'), 'description' => 'ID of the ACL or ACL group being granted/revoked'), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('ACL Is Active?'), 'description' => 'Is this property active?', 'html' => array('type' => 'Checkbox')));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:ACL.php

示例8: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Navigation ID'), 'required' => true), 'domain_id' => array('name' => 'domain_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Navigation Domain'), 'description' => 'Which Domain is this navigation item for', 'required' => true, 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array('table' => 'civicrm_domain', 'keyColumn' => 'id', 'labelColumn' => 'name')), 'label' => array('name' => 'label', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Navigation Item Label'), 'description' => 'Navigation Title', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Navigation Item Machine Name'), 'description' => 'Internal Name', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'url' => array('name' => 'url', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Url'), 'description' => 'url in case of custom navigation link', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'permission' => array('name' => 'permission', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Required Permission'), 'description' => 'Permission for menu item', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'permission_operator' => array('name' => 'permission_operator', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Permission Operator'), 'description' => 'Permission Operator', 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR), 'parent_id' => array('name' => 'parent_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Navigation parent ID'), 'description' => 'Parent navigation item, used for grouping', 'FKClassName' => 'CRM_Core_DAO_Navigation', 'pseudoconstant' => array('table' => 'civicrm_navigation', 'keyColumn' => 'id', 'labelColumn' => 'label', 'nameColumn' => 'name')), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Active'), 'description' => 'Is this navigation item active?'), 'has_separator' => array('name' => 'has_separator', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Use separator'), 'description' => 'If separator needs to be added after this menu item'), 'weight' => array('name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Order'), 'description' => 'Ordering of the navigation items in various blocks.'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:Navigation.php

示例9: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Mailing Event Queue ID'), 'required' => true), 'job_id' => array('name' => 'job_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Job ID'), 'description' => 'FK to Job', 'required' => true, 'FKClassName' => 'CRM_Mailing_DAO_MailingJob'), 'email_id' => array('name' => 'email_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Email ID'), 'description' => 'FK to Email', 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Email'), 'contact_id' => array('name' => 'contact_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contact ID'), 'description' => 'FK to Contact', 'required' => true, 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'hash' => array('name' => 'hash', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Security Hash'), 'description' => 'Security hash', 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'phone_id' => array('name' => 'phone_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Phone ID'), 'description' => 'FK to Phone', 'default' => 'NULL', 'FKClassName' => 'CRM_Core_DAO_Phone'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:Queue.php

示例10: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Page ID'), 'description' => 'Contribution Id', 'required' => true), 'title' => array('name' => 'title', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Contribution Page Title'), 'description' => 'Contribution Page title. For top of page display', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'intro_text' => array('name' => 'intro_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Contribution Page Introduction Text'), 'description' => 'Text and html allowed. Displayed below title.', 'rows' => 6, 'cols' => 50, 'html' => array('type' => 'RichTextEditor')), 'financial_type_id' => array('name' => 'financial_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Type'), 'description' => 'default financial type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('table' => 'civicrm_financial_type', 'keyColumn' => 'id', 'labelColumn' => 'name')), 'payment_processor' => array('name' => 'payment_processor', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Payment Processor'), 'description' => 'Payment Processors configured for this contribution Page', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, 'html' => array('type' => 'Select'), 'pseudoconstant' => array('table' => 'civicrm_payment_processor', 'keyColumn' => 'id', 'labelColumn' => 'name')), 'is_credit_card_only' => array('name' => 'is_credit_card_only', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Credit Card Only?'), 'description' => 'if true - processing logic must reject transaction at confirmation stage if pay method != credit card'), 'is_monetary' => array('name' => 'is_monetary', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Monetary'), 'description' => 'if true - allows real-time monetary transactions otherwise non-monetary transactions', 'default' => '1'), 'is_recur' => array('name' => 'is_recur', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Recurring'), 'description' => 'if true - allows recurring contributions, valid only for PayPal_Standard'), 'is_confirm_enabled' => array('name' => 'is_confirm_enabled', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Confirmation Page?'), 'description' => 'if false, the confirm page in contribution pages gets skipped', 'default' => '1'), 'recur_frequency_unit' => array('name' => 'recur_frequency_unit', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Recurring Frequency'), 'description' => 'Supported recurring frequency units.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE), 'is_recur_interval' => array('name' => 'is_recur_interval', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Support Recurring Intervals'), 'description' => 'if true - supports recurring intervals'), 'is_recur_installments' => array('name' => 'is_recur_installments', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Recurring Installments?'), 'description' => 'if true - asks user for recurring installments'), 'adjust_recur_start_date' => array('name' => 'adjust_recur_start_date', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Adjust Recurring Start Date'), 'description' => 'if true - user is able to adjust payment start date'), 'is_pay_later' => array('name' => 'is_pay_later', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Pay Later'), 'description' => 'if true - allows the user to send payment directly to the org later'), 'pay_later_text' => array('name' => 'pay_later_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Pay Later Text'), 'description' => 'The text displayed to the user in the main form'), 'pay_later_receipt' => array('name' => 'pay_later_receipt', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Pay Later Receipt'), 'description' => 'The receipt sent to the user instead of the normal receipt text'), 'is_partial_payment' => array('name' => 'is_partial_payment', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allow Partial Payment'), 'description' => 'is partial payment enabled for this online contribution page'), 'initial_amount_label' => array('name' => 'initial_amount_label', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Initial Amount Label'), 'description' => 'Initial amount label for partial payment', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'initial_amount_help_text' => array('name' => 'initial_amount_help_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Initial Amount Help Text'), 'description' => 'Initial amount help text for partial payment'), 'min_initial_amount' => array('name' => 'min_initial_amount', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Min Initial Amount'), 'description' => 'Minimum initial amount for partial payment', 'precision' => array(20, 2)), 'is_allow_other_amount' => array('name' => 'is_allow_other_amount', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Allow Other Amounts'), 'description' => 'if true, page will include an input text field where user can enter their own amount'), 'default_amount_id' => array('name' => 'default_amount_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Default Amount'), 'description' => 'FK to civicrm_option_value.'), 'min_amount' => array('name' => 'min_amount', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Minimum Amount'), 'description' => 'if other amounts allowed, user can configure minimum allowed.', 'precision' => array(20, 2)), 'max_amount' => array('name' => 'max_amount', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Maximum Amount'), 'description' => 'if other amounts allowed, user can configure maximum allowed.', 'precision' => array(20, 2)), 'goal_amount' => array('name' => 'goal_amount', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Goal Amount'), 'description' => 'The target goal for this page, allows people to build a goal meter', 'precision' => array(20, 2)), 'thankyou_title' => array('name' => 'thankyou_title', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Thank-you Title'), 'description' => 'Title for Thank-you page (header title tag, and display at the top of the page).', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'thankyou_text' => array('name' => 'thankyou_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Thank-you Text'), 'description' => 'text and html allowed. displayed above result on success page', 'rows' => 8, 'cols' => 60, 'html' => array('type' => 'RichTextEditor')), 'thankyou_footer' => array('name' => 'thankyou_footer', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Thank-you Footer'), 'description' => 'Text and html allowed. displayed at the bottom of the success page. Common usage is to include link(s) to other pages such as tell-a-friend, etc.', 'rows' => 8, 'cols' => 60, 'html' => array('type' => 'RichTextEditor')), 'is_email_receipt' => array('name' => 'is_email_receipt', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Send email Receipt'), 'description' => 'if true, receipt is automatically emailed to contact on success'), 'receipt_from_name' => array('name' => 'receipt_from_name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Receipt From'), 'description' => 'FROM email name used for receipts generated by contributions to this contribution page.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'receipt_from_email' => array('name' => 'receipt_from_email', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Receipt From email'), 'description' => 'FROM email address used for receipts generated by contributions to this contribution page.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'cc_receipt' => array('name' => 'cc_receipt', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Receipt cc'), 'description' => 'comma-separated list of email addresses to cc each time a receipt is sent', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'bcc_receipt' => array('name' => 'bcc_receipt', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Receipt bcc'), 'description' => 'comma-separated list of email addresses to bcc each time a receipt is sent', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'receipt_text' => array('name' => 'receipt_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Receipt Text'), 'description' => 'text to include above standard receipt info on receipt email. emails are text-only, so do not allow html for now', 'rows' => 6, 'cols' => 50, 'html' => array('type' => 'TextArea')), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Page Active?'), 'description' => 'Is this property active?'), 'footer_text' => array('name' => 'footer_text', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Footer Text'), 'description' => 'Text and html allowed. Displayed at the bottom of the first page of the contribution wizard.', 'rows' => 6, 'cols' => 50, 'html' => array('type' => 'RichTextEditor')), 'amount_block_is_active' => array('name' => 'amount_block_is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Amount Block Active?'), 'description' => 'Is this property active?', 'default' => '1'), 'start_date' => array('name' => 'start_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Contribution Page Start Date'), 'description' => 'Date and time that this page starts.'), 'end_date' => array('name' => 'end_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Contribution Page End Date'), 'description' => 'Date and time that this page ends. May be NULL if no defined end date/time'), 'created_id' => array('name' => 'created_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Page Created By'), 'description' => 'FK to civicrm_contact, who created this contribution page', 'FKClassName' => 'CRM_Contact_DAO_Contact'), 'created_date' => array('name' => 'created_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, 'title' => ts('Contribution Page Created Date'), 'description' => 'Date and time that contribution page was created.'), 'currency' => array('name' => 'currency', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Contribution Page Currency'), 'description' => '3 character string, value from config setting or input via user.', 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('table' => 'civicrm_currency', 'keyColumn' => 'name', 'labelColumn' => 'full_name', 'nameColumn' => 'name')), 'campaign_id' => array('name' => 'campaign_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Contribution Page Campaign ID'), 'description' => 'The campaign for which we are collecting contributions with this page.', 'FKClassName' => 'CRM_Campaign_DAO_Campaign', 'pseudoconstant' => array('table' => 'civicrm_campaign', 'keyColumn' => 'id', 'labelColumn' => 'title')), 'is_share' => array('name' => 'is_share', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Contribution Page Shared?'), 'description' => 'Can people share the contribution page through social media?', 'default' => '1'), 'is_billing_required' => array('name' => 'is_billing_required', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is billing block required'), 'description' => 'if true - billing block is required for online contribution page'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:ContributionPage.php

示例11: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('SMS Provider ID'), 'description' => 'SMS Provider ID', 'required' => true), 'name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('SMS Provider Name'), 'description' => 'Provider internal name points to option_value of option_group sms_provider_name', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'title' => array('name' => 'title', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('SMS Provider Title'), 'description' => 'Provider name visible to user', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'html' => array('type' => 'Text')), 'username' => array('name' => 'username', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('SMS Provider Username'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'html' => array('type' => 'Text')), 'password' => array('name' => 'password', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('SMS Provider Password'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'html' => array('type' => 'Text')), 'api_type' => array('name' => 'api_type', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('SMS Provider API'), 'description' => 'points to value in civicrm_option_value for group sms_api_type', 'required' => true, 'html' => array('type' => 'Select')), 'api_url' => array('name' => 'api_url', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('SMS Provider API URL'), 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, 'html' => array('type' => 'Text')), 'api_params' => array('name' => 'api_params', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('SMS Provider API Params'), 'description' => 'the api params in xml, http or smtp format', 'html' => array('type' => 'Text')), 'is_default' => array('name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('SMS Provider is Default?'), 'html' => array('type' => 'CheckBox')), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('SMS Provider is Active?'), 'html' => array('type' => 'CheckBox')));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:Provider.php

示例12: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor ID'), 'description' => 'Payment Processor ID', 'required' => true), 'domain_id' => array('name' => 'domain_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor Domain'), 'description' => 'Which Domain is this match entry for', 'required' => true, 'FKClassName' => 'CRM_Core_DAO_Domain', 'pseudoconstant' => array('table' => 'civicrm_domain', 'keyColumn' => 'id', 'labelColumn' => 'name')), 'name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Payment Processor'), 'description' => 'Payment Processor Name.', 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG), 'description' => array('name' => 'description', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Processor Description'), 'description' => 'Payment Processor Description.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'payment_processor_type_id' => array('name' => 'payment_processor_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Processor Type ID'), 'FKClassName' => 'CRM_Financial_DAO_PaymentProcessorType', 'pseudoconstant' => array('table' => 'civicrm_payment_processor_type', 'keyColumn' => 'id', 'labelColumn' => 'title')), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor is Active?'), 'description' => 'Is this processor active?'), 'is_default' => array('name' => 'is_default', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Is Default?'), 'description' => 'Is this processor the default?'), 'is_test' => array('name' => 'is_test', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Test Processor?'), 'description' => 'Is this processor for a test site?'), 'user_name' => array('name' => 'user_name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('User Name'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'password' => array('name' => 'password', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Password'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'signature' => array('name' => 'signature', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Signature')), 'url_site' => array('name' => 'url_site', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Site URL'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'url_api' => array('name' => 'url_api', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('API URL'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'url_recur' => array('name' => 'url_recur', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Recurring Payments URL'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'url_button' => array('name' => 'url_button', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Button URL'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'subject' => array('name' => 'subject', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Subject'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'class_name' => array('name' => 'class_name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Suffix for PHP class name implementation'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'billing_mode' => array('name' => 'billing_mode', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Processor Billing Mode'), 'description' => 'Billing Mode (deprecated)', 'required' => true), 'is_recur' => array('name' => 'is_recur', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Processor Supports Recurring?'), 'description' => 'Can process recurring contributions'), 'payment_type' => array('name' => 'payment_type', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Type'), 'description' => 'Payment Type: Credit or Debit (deprecated)', 'default' => '1'), 'payment_instrument_id' => array('name' => 'payment_instrument_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Payment Method'), 'description' => 'Payment Instrument ID', 'default' => '1', 'pseudoconstant' => array('optionGroupName' => 'payment_instrument', 'optionEditPath' => 'civicrm/admin/options/payment_instrument')), 'accepted_credit_cards' => array('name' => 'accepted_credit_cards', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Accepted Credit Cards'), 'description' => 'array of accepted credit card types', 'default' => 'NULL'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:PaymentProcessor.php

示例13: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity Financial Account ID'), 'description' => 'ID', 'required' => true), 'entity_table' => array('name' => 'entity_table', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Entity Table'), 'description' => 'Links to an entity_table like civicrm_financial_type', 'required' => true, 'maxlength' => 64, 'size' => CRM_Utils_Type::BIG, 'import' => true, 'where' => 'civicrm_entity_financial_account.entity_table', 'headerPattern' => '', 'dataPattern' => '', 'export' => true), 'entity_id' => array('name' => 'entity_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Entity ID'), 'description' => 'Links to an id in the entity_table, such as vid in civicrm_financial_type', 'required' => true), 'account_relationship' => array('name' => 'account_relationship', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Account Relationship'), 'description' => 'FK to a new civicrm_option_value (account_relationship)', 'required' => true, 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'account_relationship', 'optionEditPath' => 'civicrm/admin/options/account_relationship')), 'financial_account_id' => array('name' => 'financial_account_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Account'), 'description' => 'FK to the financial_account_id', 'required' => true, 'FKClassName' => 'CRM_Financial_DAO_FinancialAccount', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('table' => 'civicrm_financial_account', 'keyColumn' => 'id', 'labelColumn' => 'name')));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:kcristiano,项目名称:civicrm-core,代码行数:13,代码来源:EntityFinancialAccount.php

示例14: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Product ID'), 'required' => true), 'product_name' => array('name' => 'name', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Product Name'), 'description' => 'Required product/premium name', 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'export' => true, 'where' => 'civicrm_product.name', 'headerPattern' => '', 'dataPattern' => ''), 'description' => array('name' => 'description', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Description'), 'description' => 'Optional description of the product/premium.'), 'sku' => array('name' => 'sku', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('SKU'), 'description' => 'Optional product sku or code.', 'maxlength' => 50, 'size' => CRM_Utils_Type::BIG, 'export' => true, 'where' => 'civicrm_product.sku', 'headerPattern' => '', 'dataPattern' => ''), 'options' => array('name' => 'options', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Options'), 'description' => 'Store comma-delimited list of color, size, etc. options for the product.'), 'image' => array('name' => 'image', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Image'), 'description' => 'Full or relative URL to uploaded image - fullsize.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'thumbnail' => array('name' => 'thumbnail', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Thumbnail'), 'description' => 'Full or relative URL to image thumbnail.', 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'price' => array('name' => 'price', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Price'), 'description' => 'Sell price or market value for premiums. For tax-deductible contributions, this will be stored as non_deductible_amount in the contribution record.', 'precision' => array(20, 2)), 'currency' => array('name' => 'currency', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Currency'), 'description' => '3 character string, value from config setting or input via user.', 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, 'default' => 'NULL', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('table' => 'civicrm_currency', 'keyColumn' => 'name', 'labelColumn' => 'full_name', 'nameColumn' => 'name')), 'financial_type_id' => array('name' => 'financial_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Financial Type'), 'description' => 'FK to Financial Type.', 'default' => 'NULL', 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'pseudoconstant' => array('table' => 'civicrm_financial_type', 'keyColumn' => 'id', 'labelColumn' => 'name')), 'min_contribution' => array('name' => 'min_contribution', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Minimum Contribution'), 'description' => 'Minimum contribution required to be eligible to select this premium.', 'precision' => array(20, 2)), 'cost' => array('name' => 'cost', 'type' => CRM_Utils_Type::T_MONEY, 'title' => ts('Cost'), 'description' => 'Actual cost of this product. Useful to determine net return from sale or using this as an incentive.', 'precision' => array(20, 2)), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Is Active'), 'description' => 'Disabling premium removes it from the premiums_premium join table below.', 'required' => true), 'period_type' => array('name' => 'period_type', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Period Type'), 'description' => 'Rolling means we set start/end based on current day, fixed means we set start/end for current year or month
   (e.g. 1 year + fixed -> we would set start/end for 1/1/06 thru 12/31/06 for any premium chosen in 2006) ', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'rolling', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('callback' => 'CRM_Core_SelectValues::periodType')), 'fixed_period_start_day' => array('name' => 'fixed_period_start_day', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Fixed Period Start Day'), 'description' => 'Month and day (MMDD) that fixed period type subscription or membership starts.', 'default' => '0101'), 'duration_unit' => array('name' => 'duration_unit', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Duration Unit'), 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'year', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('callback' => 'CRM_Core_SelectValues::getPremiumUnits')), 'duration_interval' => array('name' => 'duration_interval', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Duration Interval'), 'description' => 'Number of units for total duration of subscription, service, membership (e.g. 12 Months).'), 'frequency_unit' => array('name' => 'frequency_unit', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Frequency Unit'), 'description' => 'Frequency unit and interval allow option to store actual delivery frequency for a subscription or service.', 'maxlength' => 8, 'size' => CRM_Utils_Type::EIGHT, 'default' => 'month', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('callback' => 'CRM_Core_SelectValues::getPremiumUnits')), 'frequency_interval' => array('name' => 'frequency_interval', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Frequency Interval'), 'description' => 'Number of units for delivery frequency of subscription, service, membership (e.g. every 3 Months).'));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:14,代码来源:Product.php

示例15: array

 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!isset(Civi::$statics[__CLASS__]['fields'])) {
         Civi::$statics[__CLASS__]['fields'] = array('case_id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Case ID'), 'description' => 'Unique Case ID', 'required' => true, 'import' => true, 'where' => 'civicrm_case.id', 'headerPattern' => '', 'dataPattern' => '', 'export' => true), 'case_type_id' => array('name' => 'case_type_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Case Type'), 'description' => 'FK to civicrm_case_type.id', 'import' => true, 'where' => 'civicrm_case.case_type_id', 'headerPattern' => '', 'dataPattern' => '', 'export' => false, 'FKClassName' => 'CRM_Case_DAO_CaseType', 'html' => array('type' => 'Select'), 'pseudoconstant' => array('table' => 'civicrm_case_type', 'keyColumn' => 'id', 'labelColumn' => 'title')), 'case_subject' => array('name' => 'subject', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Case Subject'), 'description' => 'Short name of the case.', 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, 'import' => true, 'where' => 'civicrm_case.subject', 'headerPattern' => '', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Text')), 'case_start_date' => array('name' => 'start_date', 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Case Start Date'), 'description' => 'Date on which given case starts.', 'import' => true, 'where' => 'civicrm_case.start_date', 'headerPattern' => '', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Select Date')), 'case_end_date' => array('name' => 'end_date', 'type' => CRM_Utils_Type::T_DATE, 'title' => ts('Case End Date'), 'description' => 'Date on which given case ends.', 'import' => true, 'where' => 'civicrm_case.end_date', 'headerPattern' => '', 'dataPattern' => '', 'export' => true, 'html' => array('type' => 'Select Date')), 'details' => array('name' => 'details', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Details'), 'description' => 'Details about the meeting (agenda, notes, etc).', 'rows' => 8, 'cols' => 60, 'html' => array('type' => 'TextArea')), 'case_status_id' => array('name' => 'status_id', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Case Status'), 'description' => 'Id of case status.', 'required' => true, 'import' => true, 'where' => 'civicrm_case.status_id', 'headerPattern' => '', 'dataPattern' => '', 'export' => false, 'html' => array('type' => 'Select'), 'pseudoconstant' => array('optionGroupName' => 'case_status', 'optionEditPath' => 'civicrm/admin/options/case_status')), 'case_deleted' => array('name' => 'is_deleted', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Case is in the Trash'), 'import' => true, 'where' => 'civicrm_case.is_deleted', 'headerPattern' => '', 'dataPattern' => '', 'export' => true));
         CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);
     }
     return Civi::$statics[__CLASS__]['fields'];
 }
开发者ID:nielosz,项目名称:civicrm-core,代码行数:13,代码来源:Case.php


注:本文中的CRM_Core_DAO_AllCoreTables::invoke方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。