Cnz_Html
[ class tree: Cnz_Html ] [ index: Cnz_Html ] [ all elements ]

Class: Cnz_Html_Document

Source Location: /Html/Document.php

Class Overview

Cnz_Html_Element
   |
   --Cnz_Html_Document

HTML Document class


Constants

Methods


Inherited Constants

Inherited Variables

Inherited Methods


Class Details

[line 60]
HTML Document class

This class creates a div block to contain the "real" document content of the page. This content is included from a separate file, defaulting to the file document.php in the current directory. This separation allows the page content to be edited separately from the supporting framework (menu, banner, etc.).

Ideally, this would also be used by search engines. If a standard existed for identifying real content from the supporting framework, search engines could weight this content more heavily. This would reduce the search noise that results when some criteria appear only in the menu, advertising links, etc.

There are currently no configuration settings for this class, but the section should exist anyway.

Example INI:


 [HtmlDocument]
 




[ Top ]


Class Methods


constructor __construct [line 84]

void __construct( [ $options = array()])

Option fields: filename Document filename

Configuration fields: none




Tags:

access:  public


Overrides Cnz_Html_Element::__construct() (Option fields:)

Parameters:

array   $options   Options

[ Top ]

method display [line 95]

void display( [string $style = NULL])



Tags:

access:  public


Overrides Cnz_Html_Element::display() (parent method not documented)

Parameters:

string   $style   Value for outermost style attribute

[ Top ]


Class Constants

DEFAULT_DOCUMENT_FILE =  'document.php'

[line 62]


[ Top ]



Documentation generated on Thu, 19 Jul 2007 15:02:00 -0400 by phpDocumentor 1.4.0RC2