Class Socialveo\Frontend\controllers\ConnectionsController

InheritanceSocialveo\Frontend\controllers\ConnectionsController » Socialveo\Frontend\controllers\FrontendController » Phalcon\Mvc\Controller
Uses TraitsSocialveo\Core\Translatable

Class ConnectionsController

Public Methods

Hide inherited methods

MethodDescriptionDefined By
_t() Gets translations Socialveo\Core\Translatable
afterExecuteRoute() Socialveo\Frontend\controllers\FrontendController
beforeExecuteRoute() Before execute route Socialveo\Frontend\controllers\FrontendController
createAction() Socialveo\Frontend\controllers\ConnectionsController
deleteAction() Delete Socialveo\Frontend\controllers\ConnectionsController
fire() Fire custom event Socialveo\Frontend\controllers\FrontendController
followAction() Follow Socialveo\Frontend\controllers\ConnectionsController
getEmbed() Embed getter method, if embed property is not set, fetches embed from request URL Socialveo\Frontend\controllers\FrontendController
getIsRequestPjax() Checks whether is requested via jquery.pjax Socialveo\Frontend\controllers\FrontendController
getLanguage() Gets language code Socialveo\Frontend\controllers\FrontendController
getParams() Gets $_REQUEST superglobal Socialveo\Frontend\controllers\FrontendController
getRequired() Get required param / params Socialveo\Frontend\controllers\FrontendController
getRequiredQuery() Get required param / params from $_GET Socialveo\Frontend\controllers\FrontendController
initialize() Initialize controller Socialveo\Frontend\controllers\FrontendController
networkAcceptAction() Accept user to join Socialveo\Frontend\controllers\ConnectionsController
networkAction() Ask to join network Socialveo\Frontend\controllers\ConnectionsController
networkDisconnectAction() Removes connection with selected network. Socialveo\Frontend\controllers\ConnectionsController
networkPaymentAction() Payment and join user Socialveo\Frontend\controllers\ConnectionsController
notFound() Not found action Socialveo\Frontend\controllers\FrontendController
partialRender() Renders partial view without layout Socialveo\Frontend\controllers\FrontendController
pick() Pick view Socialveo\Frontend\controllers\FrontendController
possibleNetworkAction() Updates possible networks list after connecting with network in list. Socialveo\Frontend\controllers\ConnectionsController
posts() Find posts and attach to page Socialveo\Frontend\controllers\FrontendController
searchAction() Socialveo\Frontend\controllers\ConnectionsController
setDebugHeaders() Sets headers for debug XHR Socialveo\Frontend\controllers\FrontendController
setHttpCode() Set response Http code Socialveo\Frontend\controllers\FrontendController
statusAction() Change status Socialveo\Frontend\controllers\ConnectionsController
t() Gets translations Socialveo\Core\Translatable
unFollowAction() UnFollow Socialveo\Frontend\controllers\ConnectionsController

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
checkAccess() Checks during the init of controller whether user is a guest. Socialveo\Frontend\controllers\FrontendController
checkIsAjax() Checks whether request is AJAX, redirect if false Usage in action: if (!$this->checkIsAjax()) { return false; } Socialveo\Frontend\controllers\FrontendController
getSocketData() Returns socket events Socialveo\Frontend\controllers\FrontendController
getTranslation() Gets translations Socialveo\Frontend\controllers\FrontendController
initAssets() Initialize assets Socialveo\Frontend\controllers\FrontendController
initViewVars() Sets view vars. Socialveo\Frontend\controllers\FrontendController
redirect() Redirect to url Socialveo\Frontend\controllers\FrontendController
reload() Reload the page Socialveo\Frontend\controllers\FrontendController
renderDefault() Render default page Socialveo\Frontend\controllers\FrontendController
respondWithArray() Returns an error response with an array Socialveo\Frontend\controllers\FrontendController
respondWithItem() Returns a response with a single item Socialveo\Frontend\controllers\FrontendController
respondWithStatus() Returns a response with status and message Socialveo\Frontend\controllers\FrontendController
responseError() Respond with error Socialveo\Frontend\controllers\FrontendController
responseJson() Response json Socialveo\Frontend\controllers\FrontendController
responseSuccess() Respond with success Socialveo\Frontend\controllers\FrontendController

Method Details

createAction() public method

public void createAction ( )
deleteAction() public method

Delete

public Phalcon\Http\Response deleteAction ( $uuid )
$uuid string
throws Socialveo\Core\exceptions\HttpException
followAction() public method

Follow

public Phalcon\Http\Response followAction ( $uuid, $type )
$uuid string
$type string
throws Socialveo\Core\exceptions\HttpException
networkAcceptAction() public method

Accept user to join

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface networkAcceptAction ( $uuid )
$uuid string

Connection uuid

throws Socialveo\Core\exceptions\HttpException
throws Exception
networkAction() public method

Ask to join network

public Phalcon\Http\Response networkAction ( $uuid )
$uuid string
throws Socialveo\Core\exceptions\HttpException
networkDisconnectAction() public method

Removes connection with selected network.

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface networkDisconnectAction ( $uuid )
$uuid string

Network uuid

throws Socialveo\Core\exceptions\HttpException
throws Exception
networkPaymentAction() public method

Payment and join user

public Phalcon\Http\Response networkPaymentAction ( $uuid )
$uuid
throws Socialveo\Core\exceptions\HttpException
possibleNetworkAction() public method

Updates possible networks list after connecting with network in list.

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface possibleNetworkAction ( $uuid )
$uuid
throws Socialveo\Core\exceptions\HttpException
searchAction() public method

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface searchAction ( )
statusAction() public method

Change status

public Phalcon\Http\Response statusAction ( $uuid, $status )
$uuid string
$status integer
throws Socialveo\Core\exceptions\HttpException
unFollowAction() public method

UnFollow

public Phalcon\Http\Response unFollowAction ( $uuid )
$uuid string
throws Socialveo\Core\exceptions\HttpException