\UsersAvatarController

UsersAvatarController

Summary

Methods
Properties
Constants
beforeRender()
download()
$components
No constants found
_downloadNoImage()
_getSimpleModel()
_getBindParamsForUser()
_getQueryForUser()
_getBindParamsForUserAttributeSetting()
_getQueryForUserAttributeSetting()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$components

$components : array

use component

Type

array

Methods

beforeRender()

beforeRender() : void

beforeRender

download()

download() : void

download method

Throws

\NotFoundException

_downloadNoImage()

_downloadNoImage(\Model  $User, array  $user) : void

download method

Parameters

\Model $User

User model(AppModel)

array $user

User data

_getSimpleModel()

_getSimpleModel(string  $modelName) : void

download method

Parameters

string $modelName

Model name

_getBindParamsForUser()

_getBindParamsForUser() : void

get bind params for User

_getQueryForUser()

_getQueryForUser() : void

get query for User

_getBindParamsForUserAttributeSetting()

_getBindParamsForUserAttributeSetting(array  $user) : void

get bind params for UserAttributeSetting

Parameters

array $user

User data

_getQueryForUserAttributeSetting()

_getQueryForUserAttributeSetting() : void

get query for UserAttributeSetting