當前位置: 首頁>>代碼示例>>PHP>>正文


PHP SugarBean::SugarBean方法代碼示例

本文整理匯總了PHP中SugarBean::SugarBean方法的典型用法代碼示例。如果您正苦於以下問題:PHP SugarBean::SugarBean方法的具體用法?PHP SugarBean::SugarBean怎麽用?PHP SugarBean::SugarBean使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在SugarBean的用法示例。


在下文中一共展示了SugarBean::SugarBean方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: Worksheets

 function Worksheets()
 {
     $this->worksheet_tour_id = $id;
     global $sugar_config;
     $noidung = new stdClass();
     parent::SugarBean();
 }
開發者ID:sysraj86,項目名稱:carnivalcrm,代碼行數:7,代碼來源:Worksheets.php

示例2: Currency

 function Currency()
 {
     parent::SugarBean();
     $this->field_defs['hide'] = array('name' => 'hide', 'source' => 'non-db', 'type' => 'varchar', 'len' => 25);
     $this->field_defs['unhide'] = array('name' => 'unhide', 'source' => 'non-db', 'type' => 'varchar', 'len' => 25);
     $this->disable_row_level_security = true;
 }
開發者ID:BackupTheBerlios,項目名稱:livealphaprint,代碼行數:7,代碼來源:Currency.php

示例3:

 function __construct($token = '', $secret = '')
 {
     parent::SugarBean();
     $this->token = $token;
     $this->secret = $secret;
     $this->setState(self::REQUEST);
 }
開發者ID:BMLP,項目名稱:memoryhole-ansible,代碼行數:7,代碼來源:OAuthToken.php

示例4: UserSignature

 function UserSignature()
 {
     //Ensure the vardefs get loaded.
     global $dictionary;
     require_once "metadata/users_signaturesMetaData.php";
     parent::SugarBean();
 }
開發者ID:klr2003,項目名稱:sourceread,代碼行數:7,代碼來源:UserSignature.php

示例5: Document

 function Document()
 {
     parent::SugarBean();
     $this->setupCustomFields('Documents');
     //parameter is module name
     $this->disable_row_level_security = false;
 }
開發者ID:aldridged,項目名稱:gtg-sugar,代碼行數:7,代碼來源:Document.php

示例6: MergeRecord

 function MergeRecord($merge_module = '', $merge_id = '')
 {
     global $sugar_config;
     parent::SugarBean();
     if ($merge_module != '') {
         $this->load_merge_bean($merge_module, $merge_id);
     }
 }
開發者ID:BackupTheBerlios,項目名稱:livealphaprint,代碼行數:8,代碼來源:MergeRecord.php

示例7: Dashboard

 function Dashboard()
 {
     parent::SugarBean();
     $this->setupCustomFields('Dashboard');
     foreach ($this->field_defs as $field) {
         $this->field_name_map[$field['name']] = $field;
     }
 }
開發者ID:klr2003,項目名稱:sourceread,代碼行數:8,代碼來源:Dashboard.php

示例8: Currency

 function Currency()
 {
     parent::SugarBean();
     global $app_strings, $current_user, $sugar_config, $locale;
     $this->field_defs['hide'] = array('name' => 'hide', 'source' => 'non-db', 'type' => 'varchar', 'len' => 25);
     $this->field_defs['unhide'] = array('name' => 'unhide', 'source' => 'non-db', 'type' => 'varchar', 'len' => 25);
     $this->disable_row_level_security = true;
 }
開發者ID:razorinc,項目名稱:sugarcrm-example,代碼行數:8,代碼來源:Currency.php

示例9: __construct

 public function __construct($name, $vardefs)
 {
     global $dictionary;
     $this->object_name = $name;
     $this->table_name = $name;
     $dictionary[$this->object_name] = $vardefs;
     parent::SugarBean();
 }
開發者ID:netconstructor,項目名稱:sugarcrm_dev,代碼行數:8,代碼來源:TestBean.php

示例10: DocumentRevision

 function DocumentRevision()
 {
     parent::SugarBean();
     $this->setupCustomFields('DocumentRevisions');
     //parameter is module name
     $this->disable_row_level_security = true;
     //no direct access to this module.
 }
開發者ID:BackupTheBerlios,項目名稱:livealphaprint,代碼行數:8,代碼來源:DocumentRevision.php

示例11: SchedulersJob

 /**
  * Sole constructor.
  */
 function SchedulersJob()
 {
     parent::SugarBean();
     require_once 'modules/Users/User.php';
     $user = new User();
     $user->retrieve('1');
     // Scheduler jobs run as Admin
     $this->user = $user;
 }
開發者ID:BackupTheBerlios,項目名稱:livealphaprint,代碼行數:12,代碼來源:SchedulersJob.php

示例12: array

 function Bug42475TestBean()
 {
     $this->module_dir = 'Accounts';
     $this->object_name = 'Account';
     parent::SugarBean();
     // Fake a fetched row
     $this->fetched_row = array('test_field' => 257.8300000001);
     $this->test_field = 257.83;
 }
開發者ID:rgauss,項目名稱:sugarcrm_dev,代碼行數:9,代碼來源:Bug42475Test.php

示例13: Opportunity

 function Opportunity()
 {
     parent::SugarBean();
     global $sugar_config;
     if (!$sugar_config['require_accounts']) {
         unset($this->required_fields['account_name']);
     }
     global $current_user;
 }
開發者ID:BackupTheBerlios,項目名稱:livealphaprint,代碼行數:9,代碼來源:Opportunity.php

示例14: SchedulersJob

 /**
  * Sole constructor.
  */
 function SchedulersJob($init = true)
 {
     parent::SugarBean();
     if ($init) {
         $user = new User();
         $user->retrieve('1');
         // Scheduler jobs run as Admin
         $this->user = $user;
     }
 }
開發者ID:aldridged,項目名稱:gtg-sugar,代碼行數:13,代碼來源:SchedulersJob.php

示例15: Dashboard

 function Dashboard()
 {
     parent::SugarBean();
     $this->setupCustomFields('Dashboard');
     foreach ($this->field_defs as $field) {
         $this->field_name_map[$field['name']] = $field;
     }
     $this->team_id = 1;
     // make the item globally accessible
 }
開發者ID:BackupTheBerlios,項目名稱:livealphaprint,代碼行數:10,代碼來源:Dashboard.php


注:本文中的SugarBean::SugarBean方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。