public function __construct() { $this->renderer = new List_Dir_Renderer(); $this->convertHTTPVars(); // echo "Get Data:<br/>"; // debug($this->get); // echo "Post Data:<br/>"; // debug($this->post); $this->loadDB(); $this->mask = current(List_Dir_MySQL::findInTable(LIST_DIR_TABLE, "id", "1"))['mask']; $this->chooseMethod(); return true; }