public function getCurrentProfilePosts()
    {
        $profile = $this->getCurrentProfile();

        if ($profile) {
            return $profile->BlogPosts()->filter('ParentID', $this->ID);
        }

        return null;
    }
public function getCurrentProfilePosts()
    {
        $profile = $this->getCurrentProfile();

        if ($profile) {
            return $profile->BlogPosts()->filter('ParentID', $this->ID);
        }

        return null;
    }
public function getCurrentProfilePosts ( ) { $ profile = $ this -> getCurrentProfile ( ) ; if ( $ profile ) { return $ profile -> BlogPosts ( ) -> filter ( 'ParentID' , $ this -> ID ) ; } return null ; }
Get posts related to the current Member profile.

@return null|DataList
Get posts related to the current Member profile .