classes/php5_classes/View.class.php

Properties

Description

Holds the geoView class, which is responsible for (part of) the process of rendering the page.

Classes

geoView

Properties

 
\Iterator
 
System  
No 
No 

Description

As the name implies, this is used for creating the page view. It does take a little setup (like any class), the setup is normally done in the display_page method in geoSite, or display_page in geoAdmin if displaying a page in the admin.

Methods

__clone, __construct, __get, __isset, __set, __toString, __unset, _errorCaught, _getResourceAppend, _loadCssLibrary, _loadJsLibrary, addAddonHtml, addBody, addBottom, addCssFile, addJScript, addModuleHtml, addTop, clearHeadHtml, clearHeaderHtml, current, forceTemplateAttachment, getAllAssignedVars, getAssignedAddonVars, getAssignedBodyVars, getAssignedHeadVars, getAssignedHeaderVars, getAssignedModuleVars, getCategory, getCssHtml, getInstance, getJsHtml, getJsHtmlTop, getLanguage, getPage, getTemplateAttachment, getTemplateAttachments, getTemplateObject, isCssFile, isJScriptFile, isRendered, key, loadModules, lockSetVarNewOnly, next, render, rewind, selfUrl, setAddonTpl, setAddonVar, setBodyTpl, setBodyVar, setCategory, setFooterTpl, setFooterVar, setHeadTpl, setHeadVar, setHeaderTpl, setHeaderVar, setLanguage, setModuleTpl, setModuleVar, setPage, setRendered, toString, unLockSetVarNewOnly, valid,

__clone( ) : n/a

Description

Prevent cloning of the object

Return value

Type Description
n/a n/a

__construct( ) : n/a

Description

Privately declared to prevent creating geoView class directly, instead use singleton geoView::getInstance() method to get view class.

Return value

Type Description
n/a n/a

Tags

Name Description
since Version 7.2.0

__get( string   $name, ) : mixed

Description

Magic method, get view template var

Arguments

Name Type Description Default
$name string

Return value

Type Description
mixed

__isset( string   $name, ) : bool

Description

Magic method, used to see if var is set

Arguments

Name Type Description Default
$name string

Return value

Type Description
bool

__set( string   $name, mixed   $value, ) : n/a

Description

Magic method, set view template var

Arguments

Name Type Description Default
$name string
$value mixed

Return value

Type Description
n/a n/a

__toString( ) : string

Description

Magic method, basically if you echo out the view object, it will render the page. Magical isn't it? This actually calls {@see geoView::toString()}

Return value

Type Description
string

__unset( string   $name, ) : n/a

Description

Magic method to unset given view variable

Arguments

Name Type Description Default
$name string

Return value

Type Description
n/a n/a

_errorCaught( \Exception   $e, ) : string

Description

Pass caught template errors to this to have them handled.

Arguments

Name Type Description Default
$e \Exception

Return value

Type Description
string A string to display to the site

_getResourceAppend( ) : String

Description

