public function currentVotesByUser($user = null) {
		if (!$user) {
			$user = $this->securityContext->getMember();
		}
		$votes = MicroPostVote::get()->filter(array('UserID' => $user->ID, 'PostID' => $this->ID));
		return $votes->toArray();
	}
public function currentVotesByUser($user = null) {
		if (!$user) {
			$user = $this->securityContext->getMember();
		}
		$votes = MicroPostVote::get()->filter(array('UserID' => $user->ID, 'PostID' => $this->ID));
		return $votes->toArray();
	}
public function currentVotesByUser ( $ user = null ) { if ( ! $ user ) { $ user = $ this -> securityContext -> getMember ( ) ; } $ votes = MicroPostVote :: get ( ) -> filter ( array ( 'UserID' => $ user -> ID , 'PostID' => $ this -> ID ) ) ; return $ votes -> toArray ( ) ; }
Gets the list of current votes on this object by the current user

@param Member $user

@return ArrayList
Gets the list of current votes on this object by the current user