\VKControllerExtension
Main controller class to handle VK Connect implementations. Extends the built in SilverStripe controller to add addition template functionality.
Synopsis
class VKControllerExtension
extends Extension
{
- // members
- private static string $app_id = '';
- private static string $api_secret = '';
- private static bool $create_member = true;
- private static bool $sync_member_details = true;
- private Core $helper;
- private Auth $session;
- private $userID;
- // methods
- public void init()
- public void getVKHelper()
- public void getVKUserID()
- public string getVKLoginLink()
- public string getCurrentPageURL()
Hierarchy
Extends
- SilverStripe\Core\Extension
Members
private
- $api_secret — string
- $app_id — string
- $create_member — bool
- $helper — getjump\Vk\Core
- $session — getjump\Vk\Auth
- $sync_member_details — bool
- $userID — string