* */ /** * Class admin : contains all the administration functions and the administration menu management * * @author Claire Figueras * @license GPL * @package Maarch LetterBox 2.3 * @version 1.1 */ class admin { /** * Allow to modify admin link * * @access private * @param string [$what] users, types ou hist * @return string url * */ private function adminlink($what) { // Allow to modify admin link $link = ""; if($what == "users") { $link = "index.php?page=users"; } elseif($what == "types") { $link = "index.php?page=types"; } elseif($what == "hist") { $link = "index.php?page=hist"; } elseif($what == "groups") { $link = "index.php?page=groups"; } elseif($what == "admin") { $link = "index.php?page=admin"; } elseif($what == "basket") { $link = "index.php?page=basket"; } elseif($what == "liste") { $link = "index.php?page=liste"; } elseif($what == "models") { $link = "index.php?page=models"; } elseif($what == "emet") { $link = "index.php?page=emet"; } echo $link; } /** * Explain all the administration functions */ public function bigmenu() { // Explain all the administration functions ?>