PHP 클래스 Hybrid_Providers_Pinterest

상속: extends Hybrid_Provider_Model_OAuth2
파일 보기 프로젝트 열기: hybridauth/hybridauth

공개 프로퍼티들

프로퍼티 타입 설명
$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