@@ -50,12 +50,12 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * Load Calendar base class. |
| 52 | 52 | */ |
| 53 | -require_once CALENDAR_ROOT . 'Calendar.php'; |
|
| 53 | +require_once CALENDAR_ROOT.'Calendar.php'; |
|
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | 56 | * Load base month. |
| 57 | 57 | */ |
| 58 | -require_once CALENDAR_ROOT . 'Month.php'; |
|
| 58 | +require_once CALENDAR_ROOT.'Month.php'; |
|
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | 61 | * Represents a Month and builds Weeks |
@@ -116,9 +116,9 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | public function build($sDates = array()) |
| 118 | 118 | { |
| 119 | - require_once CALENDAR_ROOT . 'Table/Helper.php'; |
|
| 119 | + require_once CALENDAR_ROOT.'Table/Helper.php'; |
|
| 120 | 120 | $this->tableHelper = new Calendar_Table_Helper($this, $this->firstDay); |
| 121 | - require_once CALENDAR_ROOT . 'Week.php'; |
|
| 121 | + require_once CALENDAR_ROOT.'Week.php'; |
|
| 122 | 122 | $numWeeks = $this->tableHelper->getNumWeeks(); |
| 123 | 123 | for ($i = 1, $d = 1; $i <= $numWeeks; ++$i, $d += $this->cE->getDaysInWeek($this->thisYear(), $this->thisMonth(), $this->thisDay())) { |
| 124 | 124 | $this->children[$i] = new Calendar_Week($this->year, $this->month, $d, $this->tableHelper->getFirstDay()); |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Load Calendar base class. |
| 51 | 51 | */ |
| 52 | -require_once CALENDAR_ROOT . 'Calendar.php'; |
|
| 52 | +require_once CALENDAR_ROOT.'Calendar.php'; |
|
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * Represents a Year and builds Months<br> |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | */ |
| 104 | 104 | public function build($sDates = array(), $firstDay = null) |
| 105 | 105 | { |
| 106 | - require_once CALENDAR_ROOT . 'Factory.php'; |
|
| 106 | + require_once CALENDAR_ROOT.'Factory.php'; |
|
| 107 | 107 | $this->firstDay = $this->defineFirstDayOfWeek($firstDay); |
| 108 | 108 | $monthsInYear = $this->cE->getMonthsInYear($this->thisYear()); |
| 109 | 109 | for ($i = 1; $i <= $monthsInYear; ++$i) { |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * Load Calendar base class. |
| 52 | 52 | */ |
| 53 | -require_once CALENDAR_ROOT . 'Calendar.php'; |
|
| 53 | +require_once CALENDAR_ROOT.'Calendar.php'; |
|
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | 56 | * Represents a Week and builds Days in tabular format<br> |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | */ |
| 139 | 139 | public function __construct($y, $m, $d, $firstDay = null) |
| 140 | 140 | { |
| 141 | - require_once CALENDAR_ROOT . 'Table/Helper.php'; |
|
| 141 | + require_once CALENDAR_ROOT.'Table/Helper.php'; |
|
| 142 | 142 | parent::__construct($y, $m, $d); |
| 143 | 143 | $this->firstDay = $this->defineFirstDayOfWeek($firstDay); |
| 144 | 144 | $this->tableHelper = new Calendar_Table_Helper($this, $this->firstDay); |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | */ |
| 171 | 171 | public function build($sDates = array()) |
| 172 | 172 | { |
| 173 | - require_once CALENDAR_ROOT . 'Day.php'; |
|
| 173 | + require_once CALENDAR_ROOT.'Day.php'; |
|
| 174 | 174 | $year = $this->cE->stampToYear($this->thisWeek); |
| 175 | 175 | $month = $this->cE->stampToMonth($this->thisWeek); |
| 176 | 176 | $day = $this->cE->stampToDay($this->thisWeek); |
@@ -295,7 +295,7 @@ discard block |
||
| 295 | 295 | case 'array': |
| 296 | 296 | return $this->toArray($this->prevWeek); |
| 297 | 297 | case 'object': |
| 298 | - require_once CALENDAR_ROOT . 'Factory.php'; |
|
| 298 | + require_once CALENDAR_ROOT.'Factory.php'; |
|
| 299 | 299 | |
| 300 | 300 | return Calendar_Factory::createByTimestamp('Week', $this->prevWeek); |
| 301 | 301 | case 'timestamp': |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | case 'array': |
| 330 | 330 | return $this->toArray($this->thisWeek); |
| 331 | 331 | case 'object': |
| 332 | - require_once CALENDAR_ROOT . 'Factory.php'; |
|
| 332 | + require_once CALENDAR_ROOT.'Factory.php'; |
|
| 333 | 333 | |
| 334 | 334 | return Calendar_Factory::createByTimestamp('Week', $this->thisWeek); |
| 335 | 335 | case 'timestamp': |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | case 'array': |
| 357 | 357 | return $this->toArray($this->nextWeek); |
| 358 | 358 | case 'object': |
| 359 | - require_once CALENDAR_ROOT . 'Factory.php'; |
|
| 359 | + require_once CALENDAR_ROOT.'Factory.php'; |
|
| 360 | 360 | |
| 361 | 361 | return Calendar_Factory::createByTimestamp('Week', $this->nextWeek); |
| 362 | 362 | case 'timestamp': |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | 'in' => array('year' => 'int', 'month' => 'int'), |
| 25 | 25 | 'out' => array('month' => '{urn:PEAR_SOAP_Calendar}Month'), |
| 26 | 26 | ); |
| 27 | - $this->__typedef['Month'] = array( |
|
| 27 | + $this->__typedef['Month'] = array( |
|
| 28 | 28 | 'monthname' => 'string', |
| 29 | 29 | 'days' => '{urn:PEAR_SOAP_Calendar}MonthDays', |
| 30 | 30 | ); |
@@ -58,13 +58,13 @@ discard block |
||
| 58 | 58 | */ |
| 59 | 59 | public function getMonth($year, $month) |
| 60 | 60 | { |
| 61 | - require_once CALENDAR_ROOT . 'Month/Weekdays.php'; |
|
| 61 | + require_once CALENDAR_ROOT.'Month/Weekdays.php'; |
|
| 62 | 62 | $Month = new Calendar_Month_Weekdays($year, $month); |
| 63 | 63 | if (!$Month->isValid()) { |
| 64 | 64 | $V = $Month->getValidator(); |
| 65 | 65 | $errorMsg = ''; |
| 66 | 66 | while ($error = $V->fetch()) { |
| 67 | - $errorMsg .= $error->toString() . "\n"; |
|
| 67 | + $errorMsg .= $error->toString()."\n"; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | return new SOAP_Fault($errorMsg, 'Client'); |
@@ -74,10 +74,10 @@ discard block |
||
| 74 | 74 | $Month->build(); |
| 75 | 75 | while ($Day = $Month->fetch()) { |
| 76 | 76 | $day = array( |
| 77 | - 'isFirst' => (int)$Day->isFirst(), |
|
| 78 | - 'isLast' => (int)$Day->isLast(), |
|
| 79 | - 'isEmpty' => (int)$Day->isEmpty(), |
|
| 80 | - 'day' => (int)$Day->thisDay(), |
|
| 77 | + 'isFirst' => (int) $Day->isFirst(), |
|
| 78 | + 'isLast' => (int) $Day->isLast(), |
|
| 79 | + 'isEmpty' => (int) $Day->isEmpty(), |
|
| 80 | + 'day' => (int) $Day->thisDay(), |
|
| 81 | 81 | ); |
| 82 | 82 | $days[] = $day; |
| 83 | 83 | } |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | $basePath = explode('/', $_SERVER['SCRIPT_NAME']); |
| 16 | 16 | array_pop($basePath); |
| 17 | 17 | $basePath = implode('/', $basePath); |
| 18 | -$url = 'http://' . $_SERVER['SERVER_NAME'] . $basePath . '/7.php?wsdl'; |
|
| 18 | +$url = 'http://'.$_SERVER['SERVER_NAME'].$basePath.'/7.php?wsdl'; |
|
| 19 | 19 | |
| 20 | 20 | if (!isset($_GET['y'])) { |
| 21 | 21 | $_GET['y'] = date('Y'); |
@@ -26,11 +26,11 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | $wsdl = new SOAP_WSDL($url); |
| 28 | 28 | |
| 29 | -echo '<pre>' . $wsdl->generateProxyCode() . '</pre>'; |
|
| 29 | +echo '<pre>'.$wsdl->generateProxyCode().'</pre>'; |
|
| 30 | 30 | |
| 31 | 31 | $calendarClient = $wsdl->getProxy(); |
| 32 | 32 | |
| 33 | -$month = $calendarClient->getMonth((int)$_GET['y'], (int)$_GET['m']); |
|
| 33 | +$month = $calendarClient->getMonth((int) $_GET['y'], (int) $_GET['m']); |
|
| 34 | 34 | |
| 35 | 35 | if (PEAR::isError($month)) { |
| 36 | 36 | die($month->toString()); |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | if ($day->isEmpty === 1) { |
| 63 | 63 | echo '<td></td>'; |
| 64 | 64 | } else { |
| 65 | - echo '<td>' . $day->day . '</td>'; |
|
| 65 | + echo '<td>'.$day->day.'</td>'; |
|
| 66 | 66 | } |
| 67 | 67 | if ($day->isLast === 1) { |
| 68 | 68 | echo "</tr>\n"; |
@@ -6,9 +6,9 @@ discard block |
||
| 6 | 6 | if (!@include 'Calendar/Calendar.php') { |
| 7 | 7 | define('CALENDAR_ROOT', '../../'); |
| 8 | 8 | } |
| 9 | -require_once CALENDAR_ROOT . 'Day.php'; |
|
| 10 | -require_once CALENDAR_ROOT . 'Month/Weekdays.php'; |
|
| 11 | -require_once CALENDAR_ROOT . 'Decorator/Textual.php'; |
|
| 9 | +require_once CALENDAR_ROOT.'Day.php'; |
|
| 10 | +require_once CALENDAR_ROOT.'Month/Weekdays.php'; |
|
| 11 | +require_once CALENDAR_ROOT.'Decorator/Textual.php'; |
|
| 12 | 12 | |
| 13 | 13 | // Could change language like this |
| 14 | 14 | // setlocale (LC_TIME, "de_DE"); // Unix based (probably) |
@@ -28,12 +28,12 @@ discard block |
||
| 28 | 28 | // Decorate |
| 29 | 29 | $Textual = new Calendar_Decorator_Textual($Calendar); |
| 30 | 30 | |
| 31 | -echo '<hr>Previous month is: ' . $Textual->prevMonthName('two') . '<br>'; |
|
| 32 | -echo 'This month is: ' . $Textual->thisMonthName('short') . '<br>'; |
|
| 33 | -echo 'Next month is: ' . $Textual->nextMonthName() . '<br><hr>'; |
|
| 34 | -echo 'Previous day is: ' . $Textual->prevDayName() . '<br>'; |
|
| 35 | -echo 'This day is: ' . $Textual->thisDayName('short') . '<br>'; |
|
| 36 | -echo 'Next day is: ' . $Textual->nextDayName('one') . '<br><hr>'; |
|
| 31 | +echo '<hr>Previous month is: '.$Textual->prevMonthName('two').'<br>'; |
|
| 32 | +echo 'This month is: '.$Textual->thisMonthName('short').'<br>'; |
|
| 33 | +echo 'Next month is: '.$Textual->nextMonthName().'<br><hr>'; |
|
| 34 | +echo 'Previous day is: '.$Textual->prevDayName().'<br>'; |
|
| 35 | +echo 'This day is: '.$Textual->thisDayName('short').'<br>'; |
|
| 36 | +echo 'Next day is: '.$Textual->nextDayName('one').'<br><hr>'; |
|
| 37 | 37 | |
| 38 | 38 | echo "Creating: new Calendar_Month_Weekdays(date('Y'), date('n'), 6); - Saturday is first day of week<br>"; |
| 39 | 39 | $Calendar = new Calendar_Month_Weekdays(date('Y'), date('n'), 6); |
@@ -43,12 +43,12 @@ discard block |
||
| 43 | 43 | ?> |
| 44 | 44 | <p>Rendering calendar....</p> |
| 45 | 45 | <table> |
| 46 | - <caption><?php echo $Textual->thisMonthName() . ' ' . $Textual->thisYear(); ?></caption> |
|
| 46 | + <caption><?php echo $Textual->thisMonthName().' '.$Textual->thisYear(); ?></caption> |
|
| 47 | 47 | <tr> |
| 48 | 48 | <?php |
| 49 | 49 | $dayheaders = $Textual->orderedWeekdays('short'); |
| 50 | 50 | foreach ($dayheaders as $dayheader) { |
| 51 | - echo '<th>' . $dayheader . '</th>'; |
|
| 51 | + echo '<th>'.$dayheader.'</th>'; |
|
| 52 | 52 | } |
| 53 | 53 | ?> |
| 54 | 54 | </tr> |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | if ($Day->isEmpty()) { |
| 62 | 62 | echo '<td> </td>'; |
| 63 | 63 | } else { |
| 64 | - echo '<td>' . $Day->thisDay() . '</td>'; |
|
| 64 | + echo '<td>'.$Day->thisDay().'</td>'; |
|
| 65 | 65 | } |
| 66 | 66 | if ($Day->isLast()) { |
| 67 | 67 | echo "</tr>\n"; |
@@ -6,9 +6,9 @@ discard block |
||
| 6 | 6 | if (!@include 'Calendar/Calendar.php') { |
| 7 | 7 | define('CALENDAR_ROOT', '../../'); |
| 8 | 8 | } |
| 9 | -require_once CALENDAR_ROOT . 'Day.php'; |
|
| 10 | -require_once CALENDAR_ROOT . 'Month/Weekdays.php'; |
|
| 11 | -require_once CALENDAR_ROOT . 'Util/Textual.php'; |
|
| 9 | +require_once CALENDAR_ROOT.'Day.php'; |
|
| 10 | +require_once CALENDAR_ROOT.'Month/Weekdays.php'; |
|
| 11 | +require_once CALENDAR_ROOT.'Util/Textual.php'; |
|
| 12 | 12 | |
| 13 | 13 | // Could change language like this |
| 14 | 14 | // setlocale (LC_TIME, "de_DE"); // Unix based (probably) |
@@ -25,12 +25,12 @@ discard block |
||
| 25 | 25 | echo "<hr>Creating: new Calendar_Day(date('Y'), date('n'), date('d'));<br>"; |
| 26 | 26 | $Calendar = new Calendar_Day(date('Y'), date('n'), date('d')); |
| 27 | 27 | |
| 28 | -echo '<hr>Previous month is: ' . Calendar_Util_Textual::prevMonthName($Calendar, 'two') . '<br>'; |
|
| 29 | -echo 'This month is: ' . Calendar_Util_Textual::thisMonthName($Calendar, 'short') . '<br>'; |
|
| 30 | -echo 'Next month is: ' . Calendar_Util_Textual::nextMonthName($Calendar) . '<br><hr>'; |
|
| 31 | -echo 'Previous day is: ' . Calendar_Util_Textual::prevDayName($Calendar) . '<br>'; |
|
| 32 | -echo 'This day is: ' . Calendar_Util_Textual::thisDayName($Calendar, 'short') . '<br>'; |
|
| 33 | -echo 'Next day is: ' . Calendar_Util_Textual::nextDayName($Calendar, 'one') . '<br><hr>'; |
|
| 28 | +echo '<hr>Previous month is: '.Calendar_Util_Textual::prevMonthName($Calendar, 'two').'<br>'; |
|
| 29 | +echo 'This month is: '.Calendar_Util_Textual::thisMonthName($Calendar, 'short').'<br>'; |
|
| 30 | +echo 'Next month is: '.Calendar_Util_Textual::nextMonthName($Calendar).'<br><hr>'; |
|
| 31 | +echo 'Previous day is: '.Calendar_Util_Textual::prevDayName($Calendar).'<br>'; |
|
| 32 | +echo 'This day is: '.Calendar_Util_Textual::thisDayName($Calendar, 'short').'<br>'; |
|
| 33 | +echo 'Next day is: '.Calendar_Util_Textual::nextDayName($Calendar, 'one').'<br><hr>'; |
|
| 34 | 34 | |
| 35 | 35 | echo "Creating: new Calendar_Month_Weekdays(date('Y'), date('n'), 6); - Saturday is first day of week<br>"; |
| 36 | 36 | $Calendar = new Calendar_Month_Weekdays(date('Y'), date('n'), 6); |
@@ -38,12 +38,12 @@ discard block |
||
| 38 | 38 | ?> |
| 39 | 39 | <p>Rendering calendar....</p> |
| 40 | 40 | <table> |
| 41 | - <caption><?php echo Calendar_Util_Textual::thisMonthName($Calendar) . ' ' . $Calendar->thisYear(); ?></caption> |
|
| 41 | + <caption><?php echo Calendar_Util_Textual::thisMonthName($Calendar).' '.$Calendar->thisYear(); ?></caption> |
|
| 42 | 42 | <tr> |
| 43 | 43 | <?php |
| 44 | 44 | $dayheaders = Calendar_Util_Textual::orderedWeekdays($Calendar, 'short'); |
| 45 | 45 | foreach ($dayheaders as $dayheader) { |
| 46 | - echo '<th>' . $dayheader . '</th>'; |
|
| 46 | + echo '<th>'.$dayheader.'</th>'; |
|
| 47 | 47 | } |
| 48 | 48 | ?> |
| 49 | 49 | </tr> |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | if ($Day->isEmpty()) { |
| 57 | 57 | echo '<td> </td>'; |
| 58 | 58 | } else { |
| 59 | - echo '<td>' . $Day->thisDay() . '</td>'; |
|
| 59 | + echo '<td>'.$Day->thisDay().'</td>'; |
|
| 60 | 60 | } |
| 61 | 61 | if ($Day->isLast()) { |
| 62 | 62 | echo "</tr>\n"; |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
| 21 | 21 | |
| 22 | -require_once __DIR__ . '/ExtcalPersistableObjectHandler.php'; |
|
| 23 | -require_once XOOPS_ROOT_PATH . '/class/uploader.php'; |
|
| 22 | +require_once __DIR__.'/ExtcalPersistableObjectHandler.php'; |
|
| 23 | +require_once XOOPS_ROOT_PATH.'/class/uploader.php'; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * Class ExtcalFile. |
@@ -68,13 +68,13 @@ discard block |
||
| 68 | 68 | $userId = $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getVar('uid') : 0; |
| 69 | 69 | |
| 70 | 70 | $allowedMimeType = array(); |
| 71 | - $mimeType = include XOOPS_ROOT_PATH . '/include/mimetypes.inc.php'; |
|
| 71 | + $mimeType = include XOOPS_ROOT_PATH.'/include/mimetypes.inc.php'; |
|
| 72 | 72 | foreach ($GLOBALS['xoopsModuleConfig']['allowed_file_extention'] as $fileExt) { |
| 73 | 73 | $allowedMimeType[] = $mimeType[$fileExt]; |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - $uploader = new XoopsMediaUploader(XOOPS_ROOT_PATH . '/uploads/extcal', $allowedMimeType, 3145728); |
|
| 77 | - $uploader->setPrefix($userId . '-' . $eventId . '_'); |
|
| 76 | + $uploader = new XoopsMediaUploader(XOOPS_ROOT_PATH.'/uploads/extcal', $allowedMimeType, 3145728); |
|
| 77 | + $uploader->setPrefix($userId.'-'.$eventId.'_'); |
|
| 78 | 78 | if ($uploader->fetchMedia('event_file')) { |
| 79 | 79 | if (!$uploader->upload()) { |
| 80 | 80 | return false; |
@@ -135,14 +135,14 @@ discard block |
||
| 135 | 135 | if (isset($_POST['filetokeep'])) { |
| 136 | 136 | if (is_array($_POST['filetokeep'])) { |
| 137 | 137 | $count = count($_POST['filetokeep']); |
| 138 | - $in = '(' . $_POST['filetokeep'][0]; |
|
| 138 | + $in = '('.$_POST['filetokeep'][0]; |
|
| 139 | 139 | array_shift($_POST['filetokeep']); |
| 140 | 140 | foreach ($_POST['filetokeep'] as $elmt) { |
| 141 | - $in .= ',' . $elmt; |
|
| 141 | + $in .= ','.$elmt; |
|
| 142 | 142 | } |
| 143 | 143 | $in .= ')'; |
| 144 | 144 | } else { |
| 145 | - $in = '(' . $_POST['filetokeep'] . ')'; |
|
| 145 | + $in = '('.$_POST['filetokeep'].')'; |
|
| 146 | 146 | } |
| 147 | 147 | $criteria->add(new Criteria('file_id', $in, 'NOT IN')); |
| 148 | 148 | } |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | public function formatFileSize(&$file) |
| 180 | 180 | { |
| 181 | 181 | if ($file['file_size'] > 1000) { |
| 182 | - $file['formated_file_size'] = round($file['file_size'] / 1000) . 'kb'; |
|
| 182 | + $file['formated_file_size'] = round($file['file_size'] / 1000).'kb'; |
|
| 183 | 183 | } else { |
| 184 | 184 | $file['formated_file_size'] = '1kb'; |
| 185 | 185 | } |
@@ -190,8 +190,8 @@ discard block |
||
| 190 | 190 | */ |
| 191 | 191 | public function _deleteFile(&$file) |
| 192 | 192 | { |
| 193 | - if (file_exists(XOOPS_ROOT_PATH . '/uploads/extcal/' . $file->getVar('file_name'))) { |
|
| 194 | - unlink(XOOPS_ROOT_PATH . '/uploads/extcal/' . $file->getVar('file_name')); |
|
| 193 | + if (file_exists(XOOPS_ROOT_PATH.'/uploads/extcal/'.$file->getVar('file_name'))) { |
|
| 194 | + unlink(XOOPS_ROOT_PATH.'/uploads/extcal/'.$file->getVar('file_name')); |
|
| 195 | 195 | } |
| 196 | 196 | } |
| 197 | 197 | } |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
| 21 | 21 | |
| 22 | -require_once __DIR__ . '/ExtcalPersistableObjectHandler.php'; |
|
| 22 | +require_once __DIR__.'/ExtcalPersistableObjectHandler.php'; |
|
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Class ExtcalEventmember. |
@@ -85,12 +85,12 @@ discard block |
||
| 85 | 85 | $eventMember = $this->getObjects(new Criteria('event_id', $eventId)); |
| 86 | 86 | $count = count($eventMember); |
| 87 | 87 | if ($count > 0) { |
| 88 | - $in = '(' . $eventMember[0]->getVar('uid'); |
|
| 88 | + $in = '('.$eventMember[0]->getVar('uid'); |
|
| 89 | 89 | array_shift($eventMember); |
| 90 | 90 | foreach ($eventMember as $member) { |
| 91 | - $in .= ',' . $member->getVar('uid'); |
|
| 91 | + $in .= ','.$member->getVar('uid'); |
|
| 92 | 92 | } |
| 93 | - $in .= ')'; |
|
| 93 | + $in .= ')'; |
|
| 94 | 94 | $criteria = new Criteria('uid', $in, 'IN'); |
| 95 | 95 | } else { |
| 96 | 96 | $criteria = new Criteria('uid', '(0)', 'IN'); |