PHP Class DirkGroenen\Pinterest\Endpoints\Boards

Inheritance: extends DirkGroenen\Pinterest\Endpoints\Endpoint
Afficher le fichier Open project: dirkgroenen/pinterest-api-php

Méthodes publiques

Méthode Description
create ( array $data ) : Board Create a new board
delete ( string $board_id ) : boolean Delete a board
edit ( string $board_id, array $data, string $fields = null ) : Board Edit a board
get ( string $board_id, array $data = [] ) : Board Find the provided board

Method Details

create() public méthode

Create a new board
public create ( array $data ) : Board
$data array
Résultat DirkGroenen\Pinterest\Models\Board

delete() public méthode

Delete a board
public delete ( string $board_id ) : boolean
$board_id string
Résultat boolean

edit() public méthode

Edit a board
public edit ( string $board_id, array $data, string $fields = null ) : Board
$board_id string
$data array
$fields string
Résultat DirkGroenen\Pinterest\Models\Board

get() public méthode

Find the provided board
public get ( string $board_id, array $data = [] ) : Board
$board_id string
$data array
Résultat DirkGroenen\Pinterest\Models\Board