\seekquarry\yioop\viewsRegisterView

Draws the page that allows a user to register for an account

Summary

Methods
Properties
Constants
__construct()
element()
helper()
render()
renderView()
$layout
$controller_object
$layout_object
$logo_alt_text
$captchas_qa
$recovery_qa
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$layout

$layout : string

This view is drawn on a web layout

Type

string

$controller_object

$controller_object : object

The name of the type of controller object that is sending data to the view

Type

object

$layout_object

$layout_object : object

The reference to the layout object that the view is drawn on

Type

object

$logo_alt_text

$logo_alt_text : string

Logo image text name

Type

string

$captchas_qa

$captchas_qa : array

An array of triples, each triple consisting of a question of the form Which is the most.

.? followed by one of the form Which is the least ..? followed by a string which is a comma separated list of possibilities arranged from least to most. The values for these triples are determined via the translate function tl. So can be set under Manage Locales by editing their values for the desired locale. You can also change them in the Security element

Type

array

$recovery_qa

$recovery_qa : array

An array of triples, each triple consisting of a question of the form Which is your favorite.

.? followed by one of the form Which is your like the least..? followed by a string which is a comma separated choices. The values for these triples are determined via the translate function tl. So can be set under Manage Locales by editing their values for the desired locale.

Type

array

Methods

__construct()

__construct(object  $controller_object = null) 

Besides setting calling the constructor for the base class this constructor also sets up the captchas_qa and recovery_qa arrays so they can be localized. The reason for putting these arrays in a view is so that multiple controllers/components can see and manipulate them

Parameters

object $controller_object

that is using this view

element()

element(string  $element) 

Dynamic loader for Element objects which might live on the current View

Parameters

string $element

name of Element to return

helper()

helper(string  $helper) 

Dynamic loader for Helper objects which might live on the current View

Parameters

string $helper

name of Helper to return

render()

render(array  $data) 

This method is responsible for drawing both the layout and the view. It should not be modified to change the display of then view. Instead, implement renderView.

Parameters

array $data

an array of values set up by a controller to be used in rendering the view

renderView()

renderView(array  $data) 

Draws the create account web page.

Parameters

array $data

contains the anti CSRF token the view, data for captcha and recover dropdowns