System.Web.UI.WebControls
[ class tree: System.Web.UI.WebControls ] [ index: System.Web.UI.WebControls ] [ all elements ]

Class: LBrick

Source Location: /packages/LContainer/LBrick.php

Class Overview

TTemplateControl
   |
   --LBrick

Brick Base Class


Variables

Methods


Child classes:

LCodeBrick
Displays a brick with static HTML Can also use PRADO tags (testing)
LDummyBrick
Displays a brick with static HTML Can also use PRADO tags (testing)
LNoteBrick
Displays a brick with a little note containing a headline and a text
LContentBrick
Displays a brick with one item from LContent
LMediaBrick
Displays a media file

Class Details

[line 25]
Brick Base Class

A brick provides functionality for displaying data of a package. Bricks have also an admin panel for setting parameters (i.e. different layouts).




[ Top ]


Class Variables

$AdminControls =

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_adminSnippets =

[line 28]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_brickobject =

[line 27]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_uniqueValidationGroup =

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 38]

LBrick __construct( )

sets the master class for consistent layout appearance



Tags:

access:  public


Overridden in child classes as:

LCodeBrick::__construct()
adds admin snippets
LDummyBrick::__construct()
adds admin snippets
LNoteBrick::__construct()
adds admin snippets
LContentBrick::__construct()
Prepares core, adds admin snippets
LMediaBrick::__construct()
Adds admin snippets

[ Top ]

method addAdminSnippet [line 246]

void addAdminSnippet( mixed $admin)

prepares a string for the admin panel



Tags:

access:  public


[ Top ]

method applyClicked [line 335]

void applyClicked( )

is invoked, when changes are applied



Tags:

access:  public


[ Top ]

method autocollectAdmin [line 228]

void autocollectAdmin( )

is opposite of autoselectAdmin



Tags:

access:  protected


[ Top ]

method autoselectAdmin [line 194]

void autoselectAdmin( )

selects admin form fields, depending on parameter name and contol id



Tags:

access:  protected


[ Top ]

method brickControl [line 283]

void brickControl( mixed $sender, mixed $param)

manages the commands of LBrickAdminButtons.php



Tags:

access:  public


[ Top ]

method cancelClicked [line 355]

void cancelClicked( )

is invoked, when the admin task is cancelled



Tags:

access:  public


[ Top ]

method configureParameter [line 275]

void configureParameter( mixed $name, mixed $setter)

prepares parameters when for applyClicked()



Tags:

access:  public


[ Top ]

method getAdministrationPage [line 149]

string getAdministrationPage( )



Tags:

return:  main admin page
access:  public


Overridden in child classes as:

LMediaBrick::getAdministrationPage()

[ Top ]

method getAdminTemplate [line 260]

void getAdminTemplate( )

returns all admin snippets



Tags:

access:  public


[ Top ]

method getBrickObject [line 55]

object: getBrickObject( )



Tags:

return:  brick propel data
access:  public


[ Top ]

method getDescriptiveName [line 157]

string getDescriptiveName( )



Tags:

return:  the class name
access:  public


Overridden in child classes as:

LCodeBrick::getDescriptiveName()
LDummyBrick::getDescriptiveName()
LNoteBrick::getDescriptiveName()
LMediaBrick::getDescriptiveName()

[ Top ]

method getHasAdministrationPage [line 141]

boolean getHasAdministrationPage( )



Tags:

return:  wheter the brick has an administration page, usually in 'packages'
access:  public


[ Top ]

method getIsVisible [line 133]

boolean getIsVisible( )



Tags:

return:  wheter the brick has an administration page, usually in 'packages'
access:  public


[ Top ]

method getPanel [line 71]

active getPanel( )



Tags:

return:  panel
access:  public


[ Top ]

method getParameters [line 88]

TMap: getParameters( )



Tags:

return:  parameters for brick
access:  public


[ Top ]

method getShowAdminPanel [line 79]

boolean: getShowAdminPanel( )



Tags:

return:  wheter to show the admin panel or not
access:  public


[ Top ]

method getUniqueValidationGroup [line 125]

string getUniqueValidationGroup( )



Tags:

access:  public


[ Top ]

method onInit [line 166]

void onInit( mixed $param)

Prepares controls, sets slave



Tags:

access:  public


[ Top ]

method onPreRender [line 180]

void onPreRender( mixed $param)

Prepares layout panel



Tags:

access:  public


Overridden in child classes as:

LCodeBrick::onPreRender()
prepares code in TTemplate
LDummyBrick::onPreRender()
prepares code in TTemplate
LContentBrick::onPreRender()
prepares admin or content, depending on panel
LMediaBrick::onPreRender()

[ Top ]

method setBrickObject [line 48]

void setBrickObject( object: $obj)



Tags:

access:  public


Parameters:

object:   $obj   brick propel data

[ Top ]

method setPanel [line 63]

void setPanel( string $mode)



Tags:

access:  public


Parameters:

string   $mode   Admin|Normal which panel to show

[ Top ]

method setParameters [line 107]

void setParameters( array: $arr)



Tags:

access:  public


Parameters:

array:   $arr   sets the parameters

[ Top ]

method setUniqueValidationGroup [line 118]

void setUniqueValidationGroup( string $value)



Tags:

access:  public


Parameters:

string   $value  

[ Top ]


Documentation generated on Tue, 20 Jun 2006 05:14:59 +0200 by phpDocumentor 1.3.0RC4