Completed
Push — development ( e9e0f8...85de3f )
by Thomas
19s
created
htdocs/lib2/logic/cachelist.class.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@  discard block
 block discarded – undo
145 145
         return $this->reCachelist->setValue('description', $desc);
146 146
     }
147 147
 
148
+    /**
149
+     * @param string $pw
150
+     */
148 151
     public function setPassword($pw)
149 152
     {
150 153
         $this->reCachelist->setValue('password', $pw);
@@ -225,6 +228,9 @@  discard block
 block discarded – undo
225 228
         return sql_fetch_assoc_table($rs);
226 229
     }
227 230
 
231
+    /**
232
+     * @param string $wp
233
+     */
228 234
     public function addCacheByWP($wp)
229 235
     {
230 236
         $cache = cache::fromWP($wp);
@@ -261,6 +267,9 @@  discard block
 block discarded – undo
261 267
         return $this->addCache(new cache($cache_id));
262 268
     }
263 269
 
270
+    /**
271
+     * @param cache $cache
272
+     */
264 273
     public function addCache($cache)
265 274
     {
266 275
         if (!$cache->exist() || !$cache->allowView()) {
@@ -496,6 +505,10 @@  discard block
 block discarded – undo
496 505
         return false;
497 506
     }
498 507
 
508
+    /**
509
+     * @param string $condition
510
+     * @param integer $maxitems
511
+     */
499 512
     private static function getLists(
500 513
         $condition,
501 514
         $prio = 0,
Please login to merge, or discard this patch.