public function getModel()
    {
        if (!$this->isLoggedIn()) {
            throw new NotLoggedInException();
        }

        if (isset($this->loggedInUserIdentifier)) {
            try {
                return SolutionSchema::getModel($this->modelClassName, $this->loggedInUserIdentifier);
            } catch (RecordNotFoundException $er) {
                throw new NotLoggedInException();
            }
        }

        throw new NotLoggedInException();
    }
public function getModel()
    {
        if (!$this->isLoggedIn()) {
            throw new NotLoggedInException();
        }

        if (isset($this->loggedInUserIdentifier)) {
            try {
                return SolutionSchema::getModel($this->modelClassName, $this->loggedInUserIdentifier);
            } catch (RecordNotFoundException $er) {
                throw new NotLoggedInException();
            }
        }

        throw new NotLoggedInException();
    }
public function getModel ( ) { if ( ! $ this -> isLoggedIn ( ) ) { throw new NotLoggedInException ( ) ; } if ( isset ( $ this -> loggedInUserIdentifier ) ) { try { return SolutionSchema :: getModel ( $ this -> modelClassName , $ this -> loggedInUserIdentifier ) ; } catch ( RecordNotFoundException $ er ) { throw new NotLoggedInException ( ) ; } } throw new NotLoggedInException ( ) ; }
Returns the model object for the logged in user.

@return \Rhubarb\Stem\Models\Model
@throws NotLoggedInException
Returns the model object for the logged in user .