public function __construct($onupdate = false, $username) { parent::__construct($onupdate); $this->default_username = $username; }
public function __construct($onupdate = false, $username_constant) { parent::__construct($onupdate); $this->constant = $username_constant; }
public function __construct($onupdate = false, $ascending = true) { parent::__construct($onupdate); $this->function = $ascending ? 'max' : 'min'; $this->counter = $ascending ? '+1' : '-1'; }