models/User.php
public function block()
	{
		$this->status = User::STATUS_BLOCKED;

		if ($this->save(FALSE))
			return TRUE;

		return FALSE;
	}
public function block()
	{
		$this->status = User::STATUS_BLOCKED;

		if ($this->save(FALSE))
			return TRUE;

		return FALSE;
	}
public function block ( ) { $ this -> status = User :: STATUS_BLOCKED ; if ( $ this -> save ( FALSE ) ) return TRUE ; return FALSE ; }
Blocks the user and sets the status to BLOCKED
Blocks the user and sets the status to BLOCKED