/** * class constructor * @param string $param_prefix A value to prepended to all of the core parameters of the base class. */ function __construct($param_prefix = '') { parent::__construct(); $this->page = new IntegerContentFilter("Page", $param_prefix . self::PAGE_PARAM, null, null, self::COOKIE_NAME()); $this->listingsLength = new IntegerContentFilter("Page length", $param_prefix . self::LISTINGS_LENGTH_PARAM, null, null, self::COOKIE_NAME()); $this->next = new StringContentFilter("Next", $param_prefix . self::NEXT_OPERATION_PARAM, '', 16, self::COOKIE_NAME()); $this->displayListings = new BooleanContentFilter("Display listings", $param_prefix . self::FILTER_PARAM, false, null, self::COOKIE_NAME()); $this->referringURL = ''; }
function __construct() { parent::__construct(); $this->id = new IntegerInput("id", "ID", null, true); }