本文整理汇总了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;
}
示例2: __construct
function __construct()
{
$log = vglobal('log');
$this->column_fields = getColumnFields(get_class($this));
$this->db = new PearDatabase();
$this->log = $log;
}
示例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;
}
示例4: PBXManager
function PBXManager()
{
global $log;
$this->column_fields = getColumnFields('PBXManager');
$this->db = PearDatabase::getInstance();
$this->log = $log;
}
示例5: __construct
function __construct()
{
global $log;
$this->column_fields = getColumnFields('ServiceContracts');
$this->db = new PearDatabase();
$this->log = $log;
}
示例6: __construct
function __construct()
{
global $log, $currentModule;
$this->column_fields = getColumnFields($currentModule);
$this->db = PearDatabase::getInstance();
$this->log = $log;
}
示例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;
}
示例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 ...");
}
示例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 ...");
}
示例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 ...");
}
示例11: __construct
function __construct()
{
global $log, $currentModule, $singlepane_view;
//$singlepane_view = true;
$this->column_fields = getColumnFields($currentModule);
$this->db = new PearDatabase();
$this->log = $log;
}
示例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 ...");
}
示例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 ...");
}
示例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 ...");
}
示例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 ...");
}