Esempio n. 1
0
	public function reset(){
		parent::reset();
		$fields = array('name', 'username', 'email', 'blocked', 'registerDate', 'lastvisitDate');
		foreach ($fields as $field) {
			$this->$field = null;
		}
	}
Esempio n. 2
0
	function reset() {
		parent::reset();
		$this->message = null;
	}
Esempio n. 3
0
 public function reset()
 {
     parent::reset();
     $fields = array('name', 'username', 'blocked');
     foreach ($fields as $field) {
         $this->{$field} = '';
     }
 }