AnsPress_Reputation_Query::rewind_reputation()

Description #

Rewind the reputations and reset index.

Source #

File: includes/reputation.php

	public function rewind_reputation() {
		$this->current = -1;
		if ( $this->count > 0 ) {
			$this->reputation = $this->reputations[0];
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment