PHP Класс Hybrid_Providers_Pinterest

Наследование: extends Hybrid_Provider_Model_OAuth2
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$scope

Открытые методы

Метод Описание
createUserBoard ( string $title, string $description = NULL ) : mixed Creates a board for the authenticated user.
createUserPin ( string $username, string $board_name, string $note, string $img_type, string $image, string $link = NULL ) : mixed Creates a pin for the authenticated user.
deleteUserBoard ( string $username, string $board_name ) : mixed Deletes the specified board.
getUserBoard ( string $username, string $board_name ) : mixed Returns specified board for the authenticated user.
getUserBoardPins ( string $username, string $board_name ) : mixed Returns a list of pins on the board.
getUserBoards ( ) : mixed Returns a list of the authenticated user's public boards.
getUserProfile ( )
initialize ( )
loginBegin ( )
loginFinish ( )

Описание методов

createUserBoard() публичный Метод

Creates a board for the authenticated user.
public createUserBoard ( string $title, string $description = NULL ) : mixed
$title string Board title
$description string Board description
Результат mixed Success: array with fields ID, url and name Query error: array with fields message, error code Other error: Null

createUserPin() публичный Метод

Creates a pin for the authenticated user.
public createUserPin ( string $username, string $board_name, string $note, string $img_type, string $image, string $link = NULL ) : mixed
$username string User's display name.
$board_name string Board machine name.
$note string Pin's description.
$img_type string image: upload the image you want to pin using multipart form data. image_url: the link to the image that you want to pin. image_base64: the link of a base64 encoded image.
$image string Pin's image.
$link string URL the pin will link to when you click through.
Результат mixed Success: array with pin fields ID, note, url, link. Query error: array with fields message, error code. Other error: Null.

deleteUserBoard() публичный Метод

Deletes the specified board.
public deleteUserBoard ( string $username, string $board_name ) : mixed
$username string User's display name.
$board_name string Board machine name.
Результат mixed Success: array with succes field. Query error: array with fields message, error code. Other error: Null.

getUserBoard() публичный Метод

Returns specified board for the authenticated user.
public getUserBoard ( string $username, string $board_name ) : mixed
$username string User's display name.
$board_name string Board machine name.
Результат mixed Success: array with fields ID, url and name. Query error: array with fields message, error code. Other error: Null.

getUserBoardPins() публичный Метод

Returns a list of pins on the board.
public getUserBoardPins ( string $username, string $board_name ) : mixed
$username string User's display name.
$board_name string Board machine name.
Результат mixed Success: list with arrays including pin fields ID, url, link and description. Query error: array with fields message, error code. Other error: Null.

getUserBoards() публичный Метод

Returns a list of the authenticated user's public boards.
public getUserBoards ( ) : mixed
Результат mixed Success: list arrays with fields ID, url and name. Query error: array with fields message, error code. Other error: Null.

getUserProfile() публичный Метод

public getUserProfile ( )

initialize() публичный Метод

public initialize ( )

loginBegin() публичный Метод

public loginBegin ( )

loginFinish() публичный Метод

public loginFinish ( )

Описание свойств

$scope публичное свойство

public $scope