Creates a new bookmark for the currently-matched token and returns the generated name.
Source
private function bookmark_token() {
if ( ! parent::set_bookmark( ++$this->bookmark_counter ) ) {
$this->last_error = self::ERROR_EXCEEDED_MAX_BOOKMARKS;
throw new Exception( 'could not allocate bookmark' );
}
return "{$this->bookmark_counter}";
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.