本文整理汇总了PHP中RowManager类的典型用法代码示例。如果您正苦于以下问题:PHP RowManager类的具体用法?PHP RowManager怎么用?PHP RowManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了RowManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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);
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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();
}
}
示例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();
}
}
示例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;
}