本文整理汇总了PHP中RowManager类的典型用法代码示例。如果您正苦于以下问题:PHP RowManager类的具体用法?PHP RowManager怎么用?PHP RowManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了RowManager类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: __construct
/**
* 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: __construct
/**
* 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: __construct
/**
* 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
示例4: __construct
/**
* 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
示例5: __construct
/**
* 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
示例6: __construct
/**
* 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
示例7: __construct
/**
* 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
示例8: __construct
/**
* 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: __construct
/**
* 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
示例10: __construct
/**
* 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
示例11: __construct
/**
* 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
示例12: __construct
/**
* 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
示例13: __construct
/**
* function __construct
* <pre>
* Initialize this object.
* </pre>
* @param $initValue [INTEGER] The unique id of the pagefield we are managing.
* @return [void]
*/
function __construct($initValue = -1)
{
$dbTableName = RowManager_PageFieldManager::DB_TABLE;
$fieldList = RowManager_PageFieldManager::FIELD_LIST;
$primaryKeyField = 'pagefield_id';
$primaryKeyValue = $initValue;
if ($initValue != -1 && $initValue != '') {
$condition = $primaryKeyField . '=' . $primaryKeyValue;
} else {
$condition = '';
}
$xmlNodeName = RowManager_PageFieldManager::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,代码来源:PageFieldManager.php
示例14: __construct
/**
* function __construct
* <pre>
* Initialize this object.
* </pre>
* @param $accessID [INTEGER] The unique id of the access object we are managing.
* @return [void]
*/
function __construct($accessID = -1)
{
$dbTableName = RowManager_HrdbAccessManager::DB_TABLE;
$fieldList = RowManager_HrdbAccessManager::FIELD_LIST;
$primaryKeyField = 'access_id';
$primaryKeyValue = $accessID;
if ($accessID != -1 && $accessID != '') {
$condition = $primaryKeyField . '=' . $primaryKeyValue;
} else {
$condition = '';
}
$xmlNodeName = RowManager_HrdbAccessManager::XML_NODE_NAME;
parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName, HR_DB_NAME);
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,代码来源:HrdbAccessManager.php
示例15: __construct
/**
* function __construct
* <pre>
* Initialize this object.
* </pre>
* @param $SEMESTER_ID [INTEGER] The unique id of the semesterreport we are managing.
* @return [void]
*/
function __construct($SEMESTER_ID = -1, $campusID = -1)
{
$dbTableName = RowManager_SemesterReportManager::DB_TABLE;
$fieldList = RowManager_SemesterReportManager::FIELD_LIST;
$primaryKeyField = 'semesterreport_id';
$primaryKeyValue = -1;
if ($SEMESTER_ID != -1 && $SEMESTER_ID != '') {
$condition = 'semester_id=' . $SEMESTER_ID;
if ($campusID != -1 && $campusID != '') {
$condition .= ' AND campus_id=' . $campusID;
}
} else {
$condition = '';
}
// echo 'The condition is ['.$condition.']<br/>';
$xmlNodeName = RowManager_SemesterReportManager::XML_NODE_NAME;
parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
$this->dbDescription = RowManager_SemesterReportManager::DB_TABLE_DESCRIPTION;
}
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:27,代码来源:SemesterReportManager.php
示例16: __construct
/**
* function __construct
* <pre>
* Initialize this object.
* </pre>
* @param $initValue [INTEGER] The unique id of the province we are managing.
* @return [void]
*/
function __construct($initValue = -1)
{
$dbTableName = RowManager_ProvinceManager::DB_TABLE;
$fieldList = RowManager_ProvinceManager::FIELD_LIST;
$primaryKeyField = 'province_id';
$primaryKeyValue = $initValue;
if ($initValue != -1 && $initValue != '') {
$condition = $primaryKeyField . '=' . $primaryKeyValue;
} else {
$condition = '';
}
$xmlNodeName = RowManager_ProvinceManager::XML_NODE_NAME;
parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName, HR_DB_NAME);
$this->dbDescription = RowManager_ProvinceManager::DB_TABLE_DESCRIPTION;
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,代码行数:28,代码来源:HrdbProvinceManager.php
示例17: __construct
/**
* function __construct
* <pre>
* Initialize this object.
* </pre>
* @param $WEEK_ID [INTEGER] The unique id of the weeklyreport we are managing.
* @param $staff_id [INTEGER] The unique id of a staff member.
* @return [void]
*/
function __construct($WEEK_ID = -1, $staff_id = -1, $campus_id = -1)
{
$dbTableName = RowManager_WeeklyReportManager::DB_TABLE;
$fieldList = RowManager_WeeklyReportManager::FIELD_LIST;
$primaryKeyField = 'weeklyReport_id';
$primaryKeyValue = 0;
if ($WEEK_ID != -1 && $WEEK_ID != '') {
$condition = 'week_id' . '=' . $WEEK_ID;
if ($staff_id != -1 && $staff_id != '') {
$condition .= ' AND staff_id=' . $staff_id;
}
if ($campus_id != -1 && $campus_id != '') {
$condition .= ' AND campus_id=' . $campus_id;
}
// echo 'The condition is ['.$condition.']<br/>';
} else {
$condition = '';
}
$xmlNodeName = RowManager_WeeklyReportManager::XML_NODE_NAME;
parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
$this->dbDescription = RowManager_WeeklyReportManager::DB_TABLE_DESCRIPTION;
}
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:31,代码来源:WeeklyReportManager.php
示例18: __construct
/**
* function __construct
* <pre>
* Initialize this object.
* </pre>
* @param $EMERG_ID [INTEGER] The unique id of the emergencyinfo we are managing.
* @return [void]
*/
function __construct($EMERG_ID = -1, $person_id = -1)
{
$dbTableName = RowManager_EmergencyInfoManager::DB_TABLE;
$fieldList = RowManager_EmergencyInfoManager::FIELD_LIST;
$primaryKeyField = 'emerg_id';
$primaryKeyValue = $EMERG_ID;
if ($EMERG_ID != -1 && $EMERG_ID != '') {
$condition = $primaryKeyField . '=' . $primaryKeyValue;
} else {
$condition = '';
}
if ($person_id != -1 && $person_id != '') {
$concat = ' AND ';
if ($condition == '') {
$concat = '';
}
$condition .= $concat . 'person_id=' . $person_id;
}
$xmlNodeName = RowManager_EmergencyInfoManager::XML_NODE_NAME;
parent::__construct($dbTableName, $fieldList, $primaryKeyField, $primaryKeyValue, $condition, $xmlNodeName);
$this->dbDescription = RowManager_EmergencyInfoManager::DB_TABLE_DESCRIPTION;
}
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:30,代码来源:EmergencyInfoManager.php
示例19: updateDBTable
/**
* function updateDBTable
* <pre>
* Updates the DB table info.
* </pre>
* @return [void]
*/
function updateDBTable()
{
// make sure label is translated into UnicodeEntities
$data = $this->getLabel();
$newData = Unicode_utf8ToUnicodeEntities($data);
$this->setLabel($newData);
parent::updateDBTable();
// Go Through and remove any existing xlation requests for this
// label entry.
$currentPageID = $this->getPageID();
$currentKey = $this->getKey();
$currentLanguageID = $this->getLanguageID();
$xlationManager = new RowManager_XLationManager();
// for each label with matching PageID & Key
$labelManager = new RowManager_MultilingualLabelManager();
$labelManager->setPageID($currentPageID);
$labelManager->setKey($currentKey);
$labelList = $labelManager->getListIterator();
$labelList->setFirst();
while ($label = $labelList->getNext()) {
// delete any xlation entry with current language_id &
// matching label_id
if ($xlationManager->loadByLabelAndLanguage($label->getID(), $currentLanguageID)) {
$xlationManager->deleteEntry();
}
}
// next label
}
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:35,代码来源:LabelManager.php
示例20: deleteEntry
/**
* function deleteEntry
* <pre>
* Removes the DB table info.
* </pre>
* @return [void]
*/
function deleteEntry()
{
parent::deleteEntry();
if ($this->isVolumePriceRule() == true) {
// create a record for tracking whether a volume rule is active
$activeRule = new RowManager_ActiveRuleManager($this->getID());
$activeRule->deleteEntry();
}
}
开发者ID:andrewroth,项目名称:c4c_intranet,代码行数:16,代码来源:PriceRuleManager.php
注:本文中的RowManager类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论