Total Complexity | 47 |
Total Lines | 635 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
Complex classes like UserPages often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use UserPages, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
36 | class UserPages extends Files\CreateFile |
||
37 | { |
||
38 | /** |
||
39 | * @var mixed |
||
40 | */ |
||
41 | private $uxc = null; |
||
42 | |||
43 | /** |
||
44 | * @var mixed |
||
45 | */ |
||
46 | private $xc = null; |
||
47 | |||
48 | /** |
||
49 | * @var mixed |
||
50 | */ |
||
51 | private $pc = null; |
||
52 | |||
53 | /** |
||
54 | * @public function constructor |
||
55 | * @param null |
||
56 | */ |
||
57 | public function __construct() |
||
58 | { |
||
59 | parent::__construct(); |
||
60 | $this->xc = Modulebuilder\Files\CreateXoopsCode::getInstance(); |
||
61 | $this->pc = Modulebuilder\Files\CreatePhpCode::getInstance(); |
||
62 | $this->uxc = Modulebuilder\Files\User\UserXoopsCode::getInstance(); |
||
63 | } |
||
64 | |||
65 | /** |
||
66 | * @static function getInstance |
||
67 | * @param null |
||
68 | * @return UserPages |
||
69 | */ |
||
70 | public static function getInstance() |
||
71 | { |
||
72 | static $instance = false; |
||
73 | if (!$instance) { |
||
74 | $instance = new self(); |
||
75 | } |
||
76 | |||
77 | return $instance; |
||
78 | } |
||
79 | |||
80 | /** |
||
81 | * @public function write |
||
82 | * @param $module |
||
83 | * @param $table |
||
84 | * @param $filename |
||
85 | */ |
||
86 | public function write($module, $table, $filename) |
||
91 | } |
||
92 | |||
93 | /** |
||
94 | * @private function getUserPagesHeader |
||
95 | * @param $moduleDirname |
||
96 | * @param $tableName |
||
97 | * @param $fieldId |
||
98 | * @param $tablePermissions |
||
99 | * @param $language |
||
100 | * @return string |
||
101 | */ |
||
102 | private function getUserPagesHeader($moduleDirname, $tableName, $fieldId, $tablePermissions, $language) |
||
103 | { |
||
104 | $stuModuleDirname = \mb_strtoupper($moduleDirname); |
||
105 | $ccFieldId = $this->getCamelCase($fieldId, false, true); |
||
106 | |||
107 | $ret = $this->pc->getPhpCodeUseNamespace(['Xmf', 'Request'], '', ''); |
||
108 | $ret .= $this->pc->getPhpCodeUseNamespace(['XoopsModules', $moduleDirname], '', ''); |
||
109 | $ret .= $this->pc->getPhpCodeUseNamespace(['XoopsModules', $moduleDirname, 'Constants'], '', ''); |
||
110 | $ret .= $this->pc->getPhpCodeUseNamespace(['XoopsModules', $moduleDirname, 'Common']); |
||
111 | $ret .= $this->getRequire(); |
||
112 | $ret .= $this->uxc->getUserTplMain($moduleDirname, $tableName); |
||
113 | $ret .= $this->pc->getPhpCodeIncludeDir('\XOOPS_ROOT_PATH', 'header', true); |
||
114 | $ret .= $this->pc->getPhpCodeBlankLine(); |
||
115 | $ret .= $this->xc->getXcXoopsRequest('op ', 'op', 'list', 'Cmd'); |
||
116 | $ret .= $this->xc->getXcXoopsRequest($ccFieldId, $fieldId, '0', 'Int'); |
||
117 | $ret .= $this->xc->getXcXoopsRequest('start', 'start', '0', 'Int'); |
||
118 | $userpager = $this->xc->getXcGetConfig('userpager'); |
||
119 | $ret .= $this->xc->getXcXoopsRequest('limit', 'limit', $userpager, 'Int'); |
||
120 | $ret .= $this->xc->getXcXoopsTplAssign('start', '$start'); |
||
121 | $ret .= $this->xc->getXcXoopsTplAssign('limit', '$limit'); |
||
122 | $ret .= $this->pc->getPhpCodeBlankLine(); |
||
123 | $ret .= $this->pc->getPhpCodeCommentLine('Define Stylesheet'); |
||
124 | $ret .= $this->xc->getXcXoThemeAddStylesheet(); |
||
125 | $ret .= $this->pc->getPhpCodeCommentLine('Paths'); |
||
126 | $ret .= $this->xc->getXcXoopsTplAssign('xoops_icons32_url', '\XOOPS_ICONS32_URL'); |
||
127 | $ret .= $this->xc->getXcXoopsTplAssign("{$moduleDirname}_url", "\\{$stuModuleDirname}_URL"); |
||
128 | $ret .= $this->pc->getPhpCodeCommentLine('Keywords'); |
||
129 | $ret .= $this->pc->getPhpCodeArray('keywords', null, false, ''); |
||
130 | $ret .= $this->uxc->getUserBreadcrumbs($language, 'index', '', 'index.php'); |
||
131 | $ret .= $this->pc->getPhpCodeCommentLine('Permissions'); |
||
132 | if (1 == $tablePermissions) { |
||
133 | $ret .= $this->xc->getXcEqualsOperator('$permEdit', '$permissionsHandler->getPermGlobalSubmit()'); |
||
134 | $ret .= $this->xc->getXcXoopsTplAssign("permEdit", '$permEdit'); |
||
135 | } |
||
136 | $ret .= $this->xc->getXcXoopsTplAssign("showItem", "\${$ccFieldId} > 0"); |
||
137 | $ret .= $this->pc->getPhpCodeBlankLine(); |
||
138 | |||
139 | return $ret; |
||
140 | } |
||
141 | |||
142 | /** |
||
143 | * @private function getUserPagesList |
||
144 | * @param $moduleDirname |
||
145 | * @param $tableName |
||
146 | * @param $fieldId |
||
147 | * @param $fieldMain |
||
148 | * @param $tableRate |
||
149 | * @param $fieldReads |
||
150 | * @param $language |
||
151 | * @param string $t |
||
152 | * @return string |
||
153 | */ |
||
154 | private function getUserPagesList($moduleDirname, $tableName, $fieldId, $fieldMain, $tableRate, $fieldReads, $language, $t = '') |
||
155 | { |
||
156 | $ucfTableName = \ucfirst($tableName); |
||
157 | $stuTableName = \mb_strtoupper($tableName); |
||
158 | $ccFieldId = $this->getCamelCase($fieldId, false, true); |
||
159 | $ccFieldMain = $this->getCamelCase($fieldMain, false, true); |
||
160 | $ccFieldReads = $this->getCamelCase($fieldReads, false, true); |
||
161 | $stuModuleDirname = \mb_strtoupper($moduleDirname); |
||
162 | |||
163 | $ret = ''; |
||
164 | $ret .= $this->uxc->getUserBreadcrumbs($language, $tableName, 'list', '', "\t\t"); |
||
165 | if ($tableRate) { |
||
166 | $varRate = '$ratingbars'; |
||
167 | $ret .= $this->xc->getXcEqualsOperator($varRate, '(int)' . $this->xc->getXcGetConfig('ratingbars'),'', $t); |
||
168 | $contIf = $this->xc->getXcXoThemeAddStylesheet("\\{$stuModuleDirname}_URL . '/assets/css/rating.css'", $t . "\t", false); |
||
169 | $contIf .= $this->xc->getXcXoopsTplAssign('rating', $varRate, true, $t . "\t"); |
||
170 | $contIf .= $this->xc->getXcXoopsTplAssign('rating_5stars', "(Constants::RATING_5STARS === {$varRate})", true, $t . "\t"); |
||
171 | $contIf .= $this->xc->getXcXoopsTplAssign('rating_10stars', "(Constants::RATING_10STARS === {$varRate})", true, $t . "\t"); |
||
172 | $contIf .= $this->xc->getXcXoopsTplAssign('rating_10num', "(Constants::RATING_10NUM === {$varRate})", true, $t . "\t"); |
||
173 | $contIf .= $this->xc->getXcXoopsTplAssign('rating_likes', "(Constants::RATING_LIKES === {$varRate})", true, $t . "\t"); |
||
174 | $contIf .= $this->xc->getXcXoopsTplAssign('itemid', "'{$fieldId}'", true, $t . "\t"); |
||
175 | $contIf .= $this->xc->getXcXoopsTplAssign($moduleDirname . '_icon_url_16', "\\{$stuModuleDirname}_URL . '/' . \$modPathIcon16", true, $t . "\t"); |
||
176 | $ret .= $this->pc->getPhpCodeConditions($varRate, ' > ', '0', $contIf, false, $t); |
||
177 | } |
||
178 | $critName = 'cr' . $ucfTableName; |
||
179 | $ret .= $this->xc->getXcCriteriaCompo($critName, $t); |
||
180 | $crit = $this->xc->getXcCriteria('', "'{$fieldId}'", "\${$ccFieldId}",'',true); |
||
181 | $contIf = $this->xc->getXcCriteriaAdd($critName, $crit, $t . "\t"); |
||
182 | $ret .= $this->pc->getPhpCodeConditions("\${$ccFieldId}", ' > ', '0', $contIf, false, $t); |
||
183 | $ret .= $this->xc->getXcHandlerCountClear($tableName . 'Count', $tableName, '$' . $critName, $t); |
||
184 | $ret .= $this->xc->getXcXoopsTplAssign($tableName . 'Count', "\${$tableName}Count", '', $t); |
||
185 | $contIf = $this->xc->getXcCriteriaSetStart($critName, '$start', $t . "\t"); |
||
186 | $contIf .= $this->xc->getXcCriteriaSetLimit($critName, '$limit', $t . "\t"); |
||
187 | $ret .= $this->pc->getPhpCodeConditions("\${$ccFieldId}", ' === ', '0', $contIf, false, $t); |
||
188 | $ret .= $this->xc->getXcHandlerAllClear($tableName . 'All', $tableName, '$' . $critName, $t); |
||
189 | $condIf = $this->pc->getPhpCodeArray($tableName, null, false, $t . "\t"); |
||
190 | $condIf .= $this->xc->getXcEqualsOperator("\${$ccFieldMain}", "''",'', $t . "\t"); |
||
191 | $condIf .= $this->pc->getPhpCodeCommentLine('Get All', $ucfTableName, $t . "\t"); |
||
192 | $foreach = $this->xc->getXcGetValues($tableName, $tableName . '[$i]', 'i', false, $t . "\t\t"); |
||
193 | $foreach .= $this->xc->getXcGetVar($ccFieldMain, "{$tableName}All[\$i]", $fieldMain, false, $t . "\t\t"); |
||
194 | $foreach .= $this->xc->getXcEqualsOperator('$keywords[$i]', "\${$ccFieldMain}",'', $t . "\t\t"); |
||
195 | if ($tableRate) { |
||
196 | $itemId = $this->xc->getXcGetVar($ccFieldId, "{$tableName}All[\$i]", $fieldId, true); |
||
197 | $const = $this->xc->getXcGetConstants('TABLE_' . $stuTableName); |
||
198 | $foreach .= $this->xc->getXcEqualsOperator("\${$tableName}[\$i]['rating']", "\$ratingsHandler->getItemRating({$itemId}, {$const})",'', $t . "\t\t"); |
||
199 | } |
||
200 | $condIf .= $this->pc->getPhpCodeForeach("{$tableName}All", true, false, 'i', $foreach, $t . "\t"); |
||
201 | $condIf .= $this->xc->getXcXoopsTplAssign($tableName, "\${$tableName}", true, $t . "\t"); |
||
202 | $condIf .= $this->pc->getPhpCodeUnset($tableName, $t . "\t"); |
||
203 | $condIf .= $this->xc->getXcPageNav($tableName, $t . "\t"); |
||
204 | $config = $this->xc->getXcGetConfig('table_type'); |
||
205 | $condIf .= $this->xc->getXcXoopsTplAssign('table_type', $config, true, $t . "\t"); |
||
206 | $config = $this->xc->getXcGetConfig('panel_type'); |
||
207 | $condIf .= $this->xc->getXcXoopsTplAssign('panel_type', $config, true, $t . "\t"); |
||
208 | $divideby = $this->xc->getXcGetConfig('divideby'); |
||
209 | $condIf .= $this->xc->getXcXoopsTplAssign('divideby', $divideby, true, $t . "\t"); |
||
210 | $numbCol = $this->xc->getXcGetConfig('numb_col'); |
||
211 | $condIf .= $this->xc->getXcXoopsTplAssign('numb_col', $numbCol, true, $t . "\t"); |
||
212 | $stripTags = $this->pc->getPhpCodeStripTags('', "\${$ccFieldMain} . ' - ' . " . "\$GLOBALS['xoopsModule']->getVar('name')", true); |
||
213 | $condIf2 = $this->xc->getXcXoopsTplAssign('xoops_pagetitle', $stripTags, true, $t . "\t\t"); |
||
214 | $condIf .= $this->pc->getPhpCodeConditions("'show' == \$op && '' != \${$ccFieldMain}", '', "", $condIf2, false, $t . "\t"); |
||
215 | |||
216 | if ('' !== $fieldReads) { |
||
217 | $condIf3 = $this->xc->getXcHandlerGetObj($tableName, $ccFieldId, $t . "\t\t"); |
||
218 | |||
219 | |||
220 | $getVar = $this->xc->getXcGetVar('', "{$tableName}Obj", $fieldReads, true); |
||
221 | $condIf3 .= $this->xc->getXcEqualsOperator("\${$ccFieldReads}", "(int)" . $getVar . ' + 1', false, $t . "\t\t"); |
||
222 | $condIf3 .= $this->xc->getXcSetVarObj($tableName, $fieldReads, "\${$ccFieldReads}", $t . "\t\t"); |
||
223 | $condIf3 .= $this->pc->getPhpCodeCommentLine('Insert Data', null, $t . "\t\t"); |
||
224 | $insert = $this->xc->getXcHandlerInsert($tableName, $tableName, 'Obj', 'Handler'); |
||
225 | $condIf3 .= $this->getSimpleString($insert .';',$t . "\t\t"); |
||
226 | //$contentInsert = $this->xc->getXcRedirectHeader("'{$tableName}.php?op=list&{$fieldId}=' . \${$ccFieldId}", '', '5', "\${$tableName}Obj->getHtmlErrors()", false, $t . "\t\t\t"); |
||
227 | //$condIf3 .= $this->pc->getPhpCodeConditions('!' . $insert, '', '', $contentInsert, false, $t . "\t\t"); |
||
228 | $condIf .= $this->pc->getPhpCodeConditions("'show' == \$op", '', "", $condIf3, false, $t . "\t"); |
||
229 | |||
230 | } |
||
231 | |||
232 | |||
233 | $ret .= $this->pc->getPhpCodeConditions("\${$tableName}Count", ' > ', '0', $condIf, false, $t); |
||
234 | |||
235 | return $ret; |
||
236 | } |
||
237 | |||
238 | /** |
||
239 | * @public function getUserSubmitSave |
||
240 | * @param string $moduleDirname |
||
241 | * @param $fields |
||
242 | * @param string $tableName |
||
243 | * @param $tableSoleName |
||
244 | * @param $tablePermissions |
||
245 | * @param $tableNotifications |
||
246 | * @param $language |
||
247 | * @param string $t |
||
248 | * @return string |
||
249 | */ |
||
250 | public function getUserPagesSave($moduleDirname, $fields, $tableName, $tableSoleName, $tablePermissions, $tableNotifications, $language, $t = '') |
||
363 | } |
||
364 | |||
365 | /** |
||
366 | * @private function getPermissionsSave |
||
367 | * @param $moduleDirname |
||
368 | * @param $ucfFieldId |
||
369 | * @param string $perm |
||
370 | * |
||
371 | * @return string |
||
372 | */ |
||
373 | private function getPermissionsSave($moduleDirname, $ucfFieldId, $perm = 'view') |
||
374 | { |
||
375 | $ret = $this->pc->getPhpCodeCommentLine('Permission to', $perm, "\t\t\t"); |
||
376 | $ret .= $this->xc->getXcDeleteRight('grouppermHandler', "{$moduleDirname}_{$perm}", '$mid', "\$new{$ucfFieldId}", false, "\t\t\t"); |
||
377 | $content = $this->xc->getXcAddRight('grouppermHandler', "{$moduleDirname}_{$perm}", "\$new{$ucfFieldId}", '$onegroupId', '$mid', false, "\t\t\t\t\t"); |
||
378 | $foreach = $this->pc->getPhpCodeForeach("_POST['groups_{$perm}']", false, false, 'onegroupId', $content, "\t\t\t\t"); |
||
379 | $ret .= $this->pc->getPhpCodeConditions("isset(\$_POST['groups_{$perm}'])", null, null, $foreach, false, "\t\t\t"); |
||
380 | |||
381 | return $ret; |
||
382 | } |
||
383 | |||
384 | /** |
||
385 | * @public function getUserPagesNew |
||
386 | * @param $tableName |
||
387 | * @param $tableSoleName |
||
388 | * @param $tablePermissions |
||
389 | * @param $language |
||
390 | * @param string $t |
||
391 | * @return string |
||
392 | */ |
||
393 | public function getUserPagesNew($tableName, $tableSoleName, $tablePermissions, $language, $t = '') |
||
394 | { |
||
395 | $ret = $this->uxc->getUserBreadcrumbs($language, $tableSoleName, 'add', '', "\t\t"); |
||
396 | if (1 == $tablePermissions) { |
||
397 | $ret .= $this->pc->getPhpCodeCommentLine('Check permissions', '', $t); |
||
398 | $contIf = $this->xc->getXcRedirectHeader($tableName, '?op=list', 3, '\_NOPERM', true, $t . "\t"); |
||
399 | $ret .= $this->pc->getPhpCodeConditions('!$permissionsHandler->getPermGlobalSubmit()', '', '', $contIf, false, $t); |
||
400 | } |
||
401 | $ret .= $this->xc->getXcCommonPagesNew($tableName, $t); |
||
402 | |||
403 | return $ret; |
||
404 | } |
||
405 | |||
406 | /** |
||
407 | * @public function getUserPagesEdit |
||
408 | * @param $tableName |
||
409 | * @param $tableSoleName |
||
410 | * @param $tablePermissions |
||
411 | * @param $fieldId |
||
412 | * @param $language |
||
413 | * @param string $t |
||
414 | * @return string |
||
415 | */ |
||
416 | public function getUserPagesEdit($tableName, $tableSoleName, $tablePermissions, $fieldId, $language, $t = '') |
||
417 | { |
||
418 | $ret = $this->uxc->getUserBreadcrumbs($language, $tableSoleName, 'edit', '', "\t\t"); |
||
419 | $ccFieldId = $this->getCamelCase($fieldId, false, true); |
||
420 | if (1 == $tablePermissions) { |
||
421 | $ret .= $this->pc->getPhpCodeCommentLine('Check permissions', '', $t); |
||
422 | $contIf = $this->xc->getXcRedirectHeader($tableName, '?op=list', 3, '\_NOPERM', true, $t . "\t"); |
||
423 | $ret .= $this->pc->getPhpCodeConditions('!$permissionsHandler->getPermGlobalSubmit()', '', '', $contIf, false, $t); |
||
424 | } |
||
425 | $ret .= $this->pc->getPhpCodeCommentLine('Check params', '', $t); |
||
426 | $contIf = $this->xc->getXcRedirectHeader($tableName, '?op=list', 3, "{$language}INVALID_PARAM", true, $t . "\t"); |
||
427 | $ret .= $this->pc->getPhpCodeConditions("\${$ccFieldId}", ' == ', '0', $contIf, false, $t); |
||
428 | $ret .= $this->xc->getXcCommonPagesEdit($tableName, $ccFieldId, $t); |
||
429 | |||
430 | return $ret; |
||
431 | } |
||
432 | |||
433 | /** |
||
434 | * @public function getUserPagesClone |
||
435 | * @param $tableName |
||
436 | * @param $tableSoleName |
||
437 | * @param $tablePermissions |
||
438 | * @param $fieldId |
||
439 | * @param $language |
||
440 | * @param string $t |
||
441 | * @return string |
||
442 | */ |
||
443 | public function getUserPagesClone($tableName, $tableSoleName, $tablePermissions, $fieldId, $language, $t = '') |
||
444 | { |
||
445 | $ret = $this->uxc->getUserBreadcrumbs($language, $tableSoleName, 'clone', '', "\t\t"); |
||
446 | $ccFieldId = $this->getCamelCase($fieldId, false, true); |
||
447 | if (1 == $tablePermissions) { |
||
448 | $ret .= $this->pc->getPhpCodeCommentLine('Check permissions', '', $t); |
||
449 | $contIf = $this->xc->getXcRedirectHeader($tableName, '?op=list', 3, '\_NOPERM', true, $t . "\t"); |
||
450 | $ret .= $this->pc->getPhpCodeConditions('!$permissionsHandler->getPermGlobalSubmit()', '', '', $contIf, false, $t); |
||
451 | } |
||
452 | $ret .= $this->pc->getPhpCodeCommentLine("Request source", '', $t); |
||
453 | $ret .= $this->xc->getXcXoopsRequest($ccFieldId . 'Source', $fieldId . '_source', '', 'Int', false, $t); |
||
454 | $ret .= $this->pc->getPhpCodeCommentLine('Check params', '', $t); |
||
455 | $contIf = $this->xc->getXcRedirectHeader($tableName, '?op=list', 3, "{$language}INVALID_PARAM", true, $t . "\t"); |
||
456 | $ret .= $this->pc->getPhpCodeConditions("\${$ccFieldId}Source", ' == ', '0', $contIf, false, $t); |
||
457 | $ret .= $this->xc->getXcCommonPagesClone($tableName, $ccFieldId, $t); |
||
458 | |||
459 | return $ret; |
||
460 | } |
||
461 | |||
462 | /** |
||
463 | * @private function getUserPagesDelete |
||
464 | * @param $tableName |
||
465 | * @param $tableSoleName |
||
466 | * @param $tablePermissions |
||
467 | * @param $language |
||
468 | * @param $fieldId |
||
469 | * @param $fieldMain |
||
470 | * @param $tableNotifications |
||
471 | * @param string $t |
||
472 | * @return string |
||
473 | */ |
||
474 | private function getUserPagesDelete($tableName, $tableSoleName, $tablePermissions, $language, $fieldId, $fieldMain, $tableNotifications, $t = '') |
||
489 | } |
||
490 | |||
491 | /** |
||
492 | * @private function getUserPagesBroken |
||
493 | * @param $language |
||
494 | * @param $moduleDirname |
||
495 | * @param $tableName |
||
496 | * @param $tableSoleName |
||
497 | * @param $fieldId |
||
498 | * @param $fieldStatus |
||
499 | * @param $fieldMain |
||
500 | * @param $tableNotifications |
||
501 | * @param string $t |
||
502 | * @return string |
||
503 | */ |
||
504 | private function getUserPagesBroken($language, $moduleDirname, $tableName, $tableSoleName, $fieldId, $fieldStatus, $fieldMain, $tableNotifications, $t = '') |
||
545 | } |
||
546 | |||
547 | /** |
||
548 | * @private function getUserPagesFooter |
||
549 | * @param $moduleDirname |
||
550 | * @param $tableName |
||
551 | * @param $tableComments |
||
552 | * @param $language |
||
553 | * |
||
554 | * @return string |
||
555 | */ |
||
556 | private function getUserPagesFooter($moduleDirname, $tableName, $tableComments, $language) |
||
578 | } |
||
579 | |||
580 | /** |
||
581 | * @private function getUserPagesSwitch |
||
582 | * @param $moduleDirname |
||
583 | * @param $tableId |
||
584 | * @param $tableMid |
||
585 | * @param $tableName |
||
586 | * @param $tableSoleName |
||
587 | * @param $tableSubmit |
||
588 | * @param $tablePermissions |
||
589 | * @param $tableBroken |
||
590 | * @param $fieldId |
||
591 | * @param $fieldMain |
||
592 | * @param $fieldStatus |
||
593 | * @param $tableNotifications |
||
594 | * @param $tableRate |
||
595 | * @param $fieldReads |
||
596 | * @param $language |
||
597 | * @param $t |
||
598 | * @return string |
||
599 | */ |
||
600 | private function getUserPagesSwitch($moduleDirname, $tableId, $tableMid, $tableName, $tableSoleName, $tableSubmit, $tablePermissions, $tableBroken, $fieldId, $fieldMain, $fieldStatus, $tableNotifications, $tableRate, $fieldReads, $language, $t) |
||
617 | } |
||
618 | |||
619 | /** |
||
620 | * @public function render |
||
621 | * @param null |
||
622 | * @return bool|string |
||
623 | */ |
||
624 | public function render() |
||
673 |