public function isCurrent()
    {
        if (AVUser::getCurrentUser() && $this->getObjectId())
        {
            if ($this->getObjectId() == AVUser::getCurrentUser()->getObjectId())
            {
                return true;
            }
        }

        return false;
    }
public function isCurrent()
    {
        if (AVUser::getCurrentUser() && $this->getObjectId())
        {
            if ($this->getObjectId() == AVUser::getCurrentUser()->getObjectId())
            {
                return true;
            }
        }

        return false;
    }
public function isCurrent ( ) { if ( AVUser :: getCurrentUser ( ) && $ this -> getObjectId ( ) ) { if ( $ this -> getObjectId ( ) == AVUser :: getCurrentUser ( ) -> getObjectId ( ) ) { return true ; } } return false ; }
Returns true if this user is the current user.

@return boolean
Returns true if this user is the current user .