/** * Gets the list of unapproved posts for the current user * * @param int User id. If not specified will take current User * @param mixed Options used for pagination: * page int number of the current page * perpage int number of the results expected per page. * totalcount bool flag to indicate if we need to get the pending posts totalcount * * @return mixed Array containing the pending posts nodeIds with contenttypeid associated. */ public function listPendingPosts($options = array()) { return $this->library->listPendingPosts(vB::getCurrentSession()->get('userid'), $options); }