PHP 클래스 SevenShores\Hubspot\Resources\BlogTopics

상속: extends Resource
파일 보기 프로젝트 열기: fungku/hubspot-php

공개 메소드들

메소드 설명
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.

메소드 상세

all() 공개 메소드

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

create() 공개 메소드

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

delete() 공개 메소드

Delete a blog topic.
public delete ( integer $id ) : Response
$id integer
리턴 SevenShores\Hubspot\Http\Response

getById() 공개 메소드

public getById ( integer $id ) : Response
$id integer
리턴 SevenShores\Hubspot\Http\Response

merge() 공개 메소드

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

update() 공개 메소드

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.
리턴 SevenShores\Hubspot\Http\Response