@@ -10,7 +10,6 @@ |
||
| 10 | 10 | Released under the GNU General Public License |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | - use OSC\OM\OSCOM; |
|
| 14 | 13 | use OSC\OM\Registry; |
| 15 | 14 | |
| 16 | 15 | class cm_i_new_products { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | Released under the GNU General Public License |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | - use OSC\OM\OSCOM; |
|
| 14 | 13 | use OSC\OM\Registry; |
| 15 | 14 | |
| 16 | 15 | class cm_i_new_products { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | Released under the GNU General Public License |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | - use OSC\OM\OSCOM; |
|
| 14 | 13 | use OSC\OM\Registry; |
| 15 | 14 | |
| 16 | 15 | class cm_i_new_products { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | Released under the GNU General Public License |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | - use OSC\OM\OSCOM; |
|
| 14 | 13 | use OSC\OM\Registry; |
| 15 | 14 | |
| 16 | 15 | class cm_i_new_products { |
@@ -121,6 +121,9 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | } |
| 123 | 123 | |
| 124 | + /** |
|
| 125 | + * @param string $data |
|
| 126 | + */ |
|
| 124 | 127 | public function get($data = null, $language_code = null) |
| 125 | 128 | { |
| 126 | 129 | if (!isset($data)) { |
@@ -246,6 +249,9 @@ discard block |
||
| 246 | 249 | $this->injectDefinitions($defs, $scope); |
| 247 | 250 | } |
| 248 | 251 | |
| 252 | + /** |
|
| 253 | + * @param string $pathname |
|
| 254 | + */ |
|
| 249 | 255 | public function getDefinitions($group, $language_code, $pathname) |
| 250 | 256 | { |
| 251 | 257 | $defs = []; |
@@ -331,6 +337,9 @@ discard block |
||
| 331 | 337 | } |
| 332 | 338 | } |
| 333 | 339 | |
| 340 | + /** |
|
| 341 | + * @param boolean $flag |
|
| 342 | + */ |
|
| 334 | 343 | public function setUseCache($flag) |
| 335 | 344 | { |
| 336 | 345 | $this->use_cache = ($flag === true); |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | namespace OSC\Sites\Shop\Pages\Account\Actions; |
| 10 | 10 | |
| 11 | 11 | use OSC\OM\OSCOM; |
| 12 | -use OSC\OM\Registry; |
|
| 13 | 12 | |
| 14 | 13 | class LogIn extends \OSC\OM\PagesActionsAbstract |
| 15 | 14 | { |
@@ -11,9 +11,7 @@ |
||
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | 13 | use OSC\OM\Cache; |
| 14 | - use OSC\OM\FileSystem; |
|
| 15 | 14 | use OSC\OM\HTTP; |
| 16 | - use OSC\OM\OSCOM; |
|
| 17 | 15 | use OSC\OM\Registry; |
| 18 | 16 | |
| 19 | 17 | class d_partner_news { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use OSC\OM\HTML; |
| 14 | 14 | use OSC\OM\OSCOM; |
| 15 | - use OSC\OM\Registry; |
|
| 16 | 15 | |
| 17 | 16 | require('includes/application_top.php'); |
| 18 | 17 | |
@@ -50,6 +50,9 @@ discard block |
||
| 50 | 50 | return false; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | + /** |
|
| 54 | + * @param integer $expire |
|
| 55 | + */ |
|
| 53 | 56 | public function exists($expire = null) |
| 54 | 57 | { |
| 55 | 58 | $filename = static::$path . $this->key . '.cache'; |
@@ -139,6 +142,9 @@ discard block |
||
| 139 | 142 | return static::$path; |
| 140 | 143 | } |
| 141 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $key |
|
| 147 | + */ |
|
| 142 | 148 | public static function clear($key) |
| 143 | 149 | { |
| 144 | 150 | if (!static::hasSafeName($key)) { |