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