X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=includes%2FCategoryfinder.php;h=4a8ed70938424bdf935ee7a27267c86f97eff16c;hb=04a6f70d16c2c079cc08443f0831ebb400aa4eec;hp=cc9bf5e90e1888f9b494ab534e8680c57e4b6e5d;hpb=75c6696aa84712669d2cf82856e2af838ed877e0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Categoryfinder.php b/includes/Categoryfinder.php index cc9bf5e90e..4a8ed70938 100644 --- a/includes/Categoryfinder.php +++ b/includes/Categoryfinder.php @@ -29,6 +29,10 @@ class Categoryfinder { var $targets = array(); # Array of DBKEY category names var $name2id = array(); var $mode; # "AND" or "OR" + + /** + * @var DatabaseBase + */ var $dbr; # Read-DB slave /** @@ -86,9 +90,9 @@ class Categoryfinder { /** * This functions recurses through the parent representation, trying to match the conditions - * @param $id The article/category to check - * @param $conds The array of categories to match - * @param $path used to check for recursion loops + * @param $id int The article/category to check + * @param $conds array The array of categories to match + * @param $path array used to check for recursion loops * @return bool Does this match the conditions? */ function check( $id, &$conds, $path = array() ) {