Class PageHeader

Description

PageHeader

The page header widget. Provides routines for adding style sheets, javascripts, links etc.

  • since: 1.0

Located in /Widgets/PageHeader.php (line 35)

Gadget_Object
   |
   --Gadget_Widget
      |
      --PageHeader
Variable Summary
mixed $addScript
mixed $addStyle
mixed $allowRobots
mixed $charset
mixed $javaScripts
mixed $language
mixed $otherLinks
mixed $styleSheets
mixed $template
mixed $title
Method Summary
void addJavaScript (string $script, [string $ext = '.js'], [string $base = '/_js/'])
void addLink (string $rel, string $href, [string $title = null])
void addScript (string $script)
void addStyle (string $style)
void addStyleSheet (string $sheet, [string $ext = '.css'], [string $base = '/_css/'])
string getScript ()
void main ()
Variables
mixed $addScript (line 38)
mixed $addStyle (line 37)
mixed $allowRobots = true (line 44)
mixed $charset (line 48)
mixed $javaScripts = array() (line 40)
mixed $language (line 47)
mixed $otherLinks = array() (line 42)
mixed $styleSheets = array() (line 39)
mixed $template = 'PageHeader.html' (line 50)

Redefinition of:
Gadget_Widget::$template
Template
mixed $title = '' (line 46)

Inherited Variables

Inherited from Gadget_Widget

Gadget_Widget::$aggregateFormatter
Gadget_Widget::$auth
Gadget_Widget::$elements
Gadget_Widget::$form
Gadget_Widget::$ID
Gadget_Widget::$location
Gadget_Widget::$main
Gadget_Widget::$qform
Gadget_Widget::$queryString
Gadget_Widget::$render
Gadget_Widget::$rights
Gadget_Widget::$show
Methods
addJavaScript (line 130)

addJavaScript

  • access: public
void addJavaScript (string $script, [string $ext = '.js'], [string $base = '/_js/'])
  • string $script
  • string $ext
  • string $base
addLink (line 145)

addLink

  • access: public
void addLink (string $rel, string $href, [string $title = null])
  • string $rel
  • string $href
  • string $title
addScript (line 89)

Add Script

  • access: public
void addScript (string $script)
  • string $script
addStyle (line 101)

Add Style

  • access: public
void addStyle (string $style)
  • string $style
addStyleSheet (line 115)

addStyleSheet

  • access: public
void addStyleSheet (string $sheet, [string $ext = '.css'], [string $base = '/_css/'])
  • string $sheet
  • string $ext
  • string $base
getScript (line 76)

Get Script

  • access: public
string getScript ()
main (line 68)
void main ()

Redefinition of:
Gadget_Widget::main()
Main
onBeforeConstruct (line 58)

On Before Construct

  • access: protected
void onBeforeConstruct ()

Redefinition of:
Gadget_Widget::onBeforeConstruct()
On Before Construct

Inherited Methods

Inherited From Gadget_Widget

Gadget_Widget::aggregateFormatter()
Gadget_Widget::create()
Gadget_Widget::form()
Gadget_Widget::load()
Gadget_Widget::main()
Gadget_Widget::oddEven()
Gadget_Widget::onAfterConstruct()
Gadget_Widget::onBeforeConstruct()
Gadget_Widget::queue()
Gadget_Widget::queueAfter()
Gadget_Widget::render()
Gadget_Widget::requeue()
Gadget_Widget::unqueue()
Gadget_Widget::unsufficientRights()

Inherited From Gadget_Object

Gadget_Object::Gadget_Object()
Gadget_Object::onAfterConstruct()
Gadget_Object::onBeforeConstruct()
Gadget_Object::setOptions()

Documentation generated on Sun, 03 Jul 2005 12:46:01 +0200 by phpDocumentor 1.3.0RC3