PHP Class seregazhuk\PinterestBot\Api\Providers\Comments

Inheritance: extends Provider
Afficher le fichier Open project: seregazhuk/php-pinterest-bot Class Usage Examples

Protected Properties

Свойство Type Description
$loginRequiredFor array

Méthodes publiques

Méthode Description
create ( integer $pinId, string $text ) : array | boolean Write a comment for a pin with current id.
delete ( string $pinId, integer $commentId ) : boolean Delete a comment for a pin with current id.

Method Details

create() public méthode

Write a comment for a pin with current id.
public create ( integer $pinId, string $text ) : array | boolean
$pinId integer
$text string Comment
Résultat array | boolean

delete() public méthode

Delete a comment for a pin with current id.
public delete ( string $pinId, integer $commentId ) : boolean
$pinId string
$commentId integer
Résultat boolean

Property Details

$loginRequiredFor protected_oe property

protected array $loginRequiredFor
Résultat array