@@ -20,12 +20,12 @@ discard block |
||
20 | 20 | // defined('XOOPS_ROOT_PATH') || exit('Restricted access.'); |
21 | 21 | |
22 | 22 | // require_once __DIR__ . '/ExtcalPersistableObjectHandler.php'; |
23 | -require_once __DIR__ . '/perm.php'; |
|
24 | -require_once __DIR__ . '/time.php'; |
|
25 | -require_once __DIR__ . '/config.php'; |
|
26 | -require_once __DIR__ . '/extDateTime.php'; |
|
27 | -require_once __DIR__ . '/utility.php'; |
|
28 | -require_once __DIR__ . '/../include/constantes.php'; |
|
23 | +require_once __DIR__.'/perm.php'; |
|
24 | +require_once __DIR__.'/time.php'; |
|
25 | +require_once __DIR__.'/config.php'; |
|
26 | +require_once __DIR__.'/extDateTime.php'; |
|
27 | +require_once __DIR__.'/utility.php'; |
|
28 | +require_once __DIR__.'/../include/constantes.php'; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Class Event. |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | $this->initVar('event_etablissement', XOBJ_DTYPE_INT, 5, false); |
67 | 67 | $this->initVar('event_icone', XOBJ_DTYPE_TXTBOX, '', false); |
68 | 68 | |
69 | - $this->externalKey['cat_id'] = [ |
|
69 | + $this->externalKey['cat_id'] = [ |
|
70 | 70 | 'className' => 'Category', |
71 | 71 | 'getMethodeName' => 'getCat', |
72 | 72 | 'keyName' => 'cat', |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | throw new \RuntimeException(sprintf('Unable to create the %s directory', $folder)); |
33 | 33 | } |
34 | 34 | |
35 | - file_put_contents($folder . '/index.html', '<script>history.go(-1);</script>'); |
|
35 | + file_put_contents($folder.'/index.html', '<script>history.go(-1);</script>'); |
|
36 | 36 | } |
37 | 37 | } |
38 | 38 | catch (Exception $e) { |
@@ -61,10 +61,10 @@ discard block |
||
61 | 61 | if (!mkdir($dst) && !is_dir($dst)) { |
62 | 62 | while (false !== ($file = readdir($dir))) { |
63 | 63 | if (('.' !== $file) && ('..' !== $file)) { |
64 | - if (is_dir($src . '/' . $file)) { |
|
65 | - self::recurseCopy($src . '/' . $file, $dst . '/' . $file); |
|
64 | + if (is_dir($src.'/'.$file)) { |
|
65 | + self::recurseCopy($src.'/'.$file, $dst.'/'.$file); |
|
66 | 66 | } else { |
67 | - copy($src . '/' . $file, $dst . '/' . $file); |
|
67 | + copy($src.'/'.$file, $dst.'/'.$file); |
|
68 | 68 | } |
69 | 69 | } |
70 | 70 | } |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | self::rrmdir($fObj->getPathname()); |
160 | 160 | } |
161 | 161 | } |
162 | - $iterator = null; // clear iterator Obj to close file/directory |
|
162 | + $iterator = null; // clear iterator Obj to close file/directory |
|
163 | 163 | return rmdir($src); // remove the directory & return results |
164 | 164 | } |
165 | 165 | |
@@ -192,14 +192,14 @@ discard block |
||
192 | 192 | $iterator = new DirectoryIterator($src); |
193 | 193 | foreach ($iterator as $fObj) { |
194 | 194 | if ($fObj->isFile()) { |
195 | - rename($fObj->getPathname(), "{$dest}/" . $fObj->getFilename()); |
|
195 | + rename($fObj->getPathname(), "{$dest}/".$fObj->getFilename()); |
|
196 | 196 | } elseif (!$fObj->isDot() && $fObj->isDir()) { |
197 | 197 | // Try recursively on directory |
198 | - self::rmove($fObj->getPathname(), "{$dest}/" . $fObj->getFilename()); |
|
198 | + self::rmove($fObj->getPathname(), "{$dest}/".$fObj->getFilename()); |
|
199 | 199 | // rmdir($fObj->getPath()); // now delete the directory |
200 | 200 | } |
201 | 201 | } |
202 | - $iterator = null; // clear iterator Obj to close file/directory |
|
202 | + $iterator = null; // clear iterator Obj to close file/directory |
|
203 | 203 | return rmdir($src); // remove the directory & return results |
204 | 204 | } |
205 | 205 | |
@@ -235,9 +235,9 @@ discard block |
||
235 | 235 | $iterator = new DirectoryIterator($src); |
236 | 236 | foreach ($iterator as $fObj) { |
237 | 237 | if ($fObj->isFile()) { |
238 | - copy($fObj->getPathname(), "{$dest}/" . $fObj->getFilename()); |
|
238 | + copy($fObj->getPathname(), "{$dest}/".$fObj->getFilename()); |
|
239 | 239 | } elseif (!$fObj->isDot() && $fObj->isDir()) { |
240 | - self::rcopy($fObj->getPathname(), "{$dest}/" . $fObj->getFilename()); |
|
240 | + self::rcopy($fObj->getPathname(), "{$dest}/".$fObj->getFilename()); |
|
241 | 241 | } |
242 | 242 | } |
243 | 243 | return true; |
@@ -37,13 +37,13 @@ discard block |
||
37 | 37 | //check for minimum XOOPS version |
38 | 38 | $currentVer = substr(XOOPS_VERSION, 6); // get the numeric part of string |
39 | 39 | if (null === $requiredVer) { |
40 | - $requiredVer = '' . $module->getInfo('min_xoops'); //making sure it's a string |
|
40 | + $requiredVer = ''.$module->getInfo('min_xoops'); //making sure it's a string |
|
41 | 41 | } |
42 | - $success = true; |
|
42 | + $success = true; |
|
43 | 43 | |
44 | - if (version_compare($currentVer, $requiredVer, '<')){ |
|
45 | - $success = false; |
|
46 | - $module->setErrors(sprintf(constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_XOOPS'), $requiredVer, $currentVer)); |
|
44 | + if (version_compare($currentVer, $requiredVer, '<')) { |
|
45 | + $success = false; |
|
46 | + $module->setErrors(sprintf(constant('CO_'.$moduleDirNameUpper.'_ERROR_BAD_XOOPS'), $requiredVer, $currentVer)); |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | return $success; |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | $reqVer = $module->getInfo('min_php'); |
67 | 67 | if (false !== $reqVer && '' !== $reqVer) { |
68 | 68 | if (version_compare($verNum, $reqVer, '<')) { |
69 | - $module->setErrors(sprintf(constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_PHP'), $reqVer, $verNum)); |
|
69 | + $module->setErrors(sprintf(constant('CO_'.$moduleDirNameUpper.'_ERROR_BAD_PHP'), $reqVer, $verNum)); |
|
70 | 70 | $success = false; |
71 | 71 | } |
72 | 72 | } |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | * |
20 | 20 | */ |
21 | 21 | |
22 | -require_once __DIR__ . '/../../include/common.php'; |
|
22 | +require_once __DIR__.'/../../include/common.php'; |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * Class Configurator |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | $moduleDirName = basename(dirname(__DIR__)); |
45 | 45 | $capsDirName = strtoupper($moduleDirName); |
46 | 46 | |
47 | - $config = include __DIR__ . '/../../include/config.php'; |
|
47 | + $config = include __DIR__.'/../../include/config.php'; |
|
48 | 48 | |
49 | 49 | $this->name = $config->name; |
50 | 50 | $this->paths = $config->paths; |
@@ -34,19 +34,19 @@ discard block |
||
34 | 34 | // $sql .= " WHERE metakey='version' LIMIT 1"; |
35 | 35 | // $query = $GLOBALS['xoopsDB']->query($sql); |
36 | 36 | // list($meta) = $GLOBALS['xoopsDB']->fetchRow($query); |
37 | - $html .= "<fieldset><legend style='font-weight: bold; color: #900;'>" . constant('CO_' . $moduleDirNameUpper . '_IMAGEINFO') . "</legend>\n"; |
|
37 | + $html .= "<fieldset><legend style='font-weight: bold; color: #900;'>".constant('CO_'.$moduleDirNameUpper.'_IMAGEINFO')."</legend>\n"; |
|
38 | 38 | $html .= "<div style='padding: 8px;'>\n"; |
39 | 39 | // $html .= '<div>' . constant('CO_' . $moduleDirNameUpper . '_METAVERSION') . $meta . "</div>\n"; |
40 | 40 | // $html .= "<br>\n"; |
41 | 41 | // $html .= "<br>\n"; |
42 | - $html .= '<div>' . constant('CO_' . $moduleDirNameUpper . '_SPHPINI') . "</div>\n"; |
|
42 | + $html .= '<div>'.constant('CO_'.$moduleDirNameUpper.'_SPHPINI')."</div>\n"; |
|
43 | 43 | $html .= "<ul>\n"; |
44 | 44 | // |
45 | - $gdlib = function_exists('gd_info') ? '<span style="color: green;">' . constant('CO_' . $moduleDirNameUpper . '_GDON') . '</span>' : '<span style="color: red;">' . constant('CO_' . $moduleDirNameUpper . '_GDOFF') . '</span>'; |
|
46 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_GDLIBSTATUS') . $gdlib; |
|
45 | + $gdlib = function_exists('gd_info') ? '<span style="color: green;">'.constant('CO_'.$moduleDirNameUpper.'_GDON').'</span>' : '<span style="color: red;">'.constant('CO_'.$moduleDirNameUpper.'_GDOFF').'</span>'; |
|
46 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_GDLIBSTATUS').$gdlib; |
|
47 | 47 | if (function_exists('gd_info')) { |
48 | 48 | if ($gdlib = true === gd_info()) { |
49 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_GDLIBVERSION') . '<b>' . $gdlib['GD Version'] . '</b>'; |
|
49 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_GDLIBVERSION').'<b>'.$gdlib['GD Version'].'</b>'; |
|
50 | 50 | } |
51 | 51 | } |
52 | 52 | // |
@@ -56,18 +56,18 @@ discard block |
||
56 | 56 | // $registerglobals = (!ini_get('register_globals')) ? "<span style=\"color: green;\">" . constant('CO_' . $moduleDirNameUpper . '_OFF') . '</span>' : "<span style=\"color: red;\">" . constant('CO_' . $moduleDirNameUpper . '_ON') . '</span>'; |
57 | 57 | // $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_REGISTERGLOBALS . $registerglobals; |
58 | 58 | // |
59 | - $downloads = ini_get('file_uploads') ? '<span style="color: green;">' . constant('CO_' . $moduleDirNameUpper . '_ON') . '</span>' : '<span style="color: red;">' . constant('CO_' . $moduleDirNameUpper . '_OFF') . '</span>'; |
|
60 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_SERVERUPLOADSTATUS') . $downloads; |
|
59 | + $downloads = ini_get('file_uploads') ? '<span style="color: green;">'.constant('CO_'.$moduleDirNameUpper.'_ON').'</span>' : '<span style="color: red;">'.constant('CO_'.$moduleDirNameUpper.'_OFF').'</span>'; |
|
60 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_SERVERUPLOADSTATUS').$downloads; |
|
61 | 61 | // |
62 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MAXUPLOADSIZE') . ' <b><span style="color: blue;">' . ini_get('upload_max_filesize') . "</span></b>\n"; |
|
63 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MAXPOSTSIZE') . ' <b><span style="color: blue;">' . ini_get('post_max_size') . "</span></b>\n"; |
|
64 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_MEMORYLIMIT') . ' <b><span style="color: blue;">' . ini_get('memory_limit') . "</span></b>\n"; |
|
62 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_MAXUPLOADSIZE').' <b><span style="color: blue;">'.ini_get('upload_max_filesize')."</span></b>\n"; |
|
63 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_MAXPOSTSIZE').' <b><span style="color: blue;">'.ini_get('post_max_size')."</span></b>\n"; |
|
64 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_MEMORYLIMIT').' <b><span style="color: blue;">'.ini_get('memory_limit')."</span></b>\n"; |
|
65 | 65 | $html .= "</ul>\n"; |
66 | 66 | $html .= "<ul>\n"; |
67 | - $html .= '<li>' . constant('CO_' . $moduleDirNameUpper . '_SERVERPATH') . ' <b>' . XOOPS_ROOT_PATH . "</b>\n"; |
|
67 | + $html .= '<li>'.constant('CO_'.$moduleDirNameUpper.'_SERVERPATH').' <b>'.XOOPS_ROOT_PATH."</b>\n"; |
|
68 | 68 | $html .= "</ul>\n"; |
69 | 69 | $html .= "<br>\n"; |
70 | - $html .= constant('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC') . "\n"; |
|
70 | + $html .= constant('CO_'.$moduleDirNameUpper.'_UPLOADPATHDSC')."\n"; |
|
71 | 71 | $html .= '</div>'; |
72 | 72 | $html .= '</fieldset><br>'; |
73 | 73 |
@@ -63,13 +63,13 @@ |
||
63 | 63 | { |
64 | 64 | if (!isset($GLOBALS['xoTheme']) || !is_object($GLOBALS['xoTheme'])) { |
65 | 65 | require_once $GLOBALS['xoops']->path('class/theme.php'); |
66 | - $GLOBALS['xoTheme'] = new \Xos_opal_Theme(); |
|
66 | + $GLOBALS['xoTheme'] = new \Xos_opal_Theme(); |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | require_once $GLOBALS['xoops']->path('class/template.php'); |
70 | 70 | $breadcrumbTpl = new \XoopsTpl(); |
71 | 71 | $breadcrumbTpl->assign('breadcrumb', $this->bread); |
72 | - $html = $breadcrumbTpl->fetch('db:' . $this->dirname . '_common_breadcrumb.tpl'); |
|
72 | + $html = $breadcrumbTpl->fetch('db:'.$this->dirname.'_common_breadcrumb.tpl'); |
|
73 | 73 | unset($breadcrumbTpl); |
74 | 74 | |
75 | 75 | return $html; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | // defined('XOOPS_ROOT_PATH') || exit('Restricted access.'); |
21 | 21 | |
22 | 22 | // // require_once __DIR__ . '/ExtcalPersistableObjectHandler.php'; |
23 | -require_once XOOPS_ROOT_PATH . '/class/uploader.php'; |
|
23 | +require_once XOOPS_ROOT_PATH.'/class/uploader.php'; |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Class FileHandler. |
@@ -45,13 +45,13 @@ discard block |
||
45 | 45 | $userId = $GLOBALS['xoopsUser'] ? $GLOBALS['xoopsUser']->getVar('uid') : 0; |
46 | 46 | |
47 | 47 | $allowedMimeType = []; |
48 | - $mimeType = include XOOPS_ROOT_PATH . '/include/mimetypes.inc.php'; |
|
48 | + $mimeType = include XOOPS_ROOT_PATH.'/include/mimetypes.inc.php'; |
|
49 | 49 | foreach ($GLOBALS['xoopsModuleConfig']['allowed_file_extention'] as $fileExt) { |
50 | 50 | $allowedMimeType[] = $mimeType[$fileExt]; |
51 | 51 | } |
52 | 52 | |
53 | - $uploader = new \XoopsMediaUploader(XOOPS_ROOT_PATH . '/uploads/extcal', $allowedMimeType, 3145728); |
|
54 | - $uploader->setPrefix($userId . '-' . $eventId . '_'); |
|
53 | + $uploader = new \XoopsMediaUploader(XOOPS_ROOT_PATH.'/uploads/extcal', $allowedMimeType, 3145728); |
|
54 | + $uploader->setPrefix($userId.'-'.$eventId.'_'); |
|
55 | 55 | if ($uploader->fetchMedia('event_file')) { |
56 | 56 | if (!$uploader->upload()) { |
57 | 57 | return false; |
@@ -93,9 +93,9 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public function getEventFiles($eventId) |
95 | 95 | { |
96 | - $criteria = new \CriteriaCompo(); |
|
97 | - $criteria->add( new \Criteria('file_approved', 1)); |
|
98 | - $criteria->add( new \Criteria('event_id', $eventId)); |
|
96 | + $criteria = new \CriteriaCompo(); |
|
97 | + $criteria->add(new \Criteria('file_approved', 1)); |
|
98 | + $criteria->add(new \Criteria('event_id', $eventId)); |
|
99 | 99 | |
100 | 100 | return $this->getObjects($criteria); |
101 | 101 | } |
@@ -105,23 +105,23 @@ discard block |
||
105 | 105 | */ |
106 | 106 | public function updateEventFile($eventId) |
107 | 107 | { |
108 | - $criteria = new \CriteriaCompo(); |
|
109 | - $criteria->add( new \Criteria('file_approved', 1)); |
|
110 | - $criteria->add( new \Criteria('event_id', $eventId)); |
|
108 | + $criteria = new \CriteriaCompo(); |
|
109 | + $criteria->add(new \Criteria('file_approved', 1)); |
|
110 | + $criteria->add(new \Criteria('event_id', $eventId)); |
|
111 | 111 | |
112 | 112 | if (isset($_POST['filetokeep'])) { |
113 | 113 | if (is_array($_POST['filetokeep'])) { |
114 | 114 | $count = count($_POST['filetokeep']); |
115 | - $in = '(' . $_POST['filetokeep'][0]; |
|
115 | + $in = '('.$_POST['filetokeep'][0]; |
|
116 | 116 | array_shift($_POST['filetokeep']); |
117 | 117 | foreach ($_POST['filetokeep'] as $elmt) { |
118 | - $in .= ',' . $elmt; |
|
118 | + $in .= ','.$elmt; |
|
119 | 119 | } |
120 | 120 | $in .= ')'; |
121 | 121 | } else { |
122 | - $in = '(' . $_POST['filetokeep'] . ')'; |
|
122 | + $in = '('.$_POST['filetokeep'].')'; |
|
123 | 123 | } |
124 | - $criteria->add( new \Criteria('file_id', $in, 'NOT IN')); |
|
124 | + $criteria->add(new \Criteria('file_id', $in, 'NOT IN')); |
|
125 | 125 | } |
126 | 126 | |
127 | 127 | $files = $this->getObjects($criteria); |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | public function formatFileSize(&$file) |
157 | 157 | { |
158 | 158 | if ($file['file_size'] > 1000) { |
159 | - $file['formated_file_size'] = round($file['file_size'] / 1000) . 'kb'; |
|
159 | + $file['formated_file_size'] = round($file['file_size'] / 1000).'kb'; |
|
160 | 160 | } else { |
161 | 161 | $file['formated_file_size'] = '1kb'; |
162 | 162 | } |
@@ -167,8 +167,8 @@ discard block |
||
167 | 167 | */ |
168 | 168 | public function _deleteFile(&$file) |
169 | 169 | { |
170 | - if (file_exists(XOOPS_ROOT_PATH . '/uploads/extcal/' . $file->getVar('file_name'))) { |
|
171 | - unlink(XOOPS_ROOT_PATH . '/uploads/extcal/' . $file->getVar('file_name')); |
|
170 | + if (file_exists(XOOPS_ROOT_PATH.'/uploads/extcal/'.$file->getVar('file_name'))) { |
|
171 | + unlink(XOOPS_ROOT_PATH.'/uploads/extcal/'.$file->getVar('file_name')); |
|
172 | 172 | } |
173 | 173 | } |
174 | 174 | } |
@@ -68,18 +68,18 @@ discard block |
||
68 | 68 | public function getMembers($eventId) |
69 | 69 | { |
70 | 70 | $memberHandler = xoops_getHandler('member'); |
71 | - $eventMember = $this->getObjects( new \Criteria('event_id', $eventId)); |
|
71 | + $eventMember = $this->getObjects(new \Criteria('event_id', $eventId)); |
|
72 | 72 | $count = count($eventMember); |
73 | 73 | if ($count > 0) { |
74 | - $in = '(' . $eventMember[0]->getVar('uid'); |
|
74 | + $in = '('.$eventMember[0]->getVar('uid'); |
|
75 | 75 | array_shift($eventMember); |
76 | 76 | foreach ($eventMember as $member) { |
77 | - $in .= ',' . $member->getVar('uid'); |
|
77 | + $in .= ','.$member->getVar('uid'); |
|
78 | 78 | } |
79 | - $in .= ')'; |
|
80 | - $criteria = new \Criteria('uid', $in, 'IN'); |
|
79 | + $in .= ')'; |
|
80 | + $criteria = new \Criteria('uid', $in, 'IN'); |
|
81 | 81 | } else { |
82 | - $criteria = new \Criteria('uid', '(0)', 'IN'); |
|
82 | + $criteria = new \Criteria('uid', '(0)', 'IN'); |
|
83 | 83 | } |
84 | 84 | |
85 | 85 | return $memberHandler->getUsers($criteria, true); |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | */ |
93 | 93 | public function getNbMember($eventId) |
94 | 94 | { |
95 | - $criteria = new \Criteria('event_id', $eventId); |
|
95 | + $criteria = new \Criteria('event_id', $eventId); |
|
96 | 96 | |
97 | 97 | return $this->getCount($criteria); |
98 | 98 | } |
@@ -69,18 +69,18 @@ discard block |
||
69 | 69 | public function getMembers($eventId) |
70 | 70 | { |
71 | 71 | $memberHandler = xoops_getHandler('member'); |
72 | - $eventNotMember = $this->getObjects( new \Criteria('event_id', $eventId)); |
|
72 | + $eventNotMember = $this->getObjects(new \Criteria('event_id', $eventId)); |
|
73 | 73 | $count = count($eventNotMember); |
74 | 74 | if ($count > 0) { |
75 | - $in = '(' . $eventNotMember[0]->getVar('uid'); |
|
75 | + $in = '('.$eventNotMember[0]->getVar('uid'); |
|
76 | 76 | array_shift($eventNotMember); |
77 | 77 | foreach ($eventNotMember as $member) { |
78 | - $in .= ',' . $member->getVar('uid'); |
|
78 | + $in .= ','.$member->getVar('uid'); |
|
79 | 79 | } |
80 | - $in .= ')'; |
|
81 | - $criteria = new \Criteria('uid', $in, 'IN'); |
|
80 | + $in .= ')'; |
|
81 | + $criteria = new \Criteria('uid', $in, 'IN'); |
|
82 | 82 | } else { |
83 | - $criteria = new \Criteria('uid', '(0)', 'IN'); |
|
83 | + $criteria = new \Criteria('uid', '(0)', 'IN'); |
|
84 | 84 | } |
85 | 85 | |
86 | 86 | return $memberHandler->getUsers($criteria, true); |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | */ |
94 | 94 | public function getNbMember($eventId) |
95 | 95 | { |
96 | - $criteria = new \Criteria('event_id', $eventId); |
|
96 | + $criteria = new \Criteria('event_id', $eventId); |
|
97 | 97 | |
98 | 98 | return $this->getCount($criteria); |
99 | 99 | } |