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


PHP getColumnFields函数代码示例

本文整理汇总了PHP中getColumnFields函数的典型用法代码示例。如果您正苦于以下问题:PHP getColumnFields函数的具体用法?PHP getColumnFields怎么用?PHP getColumnFields使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: __construct

 /**	Constructor which will set the column_fields in this object
  */
 function __construct()
 {
     global $log;
     $this->column_fields = getColumnFields(get_class($this));
     $this->db = PearDatabase::getInstance();
     $this->log = $log;
 }
开发者ID:rcrrich,项目名称:UpdatePackages,代码行数:9,代码来源:OSSMailView.php

示例2: __construct

 function __construct()
 {
     $log = vglobal('log');
     $this->column_fields = getColumnFields(get_class($this));
     $this->db = new PearDatabase();
     $this->log = $log;
 }
开发者ID:rcrrich,项目名称:YetiForceCRM,代码行数:7,代码来源:ServiceContracts.php

示例3: __construct

 /**	Constructor which will set the column_fields in this object
  */
 function __construct()
 {
     global $log;
     $this->column_fields = getColumnFields('Services');
     $this->db = PearDatabase::getInstance();
     $this->log = $log;
 }
开发者ID:mslokhat,项目名称:corebos,代码行数:9,代码来源:Services.php

示例4: PBXManager

 function PBXManager()
 {
     global $log;
     $this->column_fields = getColumnFields('PBXManager');
     $this->db = PearDatabase::getInstance();
     $this->log = $log;
 }
开发者ID:hardikk,项目名称:HNH,代码行数:7,代码来源:PBXManager.php

示例5: __construct

 function __construct()
 {
     global $log;
     $this->column_fields = getColumnFields('ServiceContracts');
     $this->db = new PearDatabase();
     $this->log = $log;
 }
开发者ID:vtiger-jp,项目名称:vtigercrm-5.1.x-ja,代码行数:7,代码来源:ServiceContracts.php

示例6: __construct

 function __construct()
 {
     global $log, $currentModule;
     $this->column_fields = getColumnFields($currentModule);
     $this->db = PearDatabase::getInstance();
     $this->log = $log;
 }
开发者ID:jaimeaga84,项目名称:corebos,代码行数:7,代码来源:ProjectTask.php

示例7: getFieldByReportLabel

/**
 * Function to get the field information from module name and field label
 */
function getFieldByReportLabel($module, $label)
{
    // this is required so the internal cache is populated or reused.
    getColumnFields($module);
    //lookup all the accessible fields
    $cachedModuleFields = VTCacheUtils::lookupFieldInfo_Module($module);
    if ($module == 'Calendar') {
        $cachedEventsFields = VTCacheUtils::lookupFieldInfo_Module('Events');
        if ($cachedModuleFields == false) {
            $cachedModuleFields = $cachedEventsFields;
        } else {
            $cachedModuleFields = array_merge($cachedModuleFields, $cachedEventsFields);
        }
    }
    if (empty($cachedModuleFields)) {
        return null;
    }
    $label = decode_html($label);
    foreach ($cachedModuleFields as $fieldInfo) {
        $fieldLabel = str_replace(' ', '_', $fieldInfo['fieldlabel']);
        if ($label == $fieldLabel) {
            return $fieldInfo;
        }
    }
    return null;
}
开发者ID:kduqi,项目名称:corebos,代码行数:29,代码来源:ReportUtils.php

示例8: Vendors

 /**	Constructor which will set the column_fields in this object
  */
 function Vendors()
 {
     $this->log = LoggerManager::getLogger('vendor');
     $this->log->debug("Entering Vendors() method ...");
     $this->db = PearDatabase::getInstance();
     $this->column_fields = getColumnFields('Vendors');
     $this->log->debug("Exiting Vendor method ...");
 }
开发者ID:hbsman,项目名称:vtigercrm-5.3.0-ja,代码行数:10,代码来源:Vendors.php

示例9: Consignment

 /**	Constructor which will set the column_fields in this object
  */
 function Consignment()
 {
     $this->log = LoggerManager::getLogger('Consignment');
     $this->log->debug("Entering Consignment() method ...");
     $this->db = PearDatabase::getInstance();
     $this->column_fields = getColumnFields('Consignment');
     $this->log->debug("Exiting Consignment method ...");
 }
开发者ID:DeliveryPLANET,项目名称:vTiger,代码行数:10,代码来源:Consignment.php

示例10: PriceBooks

 /**	Constructor which will set the column_fields in this object
  */
 function PriceBooks()
 {
     $this->log = LoggerManager::getLogger('pricebook');
     $this->log->debug("Entering PriceBooks() method ...");
     $this->db = PearDatabase::getInstance();
     $this->column_fields = getColumnFields('PriceBooks');
     $this->log->debug("Exiting PriceBook method ...");
 }
开发者ID:Bergdahls,项目名称:YetiForceCRM,代码行数:10,代码来源:PriceBooks.php

示例11: __construct

 function __construct()
 {
     global $log, $currentModule, $singlepane_view;
     //$singlepane_view = true;
     $this->column_fields = getColumnFields($currentModule);
     $this->db = new PearDatabase();
     $this->log = $log;
 }
开发者ID:jmangarret,项目名称:vtigercrm,代码行数:8,代码来源:Accounting.php

示例12: Qunfatmps

 function Qunfatmps()
 {
     $this->log = LoggerManager::getLogger('qunfatmps');
     $this->log->debug("Entering Qunfatmps() method ...");
     $this->db =& getSingleDBInstance();
     $this->column_fields = getColumnFields('Qunfatmps');
     $this->log->debug("Exiting Qunfatmps method ...");
 }
开发者ID:honj51,项目名称:taobaocrm,代码行数:8,代码来源:Qunfatmps.php

示例13: Products

 /**	Constructor which will set the column_fields in this object
  */
 function Products()
 {
     $this->log = LoggerManager::getLogger('product');
     $this->log->debug("Entering Products() method ...");
     $this->db =& getSingleDBInstance();
     $this->column_fields = getColumnFields('Products');
     $this->log->debug("Exiting Product method ...");
 }
开发者ID:honj51,项目名称:taobaocrm,代码行数:10,代码来源:Products.php

示例14: Notes

 function Notes()
 {
     $this->log = LoggerManager::getLogger('notes');
     $this->log->debug("Entering Notes() method ...");
     $this->db =& getSingleDBInstance();
     $this->column_fields = getColumnFields('Notes');
     $this->log->debug("Exiting Note method ...");
 }
开发者ID:honj51,项目名称:taobaocrm,代码行数:8,代码来源:Notes.php

示例15: HelpDesk

 /**	Constructor which will set the column_fields in this object
  */
 function HelpDesk()
 {
     $this->log = LoggerManager::getLogger('helpdesk');
     $this->log->debug("Entering HelpDesk() method ...");
     $this->db = PearDatabase::getInstance();
     $this->column_fields = getColumnFields('HelpDesk');
     $this->log->debug("Exiting HelpDesk method ...");
 }
开发者ID:rcrrich,项目名称:UpdatePackages,代码行数:10,代码来源:HelpDesk.php


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