PHP Class SevenShores\Hubspot\Resources\BlogTopics

Inheritance: extends Resource
Afficher le fichier Open project: fungku/hubspot-php

Méthodes publiques

Méthode Description
all ( array $params = [] ) : Response Get all the blog topcis
create ( string $name, array $params = [] ) : Response Create a new blog topic.
delete ( integer $id ) : Response Delete a blog topic.
getById ( integer $id ) : Response
merge ( array $topicIds, string $groupedTopicName ) : Response Group blog topics
search ( string $query, array $params = [] ) : Response Search a topic by the query. $query will match name and slug partially
update ( integer $id, array $params = [] ) : Response Update a blog topic.

Method Details

all() public méthode

Get all the blog topcis
public all ( array $params = [] ) : Response
$params array Optional parameters ['name','slug','limit','offset']
Résultat SevenShores\Hubspot\Http\Response

create() public méthode

Create a new blog topic.
public create ( string $name, array $params = [] ) : Response
$name string Name of the topic
$params array Optional Parameters.
Résultat SevenShores\Hubspot\Http\Response

delete() public méthode

Delete a blog topic.
public delete ( integer $id ) : Response
$id integer
Résultat SevenShores\Hubspot\Http\Response

getById() public méthode

public getById ( integer $id ) : Response
$id integer
Résultat SevenShores\Hubspot\Http\Response

merge() public méthode

Group blog topics
public merge ( array $topicIds, string $groupedTopicName ) : Response
$topicIds array Array of topic ids
$groupedTopicName string New name of the group
Résultat SevenShores\Hubspot\Http\Response

update() public méthode

Update a blog topic.
public update ( integer $id, array $params = [] ) : Response
$id integer The blog topic id.
$params array The blog topic fields to update.
Résultat SevenShores\Hubspot\Http\Response