public function profile()
    {
        if ($this->config()->get('disable_profiles')) {
            $this->httpError(404, 'Not Found');
        }

        $profile = $this->getCurrentProfile();

        if (!$profile) {
            return $this->httpError(404, 'Not Found');
        }

        $this->blogPosts = $this->getCurrentProfilePosts();

        return $this->render();
    }
public function profile()
    {
        if ($this->config()->get('disable_profiles')) {
            $this->httpError(404, 'Not Found');
        }

        $profile = $this->getCurrentProfile();

        if (!$profile) {
            return $this->httpError(404, 'Not Found');
        }

        $this->blogPosts = $this->getCurrentProfilePosts();

        return $this->render();
    }
public function profile ( ) { if ( $ this -> config ( ) -> get ( 'disable_profiles' ) ) { $ this -> httpError ( 404 , 'Not Found' ) ; } $ profile = $ this -> getCurrentProfile ( ) ; if ( ! $ profile ) { return $ this -> httpError ( 404 , 'Not Found' ) ; } $ this -> blogPosts = $ this -> getCurrentProfilePosts ( ) ; return $ this -> render ( ) ; }
Renders a Blog Member's profile.

@throws HTTPResponse_Exception

@return string
Renders a Blog Member s profile .