Rename class calendar to Calendar
This commit is contained in:
davidcallizaya
2017-08-04 10:13:09 -04:00
parent ddfb4eea63
commit 7e8ad3431d
14 changed files with 1112 additions and 1113 deletions

View File

@@ -467,7 +467,7 @@ class AppDelegation extends BaseAppDelegation
}
//Calendar - Use the dates class to calculate dates
$calendar = new calendar();
$calendar = new Calendar();
$arrayCalendarData = $calendar->getCalendarData($aCalendarUID);
@@ -503,7 +503,7 @@ class AppDelegation extends BaseAppDelegation
$riskTime = $data['TAS_DURATION'] - ($data['TAS_DURATION'] * $risk);
//Calendar - Use the dates class to calculate dates
$calendar = new calendar();
$calendar = new Calendar();
$arrayCalendarData = array();
@@ -537,11 +537,11 @@ class AppDelegation extends BaseAppDelegation
$rs->next();
$row = $rs->getRow();
$i = 0;
$calendar = new calendar();
$calendar = new Calendar();
$now = new DateTime();
while (is_array ($row)) {
$oAppDel = AppDelegationPeer::retrieveByPk( $row['APP_UID'], $row['DEL_INDEX'] );
$calendar = new calendar();
$calendar = new Calendar();
$calendar->getCalendar($row['USR_UID'], $row['PRO_UID'], $row['TAS_UID']);
$calData = $calendar->getCalendarData();
$calculatedValues = $this->getValuesToStoreForCalculateDuration($row, $calendar, $calData, $now);

View File

@@ -447,7 +447,7 @@ class Application extends BaseApplication
@file_put_contents( PATH_DATA . "cron", serialize( $arrayCron ) );
}
$calendar = new calendar();
$calendar = new Calendar();
$c = new Criteria( 'workflow' );
$c->clearSelectColumns();

View File

@@ -425,7 +425,7 @@ class Event extends BaseEvent
try {
$rowsCreated = 0;
$rowsRejected = 0;
$oCalendar = new calendar();
$oCalendar = new Calendar();
//SELECT
// EVENT.PRO_UID,
@@ -550,7 +550,7 @@ class Event extends BaseEvent
try {
$rowsCreated = 0;
$rowsRejected = 0;
$oCalendar = new calendar();
$oCalendar = new Calendar();
// SELECT TASK2.* ,
// EVENT.EVN_UID, EVENT.PRO_UID, EVENT.EVN_TAS_UID_FROM,
// EVENT.EVN_TAS_ESTIMATED_DURATION, EVENT.EVN_WHEN,
@@ -872,7 +872,7 @@ class Event extends BaseEvent
public function toCalculateTime ($aData, $iDate = null)
{
$oCalendar = new calendar();
$oCalendar = new Calendar();
$iDate = isset( $iDate ) ? $iDate : date( 'Y-m-d H:i:s' );

View File

@@ -171,7 +171,7 @@ class UsersProperties extends BaseUsersProperties
}
}
if (PPP_EXPIRATION_IN > 0) {
$oCalendar = new calendar();
$oCalendar = new Calendar();
if ($oCalendar->pmCalendarUid == '') {
$oCalendar->pmCalendarUid = '00000000000000000000000000000001';