@@ -91,10 +91,10 @@ |
||
| 91 | 91 | } |
| 92 | 92 | // Form file save |
| 93 | 93 | $addfilesObj->setVars(array( |
| 94 | - 'file_mid' => $_POST['file_mid'], |
|
| 95 | - 'file_name' => $_POST['file_name'], |
|
| 96 | - 'file_extension' => $_POST['file_extension'], |
|
| 97 | - 'file_infolder' => $_POST['file_infolder'], )); |
|
| 94 | + 'file_mid' => $_POST['file_mid'], |
|
| 95 | + 'file_name' => $_POST['file_name'], |
|
| 96 | + 'file_extension' => $_POST['file_extension'], |
|
| 97 | + 'file_infolder' => $_POST['file_infolder'], )); |
|
| 98 | 98 | |
| 99 | 99 | if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) { |
| 100 | 100 | if ($addfilesObj->isNew()) { |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | 'file_mid' => $_POST['file_mid'], |
| 95 | 95 | 'file_name' => $_POST['file_name'], |
| 96 | 96 | 'file_extension' => $_POST['file_extension'], |
| 97 | - 'file_infolder' => $_POST['file_infolder'], )); |
|
| 97 | + 'file_infolder' => $_POST['file_infolder'],)); |
|
| 98 | 98 | |
| 99 | 99 | if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) { |
| 100 | 100 | if ($addfilesObj->isNew()) { |
@@ -151,7 +151,7 @@ |
||
| 151 | 151 | $fieldsObj->setVar('field_tfoot', (1 == $_REQUEST['field_tfoot'][$key]) ? 1 : 0); |
| 152 | 152 | $fieldsObj->setVar('field_block', (1 == $_REQUEST['field_block'][$key]) ? 1 : 0); |
| 153 | 153 | $fieldsObj->setVar('field_main', ($key == $_REQUEST['field_main'] ? 1 : 0)); |
| 154 | - $fieldsObj->setVar('field_search', (1 == $_REQUEST['field_search'][$key]) ? 1 : 0); |
|
| 154 | + $fieldsObj->setVar('field_search', (1 == $_REQUEST['field_search'][$key]) ? 1 : 0); |
|
| 155 | 155 | $fieldsObj->setVar('field_required', (1 == $_REQUEST['field_required'][$key]) ? 1 : 0); |
| 156 | 156 | // Insert Data |
| 157 | 157 | $tdmcreate->getHandler('fields')->insert($fieldsObj); |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | $tablesObj = &$tables->create(); |
| 133 | 133 | } |
| 134 | 134 | $tableOrder = XoopsRequest::getInt('table_order'); |
| 135 | - $order = $tablesObj->isNew() ? $tableOrder + 1 : $tableOrder; |
|
| 135 | + $order = $tablesObj->isNew() ? $tableOrder+1 : $tableOrder; |
|
| 136 | 136 | // Form save tables |
| 137 | 137 | $tablesObj->setVars(array( |
| 138 | 138 | 'table_mid' => $tableMid, |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | 'table_category' => ((1 == $_REQUEST['table_category']) ? 1 : 0), |
| 142 | 142 | 'table_fieldname' => $tableFieldname, |
| 143 | 143 | 'table_nbfields' => $tableNumbFields, |
| 144 | - 'table_order' => $order, )); |
|
| 144 | + 'table_order' => $order,)); |
|
| 145 | 145 | //Form table_image |
| 146 | 146 | include_once XOOPS_ROOT_PATH.'/class/uploader.php'; |
| 147 | 147 | $uploaddir = is_dir(XOOPS_ICONS32_PATH) ? XOOPS_ICONS32_PATH : TDMC_UPLOAD_IMGTAB_PATH; |
@@ -91,10 +91,10 @@ |
||
| 91 | 91 | } |
| 92 | 92 | // Form file save |
| 93 | 93 | $addfilesObj->setVars(array( |
| 94 | - 'file_mid' => $_POST['file_mid'], |
|
| 95 | - 'file_name' => $_POST['file_name'], |
|
| 96 | - 'file_extension' => $_POST['file_extension'], |
|
| 97 | - 'file_infolder' => $_POST['file_infolder'], )); |
|
| 94 | + 'file_mid' => $_POST['file_mid'], |
|
| 95 | + 'file_name' => $_POST['file_name'], |
|
| 96 | + 'file_extension' => $_POST['file_extension'], |
|
| 97 | + 'file_infolder' => $_POST['file_infolder'], )); |
|
| 98 | 98 | |
| 99 | 99 | if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) { |
| 100 | 100 | if ($addfilesObj->isNew()) { |
@@ -94,7 +94,7 @@ |
||
| 94 | 94 | 'file_mid' => $_POST['file_mid'], |
| 95 | 95 | 'file_name' => $_POST['file_name'], |
| 96 | 96 | 'file_extension' => $_POST['file_extension'], |
| 97 | - 'file_infolder' => $_POST['file_infolder'], )); |
|
| 97 | + 'file_infolder' => $_POST['file_infolder'],)); |
|
| 98 | 98 | |
| 99 | 99 | if ($tdmcreate->getHandler('addfiles')->insert($addfilesObj)) { |
| 100 | 100 | if ($addfilesObj->isNew()) { |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | if (strpos($fieldName, '_')) { |
| 100 | 100 | $str = strpos($fieldName, '_'); |
| 101 | 101 | if ($str !== false) { |
| 102 | - $rpFieldName = substr($fieldName, $str + 1, strlen($fieldName)); |
|
| 102 | + $rpFieldName = substr($fieldName, $str+1, strlen($fieldName)); |
|
| 103 | 103 | } |
| 104 | 104 | } |
| 105 | 105 | $lpFieldName = substr($fieldName, 0, strpos($fieldName, '_')); |
@@ -253,7 +253,7 @@ |
||
| 253 | 253 | * @param null |
| 254 | 254 | */ |
| 255 | 255 | /** |
| 256 | - * @return bool|string |
|
| 256 | + * @return null|string |
|
| 257 | 257 | */ |
| 258 | 258 | public function render() |
| 259 | 259 | { |
@@ -28,19 +28,19 @@ discard block |
||
| 28 | 28 | class UserPrint extends TDMCreateFile |
| 29 | 29 | { |
| 30 | 30 | /** |
| 31 | - * @var mixed |
|
| 32 | - */ |
|
| 31 | + * @var mixed |
|
| 32 | + */ |
|
| 33 | 33 | private $uc = null; |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @var string |
|
| 37 | - */ |
|
| 36 | + * @var string |
|
| 37 | + */ |
|
| 38 | 38 | private $xc = null; |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @public function constructor |
|
| 42 | - * @param null |
|
| 43 | - */ |
|
| 41 | + * @public function constructor |
|
| 42 | + * @param null |
|
| 43 | + */ |
|
| 44 | 44 | |
| 45 | 45 | public function __construct() |
| 46 | 46 | { |
@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @static function getInstance |
|
| 55 | - * @param null |
|
| 54 | + * @static function getInstance |
|
| 55 | + * @param null |
|
| 56 | 56 | * @return UserPrint |
| 57 | 57 | */ |
| 58 | 58 | public static function getInstance() |
@@ -66,10 +66,10 @@ discard block |
||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | - * @public function write |
|
| 70 | - * @param string $module |
|
| 71 | - * @param mixed $table |
|
| 72 | - * @param string $filename |
|
| 69 | + * @public function write |
|
| 70 | + * @param string $module |
|
| 71 | + * @param mixed $table |
|
| 72 | + * @param string $filename |
|
| 73 | 73 | */ |
| 74 | 74 | public function write($module, $table, $filename) |
| 75 | 75 | { |
@@ -79,9 +79,9 @@ discard block |
||
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | - * @public function getUserPrint |
|
| 83 | - * @param string $moduleDirname |
|
| 84 | - * @param string $language |
|
| 82 | + * @public function getUserPrint |
|
| 83 | + * @param string $moduleDirname |
|
| 84 | + * @param string $language |
|
| 85 | 85 | * |
| 86 | 86 | * @return string |
| 87 | 87 | */ |
@@ -160,8 +160,8 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
| 163 | - * @public function render |
|
| 164 | - * @param null |
|
| 163 | + * @public function render |
|
| 164 | + * @param null |
|
| 165 | 165 | * @return bool|string |
| 166 | 166 | */ |
| 167 | 167 | public function render() |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | $ret = $this->getAdminMenuArray($dirname); |
| 119 | 119 | $mod = array('$moduleHandler' => "xoops_gethandler('module')", |
| 120 | 120 | '$xoopsModule' => 'XoopsModule::getByDirname($dirname)', |
| 121 | - '$moduleInfo' => "\$moduleHandler->get(\$xoopsModule->getVar('mid'))", ); |
|
| 121 | + '$moduleInfo' => "\$moduleHandler->get(\$xoopsModule->getVar('mid'))",); |
|
| 122 | 122 | $ret .= $this->getAdminMenuArray($mod, false, true); |
| 123 | 123 | $sys = array('$sysPathIcon32' => "\$moduleInfo->getInfo('sysicons32')"); |
| 124 | 124 | $ret .= $this->getAdminMenuArray($sys); |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | /** |
| 192 | 192 | * @public function render |
| 193 | 193 | * @param null |
| 194 | - * @return bool|string |
|
| 194 | + * @return null|string |
|
| 195 | 195 | */ |
| 196 | 196 | public function render() |
| 197 | 197 | { |
@@ -28,9 +28,9 @@ discard block |
||
| 28 | 28 | class AdminMenu extends TDMCreateFile |
| 29 | 29 | { |
| 30 | 30 | /** |
| 31 | - * @public function constructor |
|
| 32 | - * @param null |
|
| 33 | - */ |
|
| 31 | + * @public function constructor |
|
| 32 | + * @param null |
|
| 33 | + */ |
|
| 34 | 34 | |
| 35 | 35 | public function __construct() |
| 36 | 36 | { |
@@ -38,10 +38,10 @@ discard block |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @static function getInstance |
|
| 42 | - * @param null |
|
| 43 | - * @return AdminMenu |
|
| 44 | - */ |
|
| 41 | + * @static function getInstance |
|
| 42 | + * @param null |
|
| 43 | + * @return AdminMenu |
|
| 44 | + */ |
|
| 45 | 45 | public static function getInstance() |
| 46 | 46 | { |
| 47 | 47 | static $instance = false; |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @public function write |
|
| 57 | - * @param string $module |
|
| 58 | - * @param string $filename |
|
| 59 | - */ |
|
| 56 | + * @public function write |
|
| 57 | + * @param string $module |
|
| 58 | + * @param string $filename |
|
| 59 | + */ |
|
| 60 | 60 | public function write($module, $filename) |
| 61 | 61 | { |
| 62 | 62 | $this->setModule($module); |
@@ -91,10 +91,10 @@ discard block |
||
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
| 94 | - * @private function getAdminMenuHeader |
|
| 95 | - * @param null |
|
| 96 | - * @return string |
|
| 97 | - */ |
|
| 94 | + * @private function getAdminMenuHeader |
|
| 95 | + * @param null |
|
| 96 | + * @return string |
|
| 97 | + */ |
|
| 98 | 98 | private function getAdminMenuHeader() |
| 99 | 99 | { |
| 100 | 100 | $dirname = array('$dirname' => 'basename(dirname(__DIR__))'); |
@@ -110,12 +110,12 @@ discard block |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | - * @private function getAdminMenuDashboard |
|
| 114 | - * @param string $language |
|
| 115 | - * @param integer $menu |
|
| 116 | - * |
|
| 117 | - * @return string |
|
| 118 | - */ |
|
| 113 | + * @private function getAdminMenuDashboard |
|
| 114 | + * @param string $language |
|
| 115 | + * @param integer $menu |
|
| 116 | + * |
|
| 117 | + * @return string |
|
| 118 | + */ |
|
| 119 | 119 | private function getAdminMenuDashboard($language, $menu) |
| 120 | 120 | { |
| 121 | 121 | $xc = TDMCreateXoopsCode::getInstance(); |
@@ -128,12 +128,12 @@ discard block |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | - * @private function getAdminMenuImagesPath |
|
| 132 | - * @param array $tables |
|
| 133 | - * @param integer $t |
|
| 134 | - * |
|
| 135 | - * @return string |
|
| 136 | - */ |
|
| 131 | + * @private function getAdminMenuImagesPath |
|
| 132 | + * @param array $tables |
|
| 133 | + * @param integer $t |
|
| 134 | + * |
|
| 135 | + * @return string |
|
| 136 | + */ |
|
| 137 | 137 | private function getAdminMenuImagesPath($tables, $t) |
| 138 | 138 | { |
| 139 | 139 | $xc = TDMCreateXoopsCode::getInstance(); |
@@ -191,10 +191,10 @@ discard block |
||
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | /** |
| 194 | - * @public function render |
|
| 195 | - * @param null |
|
| 196 | - * @return bool|string |
|
| 197 | - */ |
|
| 194 | + * @public function render |
|
| 195 | + * @param null |
|
| 196 | + * @return bool|string |
|
| 197 | + */ |
|
| 198 | 198 | public function render() |
| 199 | 199 | { |
| 200 | 200 | $module = $this->getModule(); |
@@ -376,7 +376,7 @@ |
||
| 376 | 376 | 'new' => array($new), |
| 377 | 377 | 'save' => array($save), |
| 378 | 378 | 'edit' => array($edit), |
| 379 | - 'delete' => array($delete), ); |
|
| 379 | + 'delete' => array($delete),); |
|
| 380 | 380 | $content .= $this->getAdminPagesSwitch($cases); |
| 381 | 381 | $content .= $this->getInclude('footer'); |
| 382 | 382 | // |
@@ -55,9 +55,9 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * @public function write |
| 58 | - * @param $module |
|
| 58 | + * @param string $module |
|
| 59 | 59 | * @param $table |
| 60 | - * @param $filename |
|
| 60 | + * @param string $filename |
|
| 61 | 61 | */ |
| 62 | 62 | public function write($module, $table, $filename) |
| 63 | 63 | { |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | * @private function getAdminPagesList |
| 106 | 106 | * @param $moduleDirname |
| 107 | 107 | * @param $table |
| 108 | - * @param $language |
|
| 108 | + * @param string $language |
|
| 109 | 109 | * @param $fields |
| 110 | 110 | * @param $fieldId |
| 111 | 111 | * @param $fieldInForm |
@@ -162,7 +162,7 @@ discard block |
||
| 162 | 162 | * @param $moduleDirname |
| 163 | 163 | * @param $tableName |
| 164 | 164 | * @param $fieldInForm |
| 165 | - * @param $language |
|
| 165 | + * @param string $language |
|
| 166 | 166 | * @param string $t |
| 167 | 167 | * @return string |
| 168 | 168 | */ |
@@ -193,8 +193,8 @@ discard block |
||
| 193 | 193 | * @private function getPermissionsSave |
| 194 | 194 | * @param $moduleDirname |
| 195 | 195 | * @param $fieldId |
| 196 | - * @param $ccFieldId |
|
| 197 | - * @param $newFieldId |
|
| 196 | + * @param string $ccFieldId |
|
| 197 | + * @param string $newFieldId |
|
| 198 | 198 | * @param $perm |
| 199 | 199 | * |
| 200 | 200 | * @return string |
@@ -218,7 +218,7 @@ discard block |
||
| 218 | 218 | * @param $tableName |
| 219 | 219 | * @param $tableCategory |
| 220 | 220 | * @param $tableSolename |
| 221 | - * @param $language |
|
| 221 | + * @param string $language |
|
| 222 | 222 | * @param $fields |
| 223 | 223 | * @param $fieldId |
| 224 | 224 | * @param $fieldMain |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | * @private function getAdminPagesEdit |
| 310 | 310 | * @param $moduleDirname |
| 311 | 311 | * @param $table |
| 312 | - * @param $language |
|
| 312 | + * @param string $language |
|
| 313 | 313 | * @param $fieldId |
| 314 | 314 | * @param $fieldInForm |
| 315 | 315 | * @param string $t |
@@ -350,7 +350,7 @@ discard block |
||
| 350 | 350 | /** |
| 351 | 351 | * @private function getAdminPagesDelete |
| 352 | 352 | * @param $tableName |
| 353 | - * @param $language |
|
| 353 | + * @param string $language |
|
| 354 | 354 | * @param $fieldId |
| 355 | 355 | * @param $fieldMain |
| 356 | 356 | * @param string $t |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | * @public function render |
| 368 | 368 | * @param null |
| 369 | 369 | * |
| 370 | - * @return bool|string |
|
| 370 | + * @return null|string |
|
| 371 | 371 | */ |
| 372 | 372 | public function render() |
| 373 | 373 | { |
@@ -67,12 +67,12 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @private function getAdminPagesHeader |
|
| 71 | - * @param $moduleDirname |
|
| 72 | - * @param $tableName |
|
| 73 | - * @param $fieldId |
|
| 74 | - * @return string |
|
| 75 | - */ |
|
| 70 | + * @private function getAdminPagesHeader |
|
| 71 | + * @param $moduleDirname |
|
| 72 | + * @param $tableName |
|
| 73 | + * @param $fieldId |
|
| 74 | + * @return string |
|
| 75 | + */ |
|
| 76 | 76 | private function getAdminPagesHeader($moduleDirname, $tableName, $fieldId) |
| 77 | 77 | { |
| 78 | 78 | $pc = TDMCreatePhpCode::getInstance(); |
@@ -190,15 +190,15 @@ discard block |
||
| 190 | 190 | } |
| 191 | 191 | |
| 192 | 192 | /** |
| 193 | - * @private function getPermissionsSave |
|
| 194 | - * @param $moduleDirname |
|
| 195 | - * @param $fieldId |
|
| 196 | - * @param $ccFieldId |
|
| 197 | - * @param $newFieldId |
|
| 198 | - * @param $perm |
|
| 199 | - * |
|
| 200 | - * @return string |
|
| 201 | - */ |
|
| 193 | + * @private function getPermissionsSave |
|
| 194 | + * @param $moduleDirname |
|
| 195 | + * @param $fieldId |
|
| 196 | + * @param $ccFieldId |
|
| 197 | + * @param $newFieldId |
|
| 198 | + * @param $perm |
|
| 199 | + * |
|
| 200 | + * @return string |
|
| 201 | + */ |
|
| 202 | 202 | private function getPermissionsSave($moduleDirname, $fieldId, $ccFieldId, $newFieldId, $perm = 'view') |
| 203 | 203 | { |
| 204 | 204 | $pc = TDMCreatePhpCode::getInstance(); |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | /** |
| 120 | 120 | * @param $module |
| 121 | 121 | * @param $tableName |
| 122 | - * @param $language |
|
| 122 | + * @param string $language |
|
| 123 | 123 | * |
| 124 | 124 | * @return string |
| 125 | 125 | */ |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | * |
| 139 | 139 | * @param $moduleDirname |
| 140 | 140 | * @param $tableName |
| 141 | - * @param $language |
|
| 141 | + * @param string $language |
|
| 142 | 142 | * |
| 143 | 143 | * @return string |
| 144 | 144 | */ |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | * @param null |
| 167 | 167 | */ |
| 168 | 168 | /** |
| 169 | - * @return bool|string |
|
| 169 | + * @return null|string |
|
| 170 | 170 | */ |
| 171 | 171 | public function render() |
| 172 | 172 | { |
@@ -28,19 +28,19 @@ discard block |
||
| 28 | 28 | class UserSearch extends TDMCreateFile |
| 29 | 29 | { |
| 30 | 30 | /** |
| 31 | - * @var mixed |
|
| 32 | - */ |
|
| 31 | + * @var mixed |
|
| 32 | + */ |
|
| 33 | 33 | private $usercode = null; |
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | - * @var string |
|
| 37 | - */ |
|
| 36 | + * @var string |
|
| 37 | + */ |
|
| 38 | 38 | private $xoopscode = null; |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @public function constructor |
|
| 42 | - * @param null |
|
| 43 | - */ |
|
| 41 | + * @public function constructor |
|
| 42 | + * @param null |
|
| 43 | + */ |
|
| 44 | 44 | |
| 45 | 45 | public function __construct() |
| 46 | 46 | { |
@@ -51,8 +51,8 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @static function getInstance |
|
| 55 | - * @param null |
|
| 54 | + * @static function getInstance |
|
| 55 | + * @param null |
|
| 56 | 56 | * @return UserSearch |
| 57 | 57 | */ |
| 58 | 58 | public static function getInstance() |
@@ -66,10 +66,10 @@ discard block |
||
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
| 69 | - * @public function write |
|
| 70 | - * @param string $module |
|
| 71 | - * @param mixed $table |
|
| 72 | - * @param string $filename |
|
| 69 | + * @public function write |
|
| 70 | + * @param string $module |
|
| 71 | + * @param mixed $table |
|
| 72 | + * @param string $filename |
|
| 73 | 73 | */ |
| 74 | 74 | public function write($module, $table, $filename) |
| 75 | 75 | { |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | /** |
| 117 | - * @public function getAdminPagesList |
|
| 117 | + * @public function getAdminPagesList |
|
| 118 | 118 | * @param $moduleDirname |
| 119 | 119 | * @param $tableName |
| 120 | 120 | * @param $language |
@@ -159,8 +159,8 @@ discard block |
||
| 159 | 159 | } |
| 160 | 160 | |
| 161 | 161 | /** |
| 162 | - * @public function render |
|
| 163 | - * @param null |
|
| 162 | + * @public function render |
|
| 163 | + * @param null |
|
| 164 | 164 | * @return bool|string |
| 165 | 165 | */ |
| 166 | 166 | public function render() |
@@ -253,7 +253,7 @@ |
||
| 253 | 253 | * @param null |
| 254 | 254 | */ |
| 255 | 255 | /** |
| 256 | - * @return bool|string |
|
| 256 | + * @return null|string |
|
| 257 | 257 | */ |
| 258 | 258 | public function render() |
| 259 | 259 | { |
@@ -28,9 +28,9 @@ discard block |
||
| 28 | 28 | class LanguageAdmin extends TDMCreateFile |
| 29 | 29 | { |
| 30 | 30 | /** |
| 31 | - * @public function constructor |
|
| 32 | - * @param null |
|
| 33 | - */ |
|
| 31 | + * @public function constructor |
|
| 32 | + * @param null |
|
| 33 | + */ |
|
| 34 | 34 | |
| 35 | 35 | public function __construct() |
| 36 | 36 | { |
@@ -39,8 +39,8 @@ discard block |
||
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | - * @static function getInstance |
|
| 43 | - * @param null |
|
| 42 | + * @static function getInstance |
|
| 43 | + * @param null |
|
| 44 | 44 | * @return LanguageAdmin |
| 45 | 45 | */ |
| 46 | 46 | public static function getInstance() |
@@ -69,11 +69,11 @@ discard block |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @public function getLanguageAdminIndex |
|
| 73 | - * @param string $language |
|
| 74 | - * @param string $tables |
|
| 75 | - * @return string |
|
| 76 | - */ |
|
| 72 | + * @public function getLanguageAdminIndex |
|
| 73 | + * @param string $language |
|
| 74 | + * @param string $tables |
|
| 75 | + * @return string |
|
| 76 | + */ |
|
| 77 | 77 | public function getLanguageAdminIndex($language, $tables) |
| 78 | 78 | { |
| 79 | 79 | $ret = $this->defines->getAboveHeadDefines('Admin Index'); |
@@ -90,11 +90,11 @@ discard block |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @public function getLanguageAdminPages |
|
| 94 | - * @param string $language |
|
| 95 | - * @param string $tables |
|
| 96 | - * @return string |
|
| 97 | - */ |
|
| 93 | + * @public function getLanguageAdminPages |
|
| 94 | + * @param string $language |
|
| 95 | + * @param string $tables |
|
| 96 | + * @return string |
|
| 97 | + */ |
|
| 98 | 98 | public function getLanguageAdminPages($language, $tables) |
| 99 | 99 | { |
| 100 | 100 | $ret = $this->defines->getAboveHeadDefines('Admin Files'); |
@@ -132,11 +132,11 @@ discard block |
||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | /** |
| 135 | - * @public function getLanguageAdminClass |
|
| 136 | - * @param string $language |
|
| 137 | - * @param string $tables |
|
| 138 | - * @return string |
|
| 139 | - */ |
|
| 135 | + * @public function getLanguageAdminClass |
|
| 136 | + * @param string $language |
|
| 137 | + * @param string $tables |
|
| 138 | + * @return string |
|
| 139 | + */ |
|
| 140 | 140 | public function getLanguageAdminClass($language, $tables) |
| 141 | 141 | { |
| 142 | 142 | $ret = $this->defines->getAboveHeadDefines('Admin Classes'); |
@@ -206,10 +206,10 @@ discard block |
||
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | /** |
| 209 | - * @public function getLanguageAdminPermissions |
|
| 210 | - * @param string $language |
|
| 211 | - * @return string |
|
| 212 | - */ |
|
| 209 | + * @public function getLanguageAdminPermissions |
|
| 210 | + * @param string $language |
|
| 211 | + * @return string |
|
| 212 | + */ |
|
| 213 | 213 | public function getLanguageAdminPermissions($language) |
| 214 | 214 | { |
| 215 | 215 | $ret = $this->defines->getAboveHeadDefines('Admin Permissions'); |
@@ -231,10 +231,10 @@ discard block |
||
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | /** |
| 234 | - * @public function getLanguageAdminFoot |
|
| 235 | - * @param string $language |
|
| 236 | - * @return string |
|
| 237 | - */ |
|
| 234 | + * @public function getLanguageAdminFoot |
|
| 235 | + * @param string $language |
|
| 236 | + * @return string |
|
| 237 | + */ |
|
| 238 | 238 | public function getLanguageAdminFoot($language) |
| 239 | 239 | { |
| 240 | 240 | $ret = $this->defines->getAboveHeadDefines('Admin Others'); |
@@ -245,8 +245,8 @@ discard block |
||
| 245 | 245 | } |
| 246 | 246 | |
| 247 | 247 | /** |
| 248 | - * @public function render |
|
| 249 | - * @param null |
|
| 248 | + * @public function render |
|
| 249 | + * @param null |
|
| 250 | 250 | * @return bool|string |
| 251 | 251 | */ |
| 252 | 252 | public function render() |