Moves backward to the previous item. If already at the first item, moves to the last one.

Returns

mixed The current item after moving.

Source

						public function prev() {
		if (!prev($this->_data)) {
			end($this->_data);
		}
		return current($this->_data);
	}