Class Socialveo\Frontend\controllers\UsersController

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

Class UsersController

Public Methods

Hide inherited methods

MethodDescriptionDefined By
_t() Gets translations Socialveo\Core\Translatable
activationEmailAction() Activate user via email Socialveo\Frontend\controllers\UsersController
activationSmsAction() Activate user via sms Socialveo\Frontend\controllers\UsersController
afterExecuteRoute() Socialveo\Frontend\controllers\FrontendController
availabilityAction() User availability status Socialveo\Frontend\controllers\UsersController
badgesAction() User badges Socialveo\Frontend\controllers\UsersController
beforeExecuteRoute() Before execute route Socialveo\Frontend\controllers\FrontendController
changeEmailAction() Socialveo\Frontend\controllers\UsersController
changePasswordAction() Chage password user Socialveo\Frontend\controllers\UsersController
checkConfirmEmailAction() Socialveo\Frontend\controllers\UsersController
confirmEmailRepeatAction() Request confirmation mail Socialveo\Frontend\controllers\UsersController
connectProviderAction() Socialveo\Frontend\controllers\UsersController
disconnectProviderAction() Socialveo\Frontend\controllers\UsersController
findModel() Socialveo\Frontend\controllers\UsersController
findUserByUsername() Socialveo\Frontend\controllers\UsersController
fire() Fire custom event Socialveo\Frontend\controllers\FrontendController
followingsAction() Socialveo\Frontend\controllers\UsersController
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
indexAction() Socialveo\Frontend\controllers\UsersController
initialize() Initialize controller Socialveo\Frontend\controllers\FrontendController
mediaAction() User media Socialveo\Frontend\controllers\UsersController
networksAction() Socialveo\Frontend\controllers\UsersController
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
posts() Find posts and attach to page Socialveo\Frontend\controllers\FrontendController
setDebugHeaders() Sets headers for debug XHR Socialveo\Frontend\controllers\FrontendController
setHttpCode() Set response Http code Socialveo\Frontend\controllers\FrontendController
settingsAction() Setting user Socialveo\Frontend\controllers\UsersController
t() Gets translations Socialveo\Core\Translatable
userConnectionsAction() View user's connections. Socialveo\Frontend\controllers\UsersController
userNetworksAction() View user's networks. Socialveo\Frontend\controllers\UsersController
viewAction() View user Socialveo\Frontend\controllers\UsersController

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

activationEmailAction() public method

Activate user via email

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface activationEmailAction ( $user_uuid )
$user_uuid
throws Exception
activationSmsAction() public method

Activate user via sms

public activationSmsAction ( $user_uuid )
$user_uuid
throws Exception
availabilityAction() public method

User availability status

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface availabilityAction ( )
throws Socialveo\Core\exceptions\HttpException
badgesAction() public method

User badges

public void badgesAction ( $username )
$username string
throws Socialveo\Core\exceptions\HttpException
throws Exception
changeEmailAction() public method

public void changeEmailAction ( )
changePasswordAction() public method

Chage password user

public Phalcon\Http\Response changePasswordAction ( )
checkConfirmEmailAction() public method

public void checkConfirmEmailAction ( $hash )
$hash
confirmEmailRepeatAction() public method

Request confirmation mail

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface confirmEmailRepeatAction ( )
connectProviderAction() public method

public void connectProviderAction ( $provider )
$provider
disconnectProviderAction() public method

public void disconnectProviderAction ( $provider )
$provider
findModel() public method

public Socialveo\Core\models\User findModel ( $uuid )
$uuid string
throws Socialveo\Core\exceptions\HttpException
findUserByUsername() public method

public Socialveo\Core\models\User|boolean findUserByUsername ( $url, $forward false )
$url string
$forward boolean|array

[optional]

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

public void followingsAction ( )
indexAction() public method

public void indexAction ( )
mediaAction() public method

User media

public void mediaAction ( $username, $type null )
$username string
$type null
throws Socialveo\Core\exceptions\HttpException
throws Exception
networksAction() public method

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface networksAction ( $page null )
$page integer|null
settingsAction() public method

Setting user

public Phalcon\Http\Response settingsAction ( )
userConnectionsAction() public method

View user's connections.

public void userConnectionsAction ( $username, $filter 'groups' )
$username string
$filter string

[optional]

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

View user's networks.

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface userNetworksAction ( $username, $page null )
$username string
$page integer|null

[optional]

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

View user

public boolean viewAction ( $username null )
$username null|string
throws Socialveo\Core\exceptions\HttpException