Elastic
[
class tree: Elastic
] [
index: Elastic
] [
all elements
]
Todo List
Packages:
Elastic
Files:
content.php
elastic.php
group.php
header.php
module.php
object.php
selection.php
sidebar.php
Classes:
Content
Elastic
Group
Header
Module
Object
Selection
Sidebar
Class: Selection
Source Location: /classes/selection.php
Class Overview
Object
| --
Module
| --
Group
| --Selection
A Selection is an anonymous Group meant for manipulating modules.
Author(s):
Daryl Koopersmith
Methods
__construct
run
Inherited Variables
Class:
Group
Group::$children
Class:
Module
Module::$classes
Module::$id
Module::$type
Inherited Methods
Class:
Group
Group::__construct()
Group::remove_view()
Override remove_view. Groups have only one view.
Group::set_view()
Override set_view. Groups have only one view.
Group::_view()
The only group view: run all of its children.
Class:
Module
Module::__construct()
Constructs a new Module.
Module::add_class()
C L A S S E S A P I
Module::apply_atomic()
An interface to
elastic_apply_atomic()
for an instance of a
Module
.
Module::apply_atomic_specific()
An interface to
elastic_apply_atomic_specific()
for an instance of a
Module
.
Module::do_atomic()
An interface to
elastic_do_atomic()
for an instance of a
Module
.
Module::do_atomic_specific()
An interface to
elastic_do_atomic_specific()
for an instance of a
Module
.
Module::do_view()
Returns the output of the most contextually-specific set view.
Module::format_hook()
Formats a hook for this module.
Module::get_module()
Get a module by id.
Module::get_modules()
Function that provides a framework for searching all modules based on a slug and a callback.
Module::get_modules_by_type()
Get a module by type.
Module::has_class()
Module::has_view()
Module::load_default_views()
Loads and sets default views
Module::load_views_folder()
Loads and sets views from a folder.
Module::remove_class()
Module::remove_view()
Removes any view associated with a provided context.
Module::run()
Calls the hooks and generates the output.
Module::set_view()
Binds a callback to a view. At any time, only one callback will be bound to a view.
Class:
Object
Object::__construct()
Object::Object()
Object
Class Details
[line
8
]
A Selection is an anonymous Group meant for manipulating modules.
Tags:
author:
Daryl Koopersmith
[
Top
]
Class Methods
constructor __construct
[line
10
]
Selection __construct( $children)
Overrides
Group::__construct()
(parent method not documented)
Parameters:
$children
[
Top
]
method run
[line
20
]
void run( )
Override run. Selections cannot be rendered.
Tags:
author:
Daryl Koopersmith
Overrides
Module::run()
(Calls the hooks and generates the output.)
[
Top
]
Documentation generated on Sat, 24 Oct 2009 17:17:46 -0500 by
phpDocumentor 1.4.3