com.lokorin.dfcrafters.lib
[ class tree: com.lokorin.dfcrafters.lib ] [ index: com.lokorin.dfcrafters.lib ] [ all elements ]

Class: Page

Source Location: /_includes/common.php

Class Overview


Describes a page that can be displayed. It's the end result of the whole script.


Author(s):

  • Andreas Launila

Variables

Methods



Class Details

[line 220]
Describes a page that can be displayed. It's the end result of the whole script.



Tags:

author:  Andreas Launila


[ Top ]


Class Variables

$headAdditions =

[line 230]

All instances of HeadAddable that should be added to the head contents.



Tags:

access:  private

Type:   array


[ Top ]

$instance =

[line 225]

The one and only instance of the class.



Tags:

static:  
access:  private

Type:   Page


[ Top ]

$title =

[line 235]

The title of the page.



Tags:

access:  private

Type:   string


[ Top ]



Class Methods


constructor __construct [line 251]

Page __construct( )

Constructor for Page.



Tags:

access:  private


[ Top ]

method addToHead [line 298]

void addToHead( HeadAddable $headAddable)

Adds something that is head addable (implements HeadAddable) to the head tag of the page.



Tags:

access:  public


Parameters:

HeadAddable   $headAddable   The data that should be added.

[ Top ]

method display [line 261]

void display( )

Displays the page.



Tags:

access:  public


[ Top ]

method displayContents [line 279]

void displayContents( string $contents)

Displays the page with the specified contents.



Tags:

access:  private


Parameters:

string   $contents   The contents that the page should contain.

[ Top ]

method flush [line 271]

void flush( )

Flushes the page, totally unprocessed, to the output stream.



Tags:

access:  public


[ Top ]

method getHeadAddition [line 324]

string getHeadAddition( )

Gets all additional head data that is specified by the page.



Tags:

return:  XHTML compliant code that can be placed inside a head tag.
access:  public
see:  com.lokorin.dfcrafters.lib.HeadAddable.getHeadAddition()


[ Top ]

method getInstance [line 241]

CssTemplateConverter getInstance( )

Gets the one and only instance of the class.



Tags:

return:  The one and only instance.
static:  
access:  public


[ Top ]

method getTitle [line 314]

string getTitle( )

Gets the title of the page.



Tags:

return:  A textual page title.
access:  public


[ Top ]

method setTitle [line 306]

void setTitle( string $newTitle)

Sets the title of the page to a new title.



Tags:

access:  public


Parameters:

string   $newTitle   The new title that should be sued for the page.

[ Top ]


Documentation generated on Tue, 10 Jan 2006 17:06:18 +0100 by phpDocumentor 1.3.0RC4