/** * standard constructor * @param string Text displayed in the title-bar of the filter box * @param string Identifier for using several such boxes. * @param string table where the values are * @param string Name of the Column for the names to display * @param string Name of the Column for the values that correspond to the names * @param string Filter-Condition for filtering values */ function SelectMenu($title, $identifier, $table, $namecol, $valuecol, $cond) { StdMenu::StdMenu($title); $this->identifier = $identifier; $this->table = $table; $this->namecol = $namecol; $this->valuecol = $valuecol; $this->cond = $cond; $this->formname = "f".$identifier; $this->selected = initValue($identifier, $identifier, "0"); }
/** * standard constructor * @param string Text displayed in the title-bar of the filter box * @param Filter reference to a Filter-Object. */ function StatsMenu() { global $lang; StdMenu::StdMenu($lang->get("statistics", "Statistics")); }