当前位置: 首页>>代码示例>>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;未经允许,请勿转载。