@@ -6,9 +6,7 @@ |
||
| 6 | 6 | defined('PH7') or exit('Restricted access'); |
| 7 | 7 | |
| 8 | 8 | use PH7\Framework\Translate\Adapter\Gettext\StreamReader; |
| 9 | -use PH7\Framework\Translate\Adapter\Gettext\StringReader; |
|
| 10 | 9 | use PH7\Framework\Translate\Adapter\Gettext\FileReader; |
| 11 | -use PH7\Framework\Translate\Adapter\Gettext\CachedFileReader; |
|
| 12 | 10 | |
| 13 | 11 | |
| 14 | 12 | /* |
@@ -7,9 +7,8 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace PH7; |
| 9 | 9 | |
| 10 | -use |
|
| 11 | -PH7\Framework\Mvc\Router\Uri, |
|
| 12 | -PH7\Framework\Url\Header; |
|
| 10 | +use PH7\Framework\Mvc\Router\Uri; |
|
| 11 | +use PH7\Framework\Url\Header; |
|
| 13 | 12 | |
| 14 | 13 | class AdminBlogForm |
| 15 | 14 | { |
@@ -7,10 +7,9 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace PH7; |
| 9 | 9 | |
| 10 | -use |
|
| 11 | -PH7\Framework\Config\Config, |
|
| 12 | -PH7\Framework\Mvc\Model\DbConfig, |
|
| 13 | -PH7\Framework\Mvc\Request\Http; |
|
| 10 | +use PH7\Framework\Config\Config; |
|
| 11 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
| 12 | +use PH7\Framework\Mvc\Request\Http; |
|
| 14 | 13 | |
| 15 | 14 | class MsgForm |
| 16 | 15 | { |
@@ -7,11 +7,10 @@ |
||
| 7 | 7 | */ |
| 8 | 8 | namespace PH7; |
| 9 | 9 | |
| 10 | -use |
|
| 11 | -PH7\Framework\Session\Session, |
|
| 12 | -PH7\Framework\Mvc\Model\DbConfig, |
|
| 13 | -PH7\Framework\Mvc\Router\Uri, |
|
| 14 | -PH7\Framework\Url\Header; |
|
| 10 | +use PH7\Framework\Session\Session; |
|
| 11 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
| 12 | +use PH7\Framework\Mvc\Router\Uri; |
|
| 13 | +use PH7\Framework\Url\Header; |
|
| 15 | 14 | |
| 16 | 15 | class NoteForm |
| 17 | 16 | { |
@@ -629,7 +629,7 @@ |
||
| 629 | 629 | * @param string $sModName Module Name. |
| 630 | 630 | * @param string $sStatus '1' = Enabled | '0' = Disabled (need to be string because in DB it is an "enum"). |
| 631 | 631 | * |
| 632 | - * @return mixed (integer | boolean) Returns the number of rows on success or FALSE on failure. |
|
| 632 | + * @return boolean (integer | boolean) Returns the number of rows on success or FALSE on failure. |
|
| 633 | 633 | */ |
| 634 | 634 | private function _updateMods(Db $oDb, $sModName, $sStatus) |
| 635 | 635 | { |
@@ -179,6 +179,13 @@ |
||
| 179 | 179 | } |
| 180 | 180 | } |
| 181 | 181 | |
| 182 | +/** |
|
| 183 | + * @param string $name |
|
| 184 | + * @param string $extra |
|
| 185 | + * @param string $separator |
|
| 186 | + * @param boolean $labels |
|
| 187 | + * @param boolean $label_ids |
|
| 188 | + */ |
|
| 182 | 189 | function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels, |
| 183 | 190 | $label_ids, $escape = true) |
| 184 | 191 | { |
@@ -166,6 +166,14 @@ |
||
| 166 | 166 | } |
| 167 | 167 | } |
| 168 | 168 | |
| 169 | +/** |
|
| 170 | + * @param string $name |
|
| 171 | + * @param string $extra |
|
| 172 | + * @param string $separator |
|
| 173 | + * @param boolean $labels |
|
| 174 | + * @param boolean $label_ids |
|
| 175 | + * @param boolean $escape |
|
| 176 | + */ |
|
| 169 | 177 | function smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, |
| 170 | 178 | $escape) |
| 171 | 179 | { |
@@ -1093,7 +1093,7 @@ discard block |
||
| 1093 | 1093 | * @param object $parent next higher level of Smarty variables |
| 1094 | 1094 | * @param boolean $do_clone flag is Smarty object shall be cloned |
| 1095 | 1095 | * |
| 1096 | - * @return object template object |
|
| 1096 | + * @return Smarty_Internal_Template template object |
|
| 1097 | 1097 | */ |
| 1098 | 1098 | public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true) |
| 1099 | 1099 | { |
@@ -1169,7 +1169,7 @@ discard block |
||
| 1169 | 1169 | * @param string $template_name |
| 1170 | 1170 | * @param null|mixed $cache_id |
| 1171 | 1171 | * @param null|mixed $compile_id |
| 1172 | - * @param null $caching |
|
| 1172 | + * @param integer $caching |
|
| 1173 | 1173 | * @param \Smarty_Internal_Template $template |
| 1174 | 1174 | * |
| 1175 | 1175 | * @return string |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | * |
| 166 | 166 | * @param Smarty_Internal_Template $_template template object |
| 167 | 167 | * |
| 168 | - * @return string|boolean content |
|
| 168 | + * @return string|false content |
|
| 169 | 169 | */ |
| 170 | 170 | public function readCachedContent(Smarty_Internal_Template $_template) |
| 171 | 171 | { |