Lines Matching refs:related
19 public const TAG = "related";
28 * The array key of an array of related page
33 * to the related page array when the number of backlinks is bigger than the max
125 $related = array();
130 $related[] = $page;
133 usort($related, function ($a, $b) {
138 if (sizeof($related) > $max) {
139 $related = array_slice($related, 0, $max);
142 $related[] = $page;
146 return $related;