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


PHP RowManager::__construct方法代码示例

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


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

示例1:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $assignmentID [INTEGER] The unique id of the assignment to manage.
  * @return [void]
  */
 function __construct($assignmentID = -1)
 {
     $dbTableName = RowManager_HrdbAssignmentManager::DB_TABLE;
     $fieldList = RowManager_HrdbAssignmentManager::FIELD_LIST;
     $primaryKeyField = 'assignment_id';
     $primaryKeyValue = $assignmentID;
     if ($assignmentID != -1 && $assignmentID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_HrdbAssignmentManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName, HR_DB_NAME);
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:22,代码来源:HrdbAssignmentManager.php

示例2:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $ACTIVITYSCHEDULE_ID [INTEGER] The unique id of the activityschedule we are managing.
  * @return [void]
  */
 function __construct($ACTIVITYSCHEDULE_ID = -1)
 {
     $dbTableName = RowManager_ActivityScheduleManager::DB_TABLE;
     $fieldList = RowManager_ActivityScheduleManager::FIELD_LIST;
     $primaryKeyField = 'activityschedule_id';
     $primaryKeyValue = $ACTIVITYSCHEDULE_ID;
     if ($ACTIVITYSCHEDULE_ID != -1 && $ACTIVITYSCHEDULE_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_ActivityScheduleManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_ActivityScheduleManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:ActivityScheduleManager.php

示例3:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $initValue [INTEGER] The unique id of the navbarcache we are managing.
  * @return [void]
  */
 function __construct($initValue = -1)
 {
     $dbTableName = RowManager_NavBarCacheManager::DB_TABLE;
     $fieldList = RowManager_NavBarCacheManager::FIELD_LIST;
     $primaryKeyField = 'navbarcache_id';
     $primaryKeyValue = $initValue;
     if ($initValue != -1 && $initValue != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_NavBarCacheManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_NavBarCacheManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:NavBarCacheManager.php

示例4:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $label_id [INTEGER] The unique id of the multilingualLabel we are managing.
  * @return [void]
  */
 function __construct($label_id = -1)
 {
     $dbTableName = RowManager_MultilingualLabelManager::DB_TABLE;
     $fieldList = RowManager_MultilingualLabelManager::FIELD_LIST;
     $primaryKeyField = 'label_id';
     $primaryKeyValue = $label_id;
     if ($label_id != -1 && $label_id != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_MultilingualLabelManager::XML_NODE_NAME;
     $this->dbDescription = RowManager_MultilingualLabelManager::DB_TABLE_DESCRIPTION;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:LabelManager.php

示例5:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $EVENTADMIN_ID [INTEGER] The unique id of the eventadminassignment we are managing.
  * @return [void]
  */
 function __construct($EVENTADMIN_ID = -1)
 {
     $dbTableName = RowManager_EventAdminAssignmentManager::DB_TABLE;
     $fieldList = RowManager_EventAdminAssignmentManager::FIELD_LIST;
     $primaryKeyField = 'eventadmin_id';
     $primaryKeyValue = $EVENTADMIN_ID;
     if ($EVENTADMIN_ID != -1 && $EVENTADMIN_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_EventAdminAssignmentManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_EventAdminAssignmentManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:EventAdminAssignmentManager.php

示例6:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $ASSIGNSTATUS_ID [INTEGER] The unique id of the campusassignmentstatus we are managing.
  * @return [void]
  */
 function __construct($ASSIGNSTATUS_ID = -1)
 {
     $dbTableName = RowManager_CampusAssignmentStatusManager::DB_TABLE;
     $fieldList = RowManager_CampusAssignmentStatusManager::FIELD_LIST;
     $primaryKeyField = 'assignmentstatus_id';
     $primaryKeyValue = $ASSIGNSTATUS_ID;
     if ($ASSIGNSTATUS_ID != -1 && $ASSIGNSTATUS_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_CampusAssignmentStatusManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_CampusAssignmentStatusManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:CampusAssignmentStatusManager.php

示例7:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $PRICERULETYPE_ID [INTEGER] The unique id of the priceruletype we are managing.
  * @return [void]
  */
 function __construct($PRICERULETYPE_ID = -1)
 {
     $dbTableName = RowManager_PriceRuleTypeManager::DB_TABLE;
     $fieldList = RowManager_PriceRuleTypeManager::FIELD_LIST;
     $primaryKeyField = 'priceruletypes_id';
     $primaryKeyValue = $PRICERULETYPE_ID;
     if ($PRICERULETYPE_ID != -1 && $PRICERULETYPE_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_PriceRuleTypeManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_PriceRuleTypeManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:PriceRuleTypeManager.php

示例8:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $GROUP_ID [INTEGER] The unique id of the group we are managing.
  * @return [void]
  */
 function __construct($GROUP_ID = -1)
 {
     $dbTableName = RowManager_GroupManager::DB_TABLE;
     $fieldList = RowManager_GroupManager::FIELD_LIST;
     $primaryKeyField = 'group_id';
     $primaryKeyValue = $GROUP_ID;
     if ($GROUP_ID != -1 && $GROUP_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_GroupManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_GroupManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:GroupManager.php

示例9:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $PERMISSIONSSUPERADMIN_ID [INTEGER] The unique id of the permissionssuperadmin we are managing.
  * @return [void]
  */
 function __construct($PERMISSIONSSUPERADMIN_ID = -1)
 {
     $dbTableName = RowManager_PermissionsSuperAdminManager::DB_TABLE;
     $fieldList = RowManager_PermissionsSuperAdminManager::FIELD_LIST;
     $primaryKeyField = 'permissionsSuperAdmin_id';
     $primaryKeyValue = $PERMISSIONSSUPERADMIN_ID;
     if ($PERMISSIONSSUPERADMIN_ID != -1 && $PERMISSIONSSUPERADMIN_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_PermissionsSuperAdminManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_PermissionsSuperAdminManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:PermissionsSuperAdminManager.php

示例10:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $STAFFSCHEDULEINSTR_ID [INTEGER] The unique id of the staffscheduleinstr we are managing.
  * @return [void]
  */
 function __construct($STAFFSCHEDULEINSTR_ID = -1)
 {
     $dbTableName = RowManager_StaffScheduleInstrManager::DB_TABLE;
     $fieldList = RowManager_StaffScheduleInstrManager::FIELD_LIST;
     $primaryKeyField = 'staffscheduletype_id';
     $primaryKeyValue = $STAFFSCHEDULEINSTR_ID;
     if ($STAFFSCHEDULEINSTR_ID != -1 && $STAFFSCHEDULEINSTR_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_StaffScheduleInstrManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_StaffScheduleInstrManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:StaffScheduleInstrManager.php

示例11:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $ACCESS_ID [INTEGER] The unique id of the viewertopersonassignment we are managing.
  * @return [void]
  */
 function __construct($ACCESS_ID = -1)
 {
     $dbTableName = RowManager_ViewerToPersonAssignmentManager::DB_TABLE;
     $fieldList = RowManager_ViewerToPersonAssignmentManager::FIELD_LIST;
     $primaryKeyField = 'access_id';
     $primaryKeyValue = $ACCESS_ID;
     if ($ACCESS_ID != -1 && $ACCESS_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_ViewerToPersonAssignmentManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_ViewerToPersonAssignmentManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:23,代码来源:ViewerToPersonAssignmentManager.php

示例12:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $initValue [INTEGER] The unique id of the accountadminaccess we are managing.
  * @return [void]
  */
 function __construct($initValue = -1)
 {
     $dbTableName = RowManager_AccountAdminAccessManager::DB_TABLE;
     $fieldList = RowManager_AccountAdminAccessManager::FIELD_LIST;
     $primaryKeyField = 'accountadminaccess_id';
     $primaryKeyValue = $initValue;
     if ($initValue != -1 && $initValue != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_AccountAdminAccessManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_AccountAdminAccessManager::DB_TABLE_DESCRIPTION;
     $this->viewerMgr = null;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:24,代码来源:AccountAdminAccessManager.php

示例13: explode

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $PRIMARY_ID [INTEGER] The unique id of the customreports we are managing.
  * @return [void]
  */
 function __construct($DB_TABLE, $DB_TABLE_CREATESQL, $FIELD_LIST, $XML_NODE_NAME, $PRIMARY_ID = -1)
 {
     $dbTableName = $this->DB_TABLE = $DB_TABLE;
     $fieldList = $this->FIELD_LIST = $FIELD_LIST;
     $fieldArray = explode(',', $FIELD_LIST);
     $primaryKeyField = $fieldArray[0];
     // NOTE: assumes that field_list starts with primary ID
     $primaryKeyValue = $PRIMARY_ID;
     if ($PRIMARY_ID != -1 && $PRIMARY_ID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = $XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = ' ' . $DB_TABLE_CREATESQL;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:25,代码来源:TempTableManager.php

示例14:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $template_id [INTEGER] The unique id of the emailtemplate we are managing.
  * @return [void]
  */
 function __construct($template_id = -1, $app_id = "")
 {
     $dbTableName = RowManager_EmailTemplateManager::DB_TABLE;
     $fieldList = RowManager_EmailTemplateManager::FIELD_LIST;
     $primaryKeyField = 'template_id';
     $primaryKeyValue = $template_id;
     if ($template_id != -1 && $template_id != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
         //$condition .= " AND app_id='".$app_id."'";
     } else {
         $condition = '';
         //$condition = "app_id='" . $app_id ."'";
     }
     $xmlNodeName = RowManager_EmailTemplateManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
     $this->dbDescription = RowManager_EmailTemplateManager::DB_TABLE_DESCRIPTION;
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:25,代码来源:EmailTemplateManager.php

示例15:

 /**
  * function __construct
  * <pre>
  * Initialize this object.
  * </pre>
  * @param $moduleID [INTEGER] The unique id of the module we are managing.
  * @return [void]
  */
 function __construct($moduleID = -1)
 {
     $dbTableName = RowManager_ModuleManager::DB_TABLE;
     $fieldList = RowManager_ModuleManager::FIELD_LIST;
     $primaryKeyField = 'module_id';
     $primaryKeyValue = $moduleID;
     if ($moduleID != -1 && $moduleID != '') {
         $condition = $primaryKeyField . '=' . $primaryKeyValue;
     } else {
         $condition = '';
     }
     $xmlNodeName = RowManager_ModuleManager::XML_NODE_NAME;
     parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName, RADTOOL_DB_NAME, RADTOOL_DB_PATH, RADTOOL_DB_USER, RADTOOL_DB_PWORD);
     if ($this->isLoaded() == false) {
         // uncomment this line if you want the Manager to automatically
         // create a new entry if the given info doesn't exist.
         // $this->createNewEntry();
     }
 }
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:27,代码来源:ModuleManager.php


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