PHP Класс kartik\social\GooglePlugin

Usage: echo GooglePlugin::widget([ 'type' => GooglePlugin::SHARE ]);
С версии: 1.0
Автор: Kartik Visweswaran ([email protected])
Наследование: extends Widget
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$clientId the Google Plus Client ID.
$communityId the Google Plus Community ID.
$pageId the Google Page ID.
$profileId the Google Plus Profile ID.
$signinOptions the HTML attributes for the signin container
$type the Google plugin type defaults to Google Plus One

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

Метод Описание
init ( ) Initialize the widget

Защищенные методы

Метод Описание
registerAssets ( ) Registers the necessary assets
setPluginOptions ( $convertLowerCase = true ) Sets the options for the Google plugin

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

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

Initialize the widget
public init ( )

registerAssets() защищенный Метод

Registers the necessary assets
protected registerAssets ( )

setPluginOptions() защищенный Метод

Sets the options for the Google plugin
protected setPluginOptions ( $convertLowerCase = true )

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

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

the Google Plus Client ID.
public $clientId

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

the Google Plus Community ID.
public $communityId

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

the Google Page ID.
public $pageId

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

the Google Plus Profile ID.
public $profileId

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

the HTML attributes for the signin container
public $signinOptions

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

the Google plugin type defaults to Google Plus One
public $type