getPosition(); } asort($toSort); $tools = array(); foreach ($toSort as $key => $value) { $tools[] = new $key(); } echo "

 

\n"; // print tools table echo "\n"; for ($i = 0; $i < sizeof($tools); $i++) { // check access level if ($tools[$i]->getRequiresWriteAccess() && !checkIfWriteAccessIsAllowed()) { continue; } if ($tools[$i]->getRequiresPasswordChangeRights() && !checkIfPasswordChangeIsAllowed()) { continue; } // print tool echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; echo "\n"; } echo "
   
"; echo "getLink() . "\">"; echo "getImageLink() . "\" alt=\"" . $tools[$i]->getName() . "\">"; echo "  " . $tools[$i]->getName() . ""; echo "\n"; echo "

     "; echo $tools[$i]->getDescription(); echo "   
\n"; echo "\n"; echo "\n"; ?>