[Weidner] element index

All elements
a b c d e f g h i k l m n p q r s t u v w _
_
top
Method __construct
Constructor. All it does is connect the data source.
Method __construct
FormField::__construct() in FormField.php
Constructor.
Method __destruct
Data::__destruct() in Data.php
Destructor. Reversed constructors work (disconnects database).
a
top
Method addPath
Config::addPath() in Config.php
* Convinience function. Makes life easier for initialize() by compiling * a filesystem path from an internal path. * * @param string
Method arrayQuery
Data::arrayQuery() in Data.php
Convenience function. Querys database and fetches first row as array with one method call.
b
top
Method box
Format::box() in Format.php
Generates a box sutable for news listings, etc.
c
top
Variable $category
Module::$category in Module.php
Name of category for which this module operates. (Optional)
Variable $category
Page::$category in Page.php
Category that this page falls under and thus displays the sidelines of
Variable $content
NewsItem::$content in NewsItem.php
The article itself
Variable $content
Page::$content in Page.php
The main portion the page, the page text
Class Config
Config in Config.php
* @package Weidner
Method connect
Data::connect() in Data.php
Parameterless database connectivity. Access information is provided by the Config data.
Method createAlias
Adds an alias to the database
Method createField
Creates a new FormField object and adds it to the internal field array.
Method createNew
Page::createNew() in Page.php
Adds a new page to the database.
Method createNew
Module::createNew() in Module.php
Adds a new module defenition to the database.
Method createNew
NewsItem::createNew() in NewsItem.php
Adds a new news item to the database.
Page contact.php
contact.php in contact.php
Page Config.php
Config.php in Config.php
d
top
Variable $date
NewsItem::$date in NewsItem.php
Date article was published. Unix timestamp format is used.
Variable $description
Page::$description in Page.php
Meta-data: Description
Class Data
Data in Data.php
Constant DAY
DAY in news.php
Class DefaultFormPainter
DefaultFormPainter in DefaultFormPainter.php
This is used to generate form presentation code when no other painter is specified.
Method disconnect
Data::disconnect() in Data.php
Reversed connect(). Shuts down connection if it is still open.
Page Data.php
Data.php in Data.php
Page DefaultFormPainter.php
DefaultFormPainter.php in DefaultFormPainter.php
Page defaults.php
defaults.php in defaults.php
e
top
Method exec
Data::exec() in Data.php
Similar to query(), but does not set record counter. Use for manipulation queries (insert, delete, etc.). If record counter is needed for processing, use query().
Method existsInLanguage
Returns true if the page is available in the requested language, false otherwise.
f
top
Variable $fields
Form::$fields in Form.php
An array containing all of the form's elements.
Method fetchArray
Data::fetchArray() in Data.php
Fetches a single row from the currently selected result set or the supplied result set (if on is supplied) as an array. Uses both numeric and associative keys.
Method fetchAssoc
Data::fetchAssoc() in Data.php
Fetches a single row from the currently selected result set or the supplied result set (if on is supplied) as an array. Uses only associative keys.
Method fetchRow
Data::fetchRow() in Data.php
Fetches a single row from the currently selected result set or the supplied result set (if one is supplied).
Function footer
footer() in news.php
Class Form
Form in Form.php
Class Format
Format in Format.php
Class FormField
FormField in FormField.php
Class FormPainter
FormPainter in FormPainter.php
Function fprint
fprint() in Format.php
Prints a string enclosed in a class selector.
Function fstring
fstring() in Format.php
Generates a class selector (span tag).
Page Format.php
Format.php in Format.php
Page FormField.php
FormField.php in FormField.php
Page FormPainter.php
FormPainter.php in FormPainter.php
Page Form.php
Form.php in Form.php
g
top
Method getCategoryImage
Gets the name of the category symbol from the database.
Method getDataConnection
Provides centralized access to a static data connection. Opens the connection if it is closed.
Method getIdByTitle
Retrieves a page_id from the databaes based on the title.
Method getPageIdFromAlias
Checks database for alias status. Returns true id on match, returns the suspected alias otherwise.
Method getPhotoElement
Gets the name of the category photo element from the database.
Method getProperty
Config::getProperty() in Config.php
* Returns the value of the requested property or false if it does not * exist. * * @param string * @return string
Method getStrings
Util::getStrings() in Util.php
Loads basic navigation string in the requested language.
Method getSupportedLanguages
Returns an array of languages that are currently in use in the database.
Method getTitleById
Returns display title of requsted page by page_id.
Method gloss
FormPainter::gloss() in FormPainter.php
Finishes form output
Method gloss
DefaultFormPainter::gloss() in DefaultFormPainter.php
Generates the form footer or ending.
h
top
Variable $headnote
Page::$headnote in Page.php
Any processing notes need for the user to see.
Variable $hightlight
FormField::$hightlight in FormField.php
If true, this field should be hilighted if painted.
Method hasMoreRows
Returns true if the counter has not yet reached zero (which happens when the last record has been retrieved). False otherwise.
Method href
Format::href() in Format.php
Generates an html link (href) with the supplied paramaters.
i
top
Variable $id
FormField::$id in FormField.php
The unique id for this field, used to extract it from the incoming data and to match it to its defenition for processing.
Variable $id
Page::$id in Page.php
Pages unique id. Shared by all pages that contain the same content regardless of language.
Method idExists
Page::idExists() in Page.php
Returns true if the page exists. false otherise
Method image
Format::image() in Format.php
Similar to makeLink except it just generates image code.
Page index.php
index.php in index.php
Method initialize
Config::initialize() in Config.php
* Sets up the search path, etc. Called automatically.
Method isSupportedLanguage
Returns true if the supplied language is used in the database, false otherwise.
k
top
Variable $keywords
Page::$keywords in Page.php
Meta-data: Keywords
l
top
Variable $language
Page::$language in Page.php
Natural language of this page.
Variable $language
NewsItem::$language in NewsItem.php
The article's natural language.
Function left_bottom
left_bottom() in news.php
Function left_top
left_top() in news.php
Method load
Page::load() in Page.php
Loads from database.
Function loadFile
loadFile() in setup.php
Method loadFormItems
Creates an array from incoming data by extracting only the items which belong to the specified form.
Method loadMetaData
Loads meta data from database.
Method loadModules
Loads modules from the database.
Function loadNewsItems
loadNewsItems() in news.php
Method loadTemplates
Loads all related templates
Function lprint
lprint() in Format.php
Prints with added newline. Similar to the Python 'print' command.
m
top
Variable $modules
Page::$modules in Page.php
Any modules needed to display this page.
Page Module.php
Module.php in Module.php
Class Module
Module in Module.php
n
top
Variable $name
Module::$name in Module.php
The name of the file that holds the module code.
Page NewsItem.php
NewsItem.php in NewsItem.php
Page newsletter.php
newsletter.php in newsletter.php
Page news.php
news.php in news.php
Class NewsItem
NewsItem in NewsItem.php
p
top
Variable $page
Module::$page in Module.php
Id of page for which this module operates. (Optional)
Page Page.php
Page.php in Page.php
Class Page
Page in Page.php
Method paint
FormPainter::paint() in FormPainter.php
Processed the form fields themselves.
Method paint
DefaultFormPainter::paint() in DefaultFormPainter.php
Generates the output for a form field.
Method paint
Form::paint() in Form.php
Generates the form's output code for display to the end user. Uses the supplied painter object or a DefaultFormPainter object if nothing is supplied.
Method prose
Format::prose() in Format.php
Formats a plain text string into a collection of paragraphs.
q
top
Method query
Data::query() in Data.php
Querys the currently open database using supplied sql statement.
r
top
Variable $replaceTemplate
If true, template specified or implied for requested position will not be processed. Module output will be assumed to be the content.
s
top
Page search.php
search.php in search.php
Method selectLanguage
Selects the language to use for the current session. Uses requested language if possible.
Function sendMail
sendMail() in contact.php
Method setProperty
Config::setProperty() in Config.php
* Sets global properties * * @param string * @param mixed
Page setup.php
setup.php in setup.php
Method sketch
DefaultFormPainter::sketch() in DefaultFormPainter.php
Generates the header of the form (whatever comes before the actual data rows in the output.
Method sketch
FormPainter::sketch() in FormPainter.php
Begins form output
Method style
Format::style() in Format.php
Similar to makeLink(), but generates style link code: <link rel="stylsheet" href="/path/to/style" />
t
top
Variable $templates
Page::$templates in Page.php
Any special templates applied to this page.
Variable $text
FormField::$text in FormField.php
The title or caption for the form field
Variable $title
NewsItem::$title in NewsItem.php
Title of news article
Variable $title
Page::$title in Page.php
Page display title.
Variable $type
Module::$type in Module.php
Module type specifies which region this module controls.
Variable $type
FormField::$type in FormField.php
The type (needed for processing) of the form field. Some types (eg. 'email') require additional validation to be effective.
u
top
Page Util.php
Util.php in Util.php
Class Util
Util in Util.php
v
top
Variable $value
FormField::$value in FormField.php
The current (or default if used in defenition) value for the field.
Method validate
Form::validate() in Form.php
Validates incoming form data.
w
top
Method webPath
Format::webPath() in Format.php
Generates the web path needed to created links, etc.
a b c d e f g h i k l m n p q r s t u v w _