PHP Класс kartik\social\VKPlugin

Usage: echo VKPlugin::widget([ 'apiId' => 'FACEBOOK_APP_ID', 'type' => VKPlugin::COMMENT, 'settings' => ['colorscheme' => 'dark'] ]);
С версии: 1.0
Автор: Kartik Visweswaran ([email protected])
Наследование: extends Widget
Показать файл Открыть проект

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

Свойство Тип Описание
$apiId the VKontakte Application ID. This is mandatory.
$config the additional
$settings the VKontakte plugin settings that vary based on type.
$type the VKontakte plugin type defaults to VKontakte Comments

Защищенные свойства (Protected)

Свойство Тип Описание
$_initVk whether to initialize VK with the $apiId
$_options the cached options

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

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

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

Метод Описание
getPluginParams ( ) : string Gets the plugin parameter settings for JS code
registerAssets ( ) Registers the necessary assets

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

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

Gets the plugin parameter settings for JS code
protected getPluginParams ( ) : string
Результат string

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

Initialize the widget
public init ( )

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

Registers the necessary assets
protected registerAssets ( )

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

$_initVk защищенное свойство

whether to initialize VK with the $apiId
protected $_initVk

$_options защищенное свойство

the cached options
protected $_options

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

the VKontakte Application ID. This is mandatory.
public $apiId

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

the additional
public $config

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

the VKontakte plugin settings that vary based on type.
public $settings

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

the VKontakte plugin type defaults to VKontakte Comments
public $type