Resets post given thumb.
@param ModelInterface $post
@return PodiumResponse
@throws NoMembershipException
550603
public function thumbResetPost(ModelInterface $post): PodiumResponse
    {
        return $this->getPodium()->post->thumbReset($this->ensureMembership(), $post);
    }
795644
public function reset($input, array $queryParams = [])
    {
        $response = $this->api->users()->reset($input->toArray(), $queryParams);

        return new UserResponse($response);
    }
525880
public function resetPassword(IdentityToolkit_IdentitytoolkitRelyingpartyResetPasswordRequest $postBody, $optParams = array())
  {
    $params = array('postBody' => $postBody);
    $params = array_merge($params, $optParams);
    return $this->call('resetPassword', array($params), "IdentityToolkit_ResetPasswordResponse");
  }
752049
public function unignoreMember(MembershipInterface $target): PodiumResponse
    {
        return $this->getPodium()->member->unignore($this->ensureMembership(), $target);
    }
1124663
public function thumbUp(MembershipInterface $member, ModelInterface $post): PodiumResponse
    {
        $liking = $this->getLiker();

        $liking->setMember($member);
        $liking->setPost($post);

        return $liking->thumbUp();
    }
700043
public function remove(int $id): PodiumResponse
    {
        $postRemover = $this->getRemover($id);

        if ($postRemover === null) {
            throw new ModelNotFoundException('Post of given ID can not be found.');
        }

        return $postRemover->remove();
    }
818733
public function revive(int $id): PodiumResponse
    {
        $postArchiver = $this->getArchiver($id);

        if ($postArchiver === null) {
            throw new ModelNotFoundException('Post of given ID can not be found.');
        }

        return $postArchiver->revive();
    }
448390
public function addPost(Post $post)
    {
        $postName = $post->getName();

        if ($this->isPostRegistered($postName)) {
            throw new \InvalidArgumentException("Duplicate post $postName");
        }

        $this->registerPost($post);
    }
744007
public function Reset()
	{
		parent::Reset();
		$this->index = 0;
		if ( ! is_null( $this->candidates ) ) return;
		$this->memberPath = null;
	}
915056
function _reset_pointer( $id = 'me' ) {
    if ( $id === 'me' ) {
	$id = get_current_user_id();
    }
    $pointers = explode( ',', get_user_meta( $id, 'dismissed_wp_pointers', true ) );
    foreach ( $pointers as $key => $pointer ) {
	if ( strpos( $pointer, $this->prefix ) === 0 ) {
	  unset( $pointers[ $key ] );
	}
    }
    $meta = implode( ',', $pointers );

    update_user_meta( get_current_user_id(), 'dismissed_wp_pointers', $meta );
  }
614563
public function move(int $id, ModelInterface $category): PodiumResponse
    {
        $forumMover = $this->getMover($id);

        if ($forumMover === null) {
            throw new ModelNotFoundException('Forum of given ID can not be found.');
        }

        $forumMover->prepareCategory($category);

        return $forumMover->move();
    }
943957
public function delete($user, Post $post)
    {
        return Gate::forUser($user)->allows('deletePosts', $post->thread) || $user->getKey() === $post->author_id;
    }
475786
public function setAuthors($post)
	{
		$username = $post->getAuthor()->getUsername();

		if(in_array($username, array_keys($this->config['authors'])))
		{
			if(in_array($username, $this->authorsName))
			{
				$this->authors[$username]->setPost($post);
			}
			else 
			{
				$this->authors[$username] = new Author($username, $this->config['authors'][$username]['name'], $this->config['authors'][$username]['email'], $this->config['authors'][$username]['facebook'], $this->config['authors'][$username]['twitter'], $this->config['authors'][$username]['github']);
				$this->authors[$username]->setPost($post);
				$this->authorsName[] = $username;	
			}
		}
	}
710050
public function move(int $id, ModelInterface $thread): PodiumResponse
    {
        $postMover = $this->getMover($id);

        if ($postMover === null) {
            throw new ModelNotFoundException('Post of given ID can not be found.');
        }

        $postMover->prepareThread($thread);

        return $postMover->move();
    }
41925
public function archive(int $id, MembershipInterface $participant): PodiumResponse
    {
        $messageArchiver = $this->getArchiver($id, $participant);

        if ($messageArchiver === null) {
            throw new ModelNotFoundException('Message copy of given ID and side can not be found.');
        }

        return $messageArchiver->archive();
    }
593391
public function remove(int $id): PodiumResponse
    {
        $pollRemover = $this->getRemover($id);

        if ($pollRemover === null) {
            throw new ModelNotFoundException('Poll of given ID can not be found.');
        }

        return $pollRemover->remove();
    }
387270
public static function reset($object)
	{
		if (!($object instanceof ServiceDescriptorProto)) {
			throw new \InvalidArgumentException('You have to pass object of class Google\Protobuf\ServiceDescriptorProto.');
		}
		$object->name = NULL;
		$object->method = NULL;
		$object->options = NULL;
	}