Methods
__call()
__call($method, $args)
Inherited
inherited_from |
\Visitor::__call() |
inherited_from |
\PageRender::__call() |
Parameters
$method
$args
__construct()
__construct($server_id, $template_id)
Inherited
inherited_from |
\PageRender::__construct() |
Parameters
$server_id
$template_id
Initialise and Render the TemplateRender
accept($norender)
Draw all hidden attributes
drawHiddenAttributes()
Inherited
inherited_from |
\PageRender::drawHiddenAttributes() |
drawSubTitle()
drawSubTitle($subtitle)
drawTitle()
drawTitle($title)
Return the LDAP server ID
getServerID() : int
Inherited
inherited_from |
\Visitor::getServerID() |
inherited_from |
\PageRender::getServerID() |
Returns
int
Server ID
getTemplate()
getTemplate()
Inherited
inherited_from |
\PageRender::getTemplate() |
getTemplateID()
getTemplateID()
Inherited
inherited_from |
\PageRender::getTemplateID() |
setContainer()
setContainer($dn)
Inherited
inherited_from |
\PageRender::setContainer() |
Parameters
$dn
setDN()
setDN($dn)
Inherited
inherited_from |
\PageRender::setDN() |
Parameters
$dn
drawBlurJavascriptAttribute()
drawBlurJavascriptAttribute($attribute, $component)
Parameters
$attribute
$component
drawCheckLinkPasswordAttribute()
drawCheckLinkPasswordAttribute($attribute, $component_id)
Parameters
$attribute
$component_id
Container Chooser
drawContainerChooser($default_container)
Parameters
$default_container
Draw the current specific value of an attribute
drawCurrentValueAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawCurrentValueAttribute() |
Parameters
$attribute
$i
drawCurrentValueBinaryAttribute()
drawCurrentValueBinaryAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawCurrentValueBinaryAttribute() |
Parameters
$attribute
$i
Draw a Jpeg Attribute
drawCurrentValueJpegAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawCurrentValueJpegAttribute() |
Parameters
$attribute
$i
drawCurrentValuePasswordAttribute()
drawCurrentValuePasswordAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawCurrentValuePasswordAttribute() |
Parameters
$attribute
$i
DRAW DISPLAYED CURRENT VALUES *
drawCurrentValuesAttribute($attribute)
Inherited
inherited_from |
\PageRender::drawCurrentValuesAttribute() |
Parameters
$attribute
drawDefaultHelperPasswordAttribute()
drawDefaultHelperPasswordAttribute($attribute, $i)
drawDefaultHelperSambaPasswordAttribute()
drawDefaultHelperSambaPasswordAttribute($attribute, $i)
drawDnValueIconAttribute()
drawDnValueIconAttribute($attribute, $val)
Parameters
$attribute
$val
drawEndValueLineAttribute()
drawEndValueLineAttribute($attribute)
drawFillJavascriptAttribute()
drawFillJavascriptAttribute($attribute, $component_id, $component_value)
Parameters
$attribute
$component_id
$component_value
drawFocusJavascriptAttribute()
drawFocusJavascriptAttribute($attribute, $component)
Parameters
$attribute
$component
drawHelperAttribute()
drawHelperAttribute($attribute, $i)
Draw specific hidden attribute
drawHiddenValueAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawHiddenValueAttribute() |
Parameters
$attribute
$i
Draw specific hidden binary attribute
drawHiddenValueBinaryAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawHiddenValueBinaryAttribute() |
Parameters
$attribute
$i
DRAW ICONS FOR ATTRIBUTES VALUES *
drawIconAttribute($attribute, $val)
Parameters
$attribute
$val
DN ATTRIBUTES *
drawIconDnAttribute($attribute, $val)
Parameters
$attribute
$val
OBJECT CLASS ATTRIBUTE *
drawIconObjectClassAttribute($attribute, $val)
Parameters
$attribute
$val
SELECTION ATTRIBUTE RENDERING *
drawIconSelectionAttribute($attribute, $val)
Parameters
$attribute
$val
drawInternalAttribute()
drawInternalAttribute($attribute)
INTERNAL ATTRIBUTES *
drawInternalAttributes()
DATE ATTRIBUTE RENDERING *
drawJavaScriptDateAttribute($attribute)
DRAW PAGE JAVACRIPT
drawJavascript()
javacript
drawJavascriptAttribute($attribute)
drawJavascriptBinaryAttribute()
drawJavascriptBinaryAttribute($attribute)
PASSWORD ATTRIBUTES *
drawJavascriptPasswordAttribute($attribute)
This will draw the javascript that displays to the user the random password generated
drawJavascriptRandomPasswordAttribute($attribute)
todo |
This function doesnt work well if there are more than 1 RandomPasswordAttributes on the form for the same attribute (unlikely situation) |
Parameters
$attribute
drawMailValueIconAttribute()
drawMailValueIconAttribute($attribute, $val)
Parameters
$attribute
$val
DRAW ATTRIBUTE NAME *
drawNameAttribute($attribute)
Inherited
inherited_from |
\PageRender::drawNameAttribute() |
Parameters
$attribute
ATTRIBUTE NOTES
drawNotesAttribute($attribute)
Inherited
inherited_from |
\PageRender::drawNotesAttribute() |
Parameters
$attribute
Object Class Chooser
drawObjectClassChooser()
drawOldValueAttribute()
drawOldValueAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawOldValueAttribute() |
Parameters
$attribute
$i
drawOldValueBinaryAttribute()
drawOldValueBinaryAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawOldValueBinaryAttribute() |
Parameters
$attribute
$i
Draw a Jpeg Attribute
drawOldValueJpegAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawOldValueJpegAttribute() |
Parameters
$attribute
$i
drawOldValuePasswordAttribute()
drawOldValuePasswordAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::drawOldValuePasswordAttribute() |
Parameters
$attribute
$i
DRAW DISPLAYED OLD VALUES *
drawOldValuesAttribute($attribute)
Inherited
inherited_from |
\PageRender::drawOldValuesAttribute() |
Parameters
$attribute
RDN Chooser
drawRDNChooser()
drawRequiredSymbolAttribute()
drawRequiredSymbolAttribute($attribute)
drawShadowDateShadowAttribute()
drawShadowDateShadowAttribute($attribute)
Inherited
inherited_from |
\PageRender::drawShadowDateShadowAttribute() |
Parameters
$attribute
ATTRIBUTE LINE *
drawStartValueLineAttribute($attribute)
drawTemplateAttribute()
drawTemplateAttribute($attribute)
Present a list of available templates for creating and editing LDAP entries
drawTemplateChoice()
drawTemplateValuesAttribute()
drawTemplateValuesAttribute($attribute)
ATTRIBUTE TITLE *
drawTitleAttribute($attribute)
drawUrlValueIconAttribute()
drawUrlValueIconAttribute($attribute, $val)
Parameters
$attribute
$val
drawValidateJavascriptAttribute()
drawValidateJavascriptAttribute($attribute, $component, $silence, $var_valid)
Parameters
$attribute
$component
$silence
$var_valid
values *
drawValueAttribute($attribute, $i)
getAutoPostPasswordAttribute()
getAutoPostPasswordAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::getAutoPostPasswordAttribute() |
Parameters
$attribute
$i
getBlurJavascriptAttribute()
getBlurJavascriptAttribute($attribute, $component)
Parameters
$attribute
$component
getDefaultAttribute()
getDefaultAttribute($attribute, $container, $type)
Parameters
$attribute
$container
$type
getDeleteAttributeMessage()
getDeleteAttributeMessage()
getFocusJavascriptAttribute()
getFocusJavascriptAttribute($attribute, $component)
Parameters
$attribute
$component
Set the mode of the TemplateRender
Applicable modes are "create" or "edit"
getMode()
Return the container for this mode
getModeContainer()
getModifiedAttributesMessage()
getModifiedAttributesMessage($modified_attributes)
Parameters
$modified_attributes
getNoteAliasAttribute()
getNoteAliasAttribute($attribute)
Inherited
inherited_from |
\PageRender::getNoteAliasAttribute() |
Parameters
$attribute
getNoteHintAttribute()
getNoteHintAttribute($attribute)
Inherited
inherited_from |
\PageRender::getNoteHintAttribute() |
Parameters
$attribute
getNoteRDNAttribute()
getNoteRDNAttribute($attribute)
Inherited
inherited_from |
\PageRender::getNoteRDNAttribute() |
Parameters
$attribute
getNoteROAttribute()
getNoteROAttribute($attribute)
Inherited
inherited_from |
\PageRender::getNoteROAttribute() |
Parameters
$attribute
getNoteRequiredAttribute()
getNoteRequiredAttribute($attribute)
Inherited
inherited_from |
\PageRender::getNoteRequiredAttribute() |
Parameters
$attribute
Process our <post> arguments from the templates
getPostAttribute($attribute, $i)
Inherited
inherited_from |
\PageRender::getPostAttribute() |
Parameters
$attribute
$i
getReadOnlyMessage()
getReadOnlyMessage()
Return this LDAP Server object
getServer() : object
Inherited
inherited_from |
\Visitor::getServer() |
inherited_from |
\PageRender::getServer() |
Returns
object
DataStore Server
This function is invoked if we dont know which template we should be using.
getTemplateChoice() : string
Inherited
inherited_from |
\PageRender::getTemplateChoice() |
Returns
string
Template ID to be used or null if the user was presented with a list.
Get our templates applicable for this object
getTemplates()
Inherited
inherited_from |
\PageRender::getTemplates() |
getViewSchemaMessage()
getViewSchemaMessage()
Is the default template enabled?
haveDefaultTemplate()
Dummy method.
visitAttribute()
Inherited
..
inherited_from |
\PageRender::visitAttribute() |
DRAW ATTRIBUTES *
drawShownAttributes()
STEP FORM METHODS *
drawStepTitle($page)
Javascript Functions
drawTemplateJavascript()
Takes a shadow* attribute and returns the date as an integer.
shadow_date(array $attribute)
Inherited
inherited_from |
\PageRender::shadow_date() |
Parameters
$attribute
array
Attribute objects
This function will setup our template object (read LDAP for current values, read $_REQUEST for new values, etc)
so that it can be rendered.
visitStart()
Properties
$container
$container
Inherited
inherited_from |
\PageRender::$$container |
$dn
$dn
Inherited
inherited_from |
\PageRender::$$dn |
$page
$page
Inherited
inherited_from |
\PageRender::$$page |
$server_id
$server_id
Inherited
inherited_from |
\Visitor::$$server_id |
inherited_from |
\PageRender::$$server_id |
$template
$template
Inherited
inherited_from |
\PageRender::$$template |
$template_id
$template_id
Inherited
inherited_from |
\PageRender::$$template_id |