Gets a string that is suitable for appending to the query string of js/css resources to prevent stale-caching across updates.
For security, hashes in the site URL (that way, each site has a unique string, so there's no way to google for all sites running a specific version)

Return value

Type Description
String

Tags

Name Description
since 7.1.0

_loadCssLibrary( string   $lib, bool   $ignoreAdmin = false, ) : string

Description

Loads the CSS library

Arguments

Name Type Description Default
$lib string
$ignoreAdmin bool false

Return value

Type Description
string

Tags

Name Description
since Version 7.2.0

_loadJsLibrary( string   $lib, bool   $ignoreAdmin = false, ) : string

Description

Loads the js library

Arguments

Name Type Description Default
$lib string
$ignoreAdmin bool false

Return value

Type Description
string

addAddonHtml( string   $author, string   $addon, string   $tag, string   $html, ) : \geoView

Description

Add to an addon's body HTML
It is recommended to instead use a template.

Arguments

Name Type Description Default
$author string

The auth_tag

$addon string
$tag string
$html string

Return value

Type Description
\geoView

addBody( string   $html, ) : \geoView

Description

Add stuff to the boyd of the page

Arguments

Name Type Description Default
$html string

Return value

Type Description
\geoView

addBottom( string   $html, ) : \geoView

Description

Add stuff to the footer of the page in {footer_html}, or if it is set to not use {footer_html} it will insert at the bottom of the {head_html} generated contents.
Note that if admin settings are not set to use {footer_html} this will act like an alias to addTop()

Arguments

Name Type Description Default
$html string

Return value

Type Description
\geoView

Tags

Name Description
since Version 7.3.0

addCssFile( string|array   $css_urls, string   $order = 'append', bool   $ignoreAdmin = false, ) : \geoView

Description

Adds a css file or files to be added to the page once it is rendered.

Arguments

Name Type Description Default
$css_urls string|array

can either be a string of one css file, or an array of css files

$order string

Either append, prepend, or library (library is NOT combined when electing not to combine, and always loads above default.css and others)

'append'
$ignoreAdmin bool

Set to true, to ignore the fact that it might be loaded from admin panel, and still load as if on front side. {@since Version 7.2.0}

false

Return value

Type Description
\geoView

addJScript( string|array   $script_urls, string   $order = 'append', bool   $ignoreAdmin = false, bool   $forceTop = false, bool   $canCombine = true, ) : \geoView

Description

Adds a javascript file to be added to the page once it is rendered.
NOTE: When admin settings are set to combine JS and also combine libraries, any libraries not able to be combined will be loaded after the combined JS. So such libraries need to work when loaded after the rest of the JS. HINT: Anything that can't be combined, make sure the JS that "uses" the non-combined JS is loaded inside a function that is delayed until the DOM loads. ANOTHER HINT: Test any JS with setting turned on for combining libraries, and test with it turned off.

Arguments

Name Type Description Default
$script_urls string|array

Either 1 url (string), or multiple url's (array), can use geoView::JS_LIB_* constants in place of URL to use the given library, but do NOT mix loading library JS and non-library JS in same array.

$order string

Either append or prepend

'append'
$ignoreAdmin bool

Set to true, to ignore the fact that it might be loaded from admin panel, and still load as if on front side. Param added in version 6.0.0

false
$forceTop bool

If set to true, will force adding the script to the top of the page in {head_html} rather than in {footer_html}. Inserting in footer_html is default to speed up perceived page load times. Param added in version 7.3.0

false
$canCombine bool

Set to false to not combine this JS when using combined CSS and JS. See notes in main function description. Param added in version 7.3.0

true

Return value

Type Description
\geoView

addModuleHtml( string   $module, string   $html, ) : \geoView

Description

Add to a module's body HTML
It is recommended to instead use a template.

Arguments

Name Type Description Default
$module string
$html string

Return value

Type Description
\geoView

addTop( string   $html, bool   $forceTop = false, ) : \geoView

Description

Add stuff to the head of the page. Note that if the text contains a script and $forceTop is false (the default value), it will actually be added using addBottom(). This is done as a backwards-compatibility measure so that 3rd party addons can use a single method to add some JS to the page, and use this single method. In older versions (before 7.3), it would add to the head no matter what, in newer versions it would add to bottom if it contains a script tag.

Arguments

Name Type Description Default
$html string
$forceTop bool

If true, will force it to go in head, param added in version 7.3.0

false

Return value

Type Description
\geoView

clearHeadHtml( ) : \geoView

Description

Clears all head html, css and js files to be added to head AND/OR to the footer since the footer contents are linked to the head contents.

Return value

Type Description
\geoView

Tags

Name Description
since Version 7.3.0

clearHeaderHtml( ) : n/a

Description

Deprecated, do not use! USe clearHeadHtml() instead!

Return value

Type Description
n/a n/a

Tags

Name Description
deprecated in version 7.3.0 (June 25, 2013) - use clearHeadHtml() instead

current( ) : n/a

Description

(non-PHPdoc)

Return value

Type Description
n/a n/a

Tags

Name Description
see

forceTemplateAttachment( string   $template_file, ) : \geoView

Description

Force the overall page to use a specific template file instead of determining which template to use by looking at the templates to page file.
This is handy to use in situations where what template to use is determined by other factors than the current language, category, and page.

Arguments

Name Type Description Default
$template_file string

The template file to use, relative to the main_page directory in the templates.

Return value

Type Description
\geoView For easy method chaining.

getAllAssignedVars( ) : array

Description

Gets all of the variables set so far.

Return value

Type Description
array

getAssignedAddonVars( string   $author_tag, string   $addon_name, string   $tag, ) : array

Description

Gets all the assigned addon vars set so far:: vars that are assigned using {@link geoView::setAddonVar()}

Arguments

Name Type Description Default
$author_tag string
$addon_name string
$tag string

Return value

Type Description
array The array of vars set so far, or an empty array if no addon vars have been set yet for the specified tag.

Tags

Name Description
since Version 5.0.0

getAssignedBodyVars( ) : array

Description

Gets all the assigned body vars set so far:: vars that are assigned using {@link geoView::setBodyVar()}

Return value

Type Description
array The array of vars set so far, or an empty array if no body vars have been set yet.

Tags

Name Description
since Version 5.0.0

getAssignedHeadVars( ) : array

Description

Gets all the assigned head vars set so far:: vars that are assigned using {@link geoView::setHeadVar()}

Return value

Type Description
array The array of vars set so far, or an empty array if no head vars have been set yet.

Tags

Name Description
since Version 7.3.0 (previously named getAssignedHeaderVars)

getAssignedHeaderVars( ) : array

Description

Deprecated! Use getAssignedHeadVars instead!

Return value

Type Description
array

Tags

Name Description
since Version 5.0.0
deprecated in version 7.3.0 (June 25, 2013) - use getAssignedHeadVars() instead!

getAssignedModuleVars( string   $module_name, ) : array

Description

Gets all the assigned module vars set so far for the specified module:: vars that are assigned using {@link geoView::setModuleVar()}

Arguments

Name Type Description Default
$module_name string

Return value

Type Description
array The array of vars set so far, or an empty array if no module vars have been set yet for the specified module.

Tags

Name Description
since Version 5.0.0

getCategory( ) : int

Description

Gets the category as previously set using $view->setCategory().

Return value

Type Description
int

Tags

Name Description
since Version 6.0.0

getCssHtml( ) : string

Description

Gets the HTML to insert into the page for all CSS files added. Meant to be used by display page directly, inserted as part of {head_html}.

Return value

Type Description
string

getInstance( ) : \geoView

Description

Get an instance of the geoView object. Uses singleton method.

Return value

Type Description
\geoView

getJsHtml( ) : string

Description

Gets the HTML to insert into the page for all JS files added. Meant to be used by display page directly, inserted as part of {footer_html}.

Return value

Type Description
string

getJsHtmlTop( ) : string

Description

Gets the HTML to insert into the page for all JS files added. Meant to be used by display page directly, inserted as part of {head_html}.

Return value

Type Description
string

getLanguage( ) : int

Description

Gets the language as previously set using $view->setLanguage(). This is for completeness only as it will not be set until fairly late in the page load, normally you would use getLanguage method in session or DataAccess class.

Return value

Type Description
int

Tags

Name Description
since Version 6.0.0

getPage( ) : \geoSite

Description

Gets the page set by $view->setPage(), which will be either null if not set yet, or a class that extends geoSite class or the geoSite class itself.

Return value

Type Description
\geoSite

Tags

Name Description
since Version 6.0.0

getTemplateAttachment( int|string   $page_id, int|null   $languageId = null, int|null   $categoryId = null, bool   $strict = true, ) : string

Description

Gets the template attached to the specified "page id", which can actually be an integer or a string, but typically it's just an integer that goes with a specific page. You would use a string when there are multiple templates other than the main one, for instance a classified details template.
Note that this function relies on setCategory and setLanguage to be called prior, in order to get the attachment specific for the current language and category. If none specific to the language or category are found, the default for lang 1 cat 0 is returned.

Arguments

Name Type Description Default
$page_id int|string

Typically the page id, or a string like: PAGE_ID_sub_page_name

$languageId int|null

Optional, if not specified, will use the current language set in the view object.

null
$categoryId int|null

Optional, if not specified, will use the current category set in the view object.

null
$strict bool true

Return value

Type Description
string The filename for the attached template to use, specific to the language and category.

getTemplateAttachments( string|int   $page_id, bool   $strict = true, ) : array

Description

Get all the template attachments for the specified page ID.

Arguments

Name Type Description Default
$page_id string|int
$strict bool

If false, will simply return false or empty array when template assignment could not be determined. Default is to display error message saying the problem, and end the script.

true

Return value

Type Description
array The array of templates to page attachments.

Tags

Name Description
since Version 5.0.0

getTemplateObject( ) : \geoTemplate

Description

Gets an instance of the template object that is going to be used to render the page. Make sure the category and language are set in the view class prior to calling this, or those vars will not be available to the template when displaying the page.

Return value

Type Description
\geoTemplate

isCssFile( string   $filename, ) : bool

Description

Whether or not the given filename has already been added.

Arguments

Name Type Description Default
$filename string

Return value

Type Description
bool

isJScriptFile( string   $filename, ) : bool

Description

Whether or not the given filename has already been added to the head or footer.

Arguments

Name Type Description Default
$filename string

Return value

Type Description
bool

isRendered( ) : bool

Description

Whether or not the page has been rendered or not.

Return value

Type Description
bool

key( ) : n/a

Description

(non-PHPdoc)

Return value

Type Description
n/a n/a

Tags

Name Description
see

loadModules( int|string   $page_id, bool   $load_extra_mainbody = false, ) : n/a

Description

Loads the template attachment, then loads all the modules attached to that template, all according to the page id specified, the language set using setLanguage, the geoSite extended class set using setPage, and the current category set using setCategory. If any of those (especially using setPage() to set instance of geoSite class) is not done, it can potentially cause errors.

Arguments

Name Type Description Default
$page_id int|string
$load_extra_mainbody bool

If true, will also load modules attached to extra pages main body, requires that the page be for an extra page.

false

Return value

Type Description
n/a n/a

lockSetVarNewOnly( ) : n/a

Description

Lock the ability to set view variables to only allow setting variables that are not already set. Usefull to allow addons to set a var and then block the main software from over-writting that setting later on.

Return value

Type Description
n/a n/a

next( ) : n/a

Description

(non-PHPdoc)

Return value

Type Description
n/a n/a

Tags

Name Description
see

render( int|string   $page_id = null, bool   $return = false, ) : n/a

Description

Renders the page.

Arguments

Name Type Description Default
$page_id int|string null
$return bool

If true, will return the rendered template instead of outputing it to the page.

false

Return value

Type Description
n/a n/a

rewind( ) : n/a

Description

(non-PHPdoc)

Return value

Type Description
n/a n/a

Tags

Name Description
see

selfUrl( ) : string

Description

Gets the current full URL including query string for the currently viewed page.

Return value

Type Description
string

setAddonTpl( string   $auth_tag, string   $addon_name, string   $tag, string   $tpl_file, ) : \geoView

Description

Sets the template file that will be included for a specific addon.

Arguments

Name Type Description Default
$auth_tag string
$addon_name string
$tag string
$tpl_file string

Return value

Type Description
\geoView for easy chaining

setAddonVar( string   $author_tag, string   $addon_name, string   $tag, string|mixed   $var1, mixed   $var2 = null, ) : \geoView

Description

Sets a variable that will be local in scope to a addon template.
This works similar to smarty->assign() function.

Arguments

Name Type Description Default
$author_tag string
$addon_name string
$tag string
$var1 string|mixed
$var2 mixed null

Return value

Type Description
\geoView

setBodyTpl( string   $tpl_file, string   $addon_name = '', string   $system_resource = '', ) : \geoView

Description

Sets the template file that will be included for the body_html in the template.

Arguments

Name Type Description Default
$tpl_file string
$addon_name string

If specified, will let system know to find the template in the addon's templates, not under system.

''
$system_resource string

If specified, will use system template and resource specified

''

Return value

Type Description
\geoView for easy chaining

setBodyVar( string|mixed   $var1, mixed   $var2 = null, ) : \geoView

Description

Sets a variable that will be local in scope to the body_html template.
This works similar to smarty->assign() function.

Arguments

Name Type Description Default
$var1 string|mixed
$var2 mixed null

Return value

Type Description
\geoView

setCategory( int   $category_id, ) : n/a

Description

Set the category ID for the current page.

Arguments

Name Type Description Default
$category_id int

Return value

Type Description
n/a n/a

setFooterTpl( string   $tpl_file, string   $addon_name = '', string   $system_resource = '', ) : \geoView

Description

Sets the template file that will be included for the footer_html in the template. If using footer_html is disabled, this will pass it along to the setHeadTpl() instead. Note that you CANNOT use both a head template and a different footer template for this reason, whichever is set last would get precedence when the footer_html is turned off.

Arguments

Name Type Description Default
$tpl_file string
$addon_name string

If specified, will let system know to find the template in the addon's templates, not under system.

''
$system_resource string

If specified, will let system know to find the template in the system folder location

''

Return value

Type Description
\geoView for easy chaining

setFooterVar( string|mixed   $var1, mixed   $var2 = null, ) : \geoView

Description

Sets a variable that will be local in scope to the footer_html template.
This works similar to smarty->assign() function. If using footer_html is disabled, this will pass it along to the setHeadVar() instead. Note that you CANNOT use both a head template and a different footer template for this reason.

Arguments

Name Type Description Default
$var1 string|mixed
$var2 mixed null

Return value

Type Description
\geoView

setHeadTpl( string   $tpl_file, string   $addon_name = '', string   $system_resource = '', ) : \geoView

Description

Sets the template file that will be included for the head_html in the template.

Arguments

Name Type Description Default
$tpl_file string
$addon_name string

If specified, will let system know to find the template in the addon's templates, not under system.

''
$system_resource string

If specified, will let system know to find the template in the system folder location

''

Return value

Type Description
\geoView for easy chaining

Tags

Name Description
Since Version 7.3.0 (previously named setHeaderTpl)

setHeadVar( string|mixed   $var1, mixed   $var2 = null, ) : \geoView

Description

Sets a variable that will be local in scope to the head_html template.
This works similar to smarty->assign() function.

Arguments

Name Type Description Default
$var1 string|mixed
$var2 mixed null

Return value

Type Description
\geoView

Tags

Name Description
since Version 7.3.0 (previously named setHeaderVar)

setHeaderTpl( string   $tpl_file, string   $addon_name = '', string   $system_resource = '', ) : \geoView

Description

Deprecated - do not use!

Arguments

Name Type Description Default
$tpl_file string
$addon_name string ''
$system_resource string ''

Return value

Type Description
\geoView

Tags

Name Description
deprecated Since 7.3.0 (June 25, 2013) - use setHeadTpl() instead

setHeaderVar( string|mixed   $var1, mixed   $var2 = null, ) : \geoView

Description

Deprecated! Use setHeadVar() instead!

Arguments

Name Type Description Default
$var1 string|mixed
$var2 mixed null

Return value

Type Description
\geoView

Tags

Name Description
deprecated since 7.3.0 (Jun 25, 2013) - Use setHeadVar() instead!

setLanguage( int   $language_id, ) : n/a

Description

Set the language ID for the page

Arguments

Name Type Description Default
$language_id int

Return value

Type Description
n/a n/a

setModuleTpl( string   $module_tag, string   $tpl_file, ) : \geoView

Description

Sets the template file that will be included for a specific module.

Arguments

Name Type Description Default
$module_tag string

The tag, in the tpl it will be {module tag=$module_tag}

$tpl_file string

Return value

Type Description
\geoView for easy chaining

setModuleVar( string   $module_name, string|mixed   $var1, mixed   $var2 = null, ) : \geoView

Description

Sets a variable that will be local in scope to a module template.
This works similar to smarty->assign() function.

Arguments

Name Type Description Default
$module_name string

module's tag name.

$var1 string|mixed
$var2 mixed null

Return value

Type Description
\geoView

setPage( mixed   $page, ) : n/a

Description

Set the page for the view

Arguments

Name Type Description Default
$page mixed

Return value

Type Description
n/a n/a

setRendered( bool   $is_rendered, ) : \geoView

Description

Sets whether the page has been rendered. If set to true, when it gets time to auto render the page (on pages that are auto rendered), it won't auto render. This is handy if you need to display the page in a non-standard way, like if you just want to echo something out.
.

Arguments

Name Type Description Default
$is_rendered bool

Return value

Type Description
\geoView

toString( ) : string

Description

Basically this will render the page.

Return value

Type Description
string

unLockSetVarNewOnly( ) : n/a

Description

Un-lock the lock done by {@link geoView::lockSetNewOnly()}

Return value

Type Description
n/a n/a

valid( ) : n/a

Description

(non-PHPdoc)

Return value

Type Description
n/a n/a

Tags

Name Description
see

Properties

$_cssLibraries, $_jsLibraries, $_tpl,

array  protected  $_cssLibraries = array('lib_jquery_ui_css' => array('local' => 'jquery-ui/jquery-ui.min.css', 'googleAPI' => '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/ui-lightness/jquery-ui.css', 'version' => '1.10.0'))

This is an array of information about different CSS libraries. Currently only the CSS library used for jQuery-UI is configured.


array  protected  $_jsLibraries = array('lib_prototype' => array('local' => 'prototype.js', 'combine' => true, 'googleAPI' => '//ajax.googleapis.com/ajax/libs/prototype/1.7.1.0/prototype.js', 'version' => '1.7.1.0'), 'lib_scriptaculous' => array('local' => 'scriptaculous/scriptaculous.js', 'combine' => false, 'googleAPI' => '//ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js', 'version' => '1.9.0'), 'lib_jquery' => array('local' => 'jquery.min.js', 'combine' => true, 'googleAPI' => '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js', 'version' => '1.11.0'), 'lib_jquery_ui' => array('local' => 'jquery-ui.min.js', 'combine' => true, 'googleAPI' => '//ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js', 'version' => '1.10.4'))

This is an array of info about different JS libraries


\geoTemplate  protected  $_tpl =

Template


Constants

  CSS_LIB_JQUERY_UI = 'lib_jquery_ui_css'




  JS_LIB_JQUERY = 'lib_jquery'




  JS_LIB_JQUERY_UI = 'lib_jquery_ui'




  JS_LIB_PROTOTYPE = 'lib_prototype'




  JS_LIB_SCRIPTACULOUS = 'lib_scriptaculous'




Documentation was generated by phpDocumentor 2.2.0 .

Namespaces

  • global

    Packages

    • Default
      • ExampleAddon
        • addon_example_admin
          In charge of doing stuff on the admin side, this is optional.
        • addon_example_info
          Required class for addons, this is the Addon information class, used by the addon system to determine what the addon can do. Also contains info about the addon that can be viewed in the addon management page in the admin.
        • addon_example_pages
          Addon page class, used by the addon system to display pages on the client side.
        • addon_example_setup
          This class is not required. If it, and the function for a particular routine exist, then that function will be called IN ADDITION TO the automated routines of the addon framework.
        • addon_example_tags
          Expects one function for each tag. Function name should be the same as the tag name. Can also have a constructor if anything needs to be constructed.
        • addon_example_util
          This is where to put functions that the main part of the addon will use.
        • eWidgetOrderItem
          This order item is designed to allow users on your site to purchase an eWidget.
      • System
        • DataAccess
          This is the main Database access object.
        • Singleton
          Singleton method class
        • _templateOrderItem
          Developers: use this file as a template to create a new order item.
        • _templatePaymentGateway
          This is the "developer template" payment gateway handler, a developer could use this file as a starting point for creating a new payment gateway in the system.
        • geoAPI
          The main system class for receiving and handling remote API calls, this acts as a translation layer between the communication with the "outside" and each API call.
        • geoAddon
          This is the class that handles anything and everything to do with addons.
        • geoArrayTools
          Utility functions for manipulating arrays
        • geoBrowse
          Contains functions common to browsing listings
        • geoBrowsingFilter
          System for activating, storing, and deactivating browsing filters.
        • geoCJAX
          Class that wraps the CJAX_FRAMEWORK, used to get the CJAX class.
        • geoCache
          This is the main part of the Geo cache system, it does all the "low level" stuff like writing files and escaping cache data.
        • geoCacheModule
          Part of Geo Cache system, specifically tuned to work best with cacheing module data (which will be an array).
        • geoCachePage
          Cache system specifically tuned to work best with cacheing output of pages and modules
        • geoCacheSetting
          Part of Geo Cache system, specifically tuned to work best with cacheing site-wide key=value type settings.
        • geoCacheText
          Part of Geo Cache system, this part specifically tuned to work best with cacheing language specific messages.
        • geoCalendar
          Holds utility method(s) for manipulating stuff dealing with calendar selector.
        • geoCart
          This class is behind the cart, loading all the order items and such and displaying, and processing all the different pages.
        • geoCategory
          Utility class that holds various methods to do stuff with categories in the system.
        • geoCombineResources
          This class helps to combine CSS and JS files, minify them, and optionally compress them.
        • geoCron
          This is the cron job backend, it handles all the communication and security and all that.
        • geoCrypt
          Class to use for encrypting information that needs to be able to be retrieved later.
        • geoDate
          Holds utility method(s) for manipulating stuff dealing with dates.
        • geoEmail
          Class that sends out e-mails.
        • geoFields
          Class that holds settings information for fields to use.
        • geoFieldsField
          A mini object to hold data about a specific field.
        • geoFile
          As the name implies, this is used for file-based utility methods.
        • geoFilter
          A few utility methods, good for filtering stuff.
        • geoFormatString
          Used to display a message nice and pretty, we'll probably be getting rid of this class though so don't go crazy using it.
        • geoHTML
          Class to generate chunks of HTML that are very common, used the most in the admin panel.
        • geoImage
          This class is responsible for a lot of the image processing, along with other aspects like generating the image tag for thumbnails.
        • geoInvoice
          This is the invoice object representing an invoice in the system.
        • geoLeveledField
          Class for doing common things with leveled fields.
        • geoListing
          A listing object, basically a container object for particular listing.
        • geoListingDisplay
          This is basically a container that is responsible for helping to display {listing .
        • geoListingFeed
          Class that helps to render RSS or other types of feeds based on list of listings.
        • geoMaster
          This is dedicated class for getting the value of, and setting, the various "master switches" within the software. Since this is meant as an easy way to get the values of master switches, most of the methods are static.
        • geoNumber
          Utility functions relating to number conversion/manipulation/validation ect.
        • geoOrder
          The geoOrder object, an object representation of an order in the system.
        • geoOrderItem
          The class that all order items must extend.
        • geoPC
          Used for login credential validation, password hashing, etc. along with software licensing.
        • geoPagination
          Utility functions useful for generating pagination of a results page such as when browing ads or searching
        • geoPaymentGateway
          This class should be extended by each different payment gateway, this will have some default functions that each gateway will inherit, and also has a few final static methods used by the system to affect all order items.
        • geoPlanItem
          A container to hold settings for a particular order item type, according to price plan ID, and optionally category ID for category specific settings.
        • geoRecurringBilling
          The geoRecurringBilling object, an object representation of a recurring billing in the system.
        • geoRegion
          Stuff for regions and sub-regions.
        • geoRegistry
          Handy little object, can be used to set registry type settings.
        • geoSearchUtils
          Class for search utilities.
        • geoSellerBuyer
          Handles back-end for the seller/buyer payment gateways, to allow the buyer to more easily pay the seller for a won auction. This handles the underlying system, but the actual work is done by individual seller/buyer gateways, for instance the Paypal buy-now functionality.
        • geoSession
          Manages session storage and session cookies for user sessions.
        • geoString
          Utility functions relating to languages and string manipulation.
        • geoStringData
          This class is to store accented chars, to be used by {@link geoString::removeAccents()}, mainly to keep the String.class.php file un-cluttered.
        • geoTable
          NOT FULLY IMPLEMENTED! Do not use this class yet as it is not finished and may change drastically before we are done with it, or may even be removed.
        • geoTableRow
          NOT FULLY IMPLEMENTED! Do not use this class yet as it is not finished and may change drastically before we are done with it, or may even be removed.
        • geoTableRowset
          NOT FULLY IMPLEMENTED! Do not use this class yet as it is not finished and may change drastically before we are done with it, or may even be removed.
        • geoTableSelect
          Class used to generate a select query, useful when multiple areas want to affect a single query, for instance when generating a search query and there are addons involved.
        • geoTables
          Used to hold database table names, used throughout the code.
        • geoTemplate
          Template object that extends the Smarty class (a 3rd party library) to enable using templates to display things.
        • geoTransaction
          This is the object used for a transaction in the order and invoice system.
        • geoUser
          An object representative of a certain user in the system.
        • geoUserRating
          Store, retrieve, and display inter-user ratings
        • geoUtil
          Misc utility functions
        • geoView
          As the name implies, this is used for creating the page view. It does take a little setup (like any class), the setup is normally done in the display_page method in geoSite, or display_page in geoAdmin if displaying a page in the admin.
        • iApiTransport
          Interface for API Transports, a transport must implement this interface for the system to use it.
        • iOrderItem
          You cannot have abstract static functions, so instead need to have an interface to force the given static functions to be defined.
        • metaDbTables
          Used so that old locations that use the old name geoTables will still work.