Tsugi

Profile extends Controller
in package

Base class for Lumos controllers.

Table of Contents

Constants

REDIRECT  : mixed = 'tsugi_controllers_profile'
ROUTE  : mixed = '/profile'

Methods

checkbox()  : mixed
getProfile()  : mixed
option()  : mixed
postProfile()  : mixed
radio()  : mixed
routes()  : mixed
supporterPremiumUntil()  : string|false

Constants

REDIRECT

public mixed REDIRECT = 'tsugi_controllers_profile'

ROUTE

public mixed ROUTE = '/profile'

Methods

checkbox()

public static checkbox(mixed $var, mixed $num, mixed $initialVal) : mixed
Parameters
$var : mixed
$num : mixed
$initialVal : mixed

option()

public static option(mixed $num, mixed $val) : mixed
Parameters
$num : mixed
$val : mixed

radio()

public static radio(mixed $var, mixed $num, mixed $val) : mixed
Parameters
$var : mixed
$num : mixed
$val : mixed

routes()

public static routes(Application $app[, mixed $prefix = self::ROUTE ]) : mixed
Parameters
$app : Application
$prefix : mixed = self::ROUTE

supporterPremiumUntil()

public static supporterPremiumUntil(Profile $profile) : string|false
Parameters
$profile : Profile
Return values
string|false

        
On this page

Search results