Index of All Elements
Package Indexes
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ z ]
[ _ ]
a
- $allow_html
- in file Param.php, variable Param::$allow_html
For string parameters only
- add
- in file Unit.php, method Unit::add()
Basic add scenario
- add
- in file Entity.php, method Entity::add()
Adds a new entry to the entity parameter list. After the parameter has been added, you will be able to access it by name in associative array style.
c
- $cache
- in file Reference.php, variable Reference::$cache
Is used to cache referenced keys/values not to query them every time
- $caption
- in file Reference.php, variable Reference::$caption
If caption parameter is not specified, the key will be used itself
- $captions
- in file Enum.php, variable Enum::$captions
- $cols
- in file Textarea.php, variable Textarea::$cols
- $col_prefix
- in file Entity.php, variable Entity::$col_prefix
- cast
- in file Param.php, method Param::cast()
Casts a value due to parameter type
- CCL.php
- procedural page CCL.php
- Container
- in file Container.php, class Container
Abstract class with properties contained as associative array and simple methods to access them.
- Container.php
- procedural page Container.php
- current
- in file Container.php, method Container::current()
Returns current container element
d
- $data
- in file Instance.php, variable Instance::$data
- $data
- in file Container.php, variable Container::$data
Fields containing values
- $default
- in file Param.php, variable Param::$default
Optional default value
- $display
- in file Param.php, variable Param::$display
- DateStamp
- in file DateStamp.php, class DateStamp
Date parameter class. In Cotonti all date/time types are UNIX timestamps inside
- DateStamp.php
- procedural page DateStamp.php
- DateTimeStamp
- in file DateTimeStamp.php, class DateTimeStamp
Date parameter class. In Cotonti all date/time types are UNIX timestamps inside.
- DateTimeStamp.php
- procedural page DateTimeStamp.php
- define
- in file Entity.php, method Entity::define()
Defines entity structure all at once
- delete
- in file Instance.php, method Instance::delete()
Removes object instance from the database
- display
- in file Set.php, method Set::display()
Renders param value display in a correct way
- display
- in file Bbtext.php, method Bbtext::display()
Renders param value display in a correct way
- display
- in file Link.php, method Link::display()
Row-based automatic unit render TPL designer specifies parameters implicitly with row block.
- display
- in file Param.php, method Param::display()
Renders param value display in a correct way
- display
- in file Reference.php, method Reference::display()
Renders param value display in a correct way
- display
- in file Item.php, method Item::display()
Single object display using XTemplate object.
- display
- in file DateStamp.php, method DateStamp::display()
Renders param value display in a correct way
- display
- in file Enum.php, method Enum::display()
Renders param value display in a correct way
- display
- in file DateTimeStamp.php, method DateTimeStamp::display()
Renders param value display in a correct way
- display_auto
- in file Item.php, method Item::display_auto()
Row-based automatic unit render TPL designer specifies parameters implicitly with row block.
- display_form
- in file Unit.php, method Unit::display_form()
Renders add/edit form display. A form will be empty if object has no data and if some data was imported, it will be already in the inputs.
- display_form_auto
- in file Unit.php, method Unit::display_form_auto()
Row-based automatic form render TPL designer specifies parameters implicitly with row block.
- display_input
- in file Set.php, method Set::display_input()
Renders param input display in a correct way
- display_input
- in file Textarea.php, method Textarea::display_input()
Renders param input display in a correct way
- display_input
- in file Bbtext.php, method Bbtext::display_input()
Renders param input display in a correct way
- display_input
- in file Reference.php, method Reference::display_input()
Renders param input display in a correct way
- display_input
- in file Enum.php, method Enum::display_input()
Renders param input display in a correct way
- display_input
- in file DateStamp.php, method DateStamp::display_input()
Renders param input display in a correct way
- display_input
- in file DateTimeStamp.php, method DateTimeStamp::display_input()
Renders param input display in a correct way
- display_input
- in file Param.php, method Param::display_input()
Renders param input display in a correct way
- display_item
- in file Unit.php, method Unit::display_item()
Basic item display scenario
- display_list
- in file Unit.php, method Unit::display_list()
Renders a simple list of objects to be displayed on screen.
- display_list_edit
- in file Unit.php, method Unit::display_list_edit()
Renders an editable list of objects to edit many instances of the entity at once
e
- $entity
- in file Reference.php, variable Reference::$entity
- $entity
- in file Instance.php, variable Instance::$entity
- edit
- in file Unit.php, method Unit::edit()
Basic edit scenario
- Entity
- in file Entity.php, class Entity
Data model entity in terms of ER design.
- Entity.php
- procedural page Entity.php
- Enum
- in file Enum.php, class Enum
Enumeration (ENUM) parameter class
- Enum.php
- procedural page Enum.php
- exists
- in file Instance.php, method Instance::exists()
Checks whether instance exists in database
- exists
- in file Link.php, method Link::exists()
Checks whether instance exists in database
f
- float
- in file Param.php, class constant Param_type::float
Real number with floating point
g
- get_alternatives
- in file Enum.php, method Enum::get_alternatives()
Gets an array of acceptable alternative values for this enumeration
- get_item
- in file Reference.php, method Reference::get_item()
Gets a result row for referenced item which you can pass to constructor of exact class
- get_key
- in file Instance.php, method Instance::get_key()
- get_key
- in file Link.php, method Link::get_key()
- get_primary_key
- in file Entity.php, method Entity::get_primary_key()
Fetches Param used as primary key for the entity
- get_referenced_item
- in file Item.php, method Item::get_referenced_item()
Gets a referenced object as result row to be passed to exact class constructor
- get_referencing_items
- in file Item.php, method Item::get_referencing_items()
Gets all items which reference to this item with a specific entity parameter.
- get_related_items
- in file Item.php, method Item::get_related_items()
Gets items from another Unit which reference to this Item with a many-to-many Relation
h
- $hint
- in file Param.php, variable Param::$hint
Used on display in forms
i
- $input_class
- in file Param.php, variable Param::$input_class
Optional class attribute for XHTML input
- $item_class
- in file Unit.php, variable Unit::$item_class
- $item_title
- in file Unit.php, variable Unit::$item_title
- import
- in file Param.php, method Param::import()
Imports parameter value from user input
- import
- in file Set.php, method Set::import()
Imports parameter value from user input
- import
- in file DateTimeStamp.php, method DateTimeStamp::import()
Imports parameter value from user input
- import
- in file Item.php, method Item::import()
Imports data from user input, validates it and stores in the object
- import
- in file DateStamp.php, method DateStamp::import()
Imports parameter value from user input
- import
- in file Enum.php, method Enum::import()
Imports parameter value from user input
- Instance
- in file Instance.php, class Instance
Instance of entity as data entry
- Instance.php
- procedural page Instance.php
- int
- in file Param.php, class constant Param_type::int
Integer parameter
- Item
- in file Item.php, class Item
Controller item class. Controller Units operate on Items
- Item.php
- procedural page Item.php
l
- Link
- in file Link.php, class Link
A Link is an Item that belongs to Relation and links Items from several Units together
- Link.php
- procedural page Link.php
- list_items
- in file Unit.php, method Unit::list_items()
Basic item listing scenario
- load
- in file Item.php, method Item::load()
Loads object from database
m
- main
- in file Unit.php, method Unit::main()
Basic main unit scenario
- main
- in file Relation.php, method Relation::main()
Unit main overloaded
- max_code
- in file Param.php, class constant Param_type::max_code
Maximal parameter type code provided by this class
- mod_skinfile
- in file CCL.php, function mod_skinfile()
Gets skin path for a module
p
- $primary_key
- in file Entity.php, variable Entity::$primary_key
- $primary_key
- in file Param.php, variable Param::$primary_key
- Param
- in file Param.php, class Param
Object parameter
- Param.php
- procedural page Param.php
- Param_type
- in file Param.php, class Param_type
Enumeration with available parameter types. This is related to Controller only, the exact data type is set in Model.
- prepare
- in file Set.php, method Set::prepare()
Prepares a parameter value for use in database statement
- prepare
- in file Param.php, method Param::prepare()
Prepares a parameter value for use in database statement
r
- $relations
- in file Unit.php, variable Unit::$relations
- $required
- in file Param.php, variable Param::$required
A user must specify this parameter non-empty
- $rows
- in file Textarea.php, variable Textarea::$rows
- Reference
- in file Reference.php, class Reference
A reference parameter in terms of relational database design
- Reference.php
- procedural page Reference.php
- refresh
- in file Reference.php, method Reference::refresh()
Refreshes key/value cache for the reference
- Relation
- in file Relation.php, class Relation
Link is a relation that links Units with each other
- Relation.php
- procedural page Relation.php
- remove
- in file Unit.php, method Unit::remove()
Basic remove scenario
- rewind
- in file Container.php, method Container::rewind()
Sets iterator pointer to the beginning of the container
s
- save
- in file Instance.php, method Instance::save()
Saves unit object in database. Performs UPDATE if object ID is set or INSERT otherwise.
- serialize
- in file Container.php, method Container::serialize()
Serializes the container
- Set
- in file Set.php, class Set
Set parameter class
- Set.php
- procedural page Set.php
- string
- in file Param.php, class constant Param_type::string
Text/string/byte stream
u
- Unit
- in file Unit.php, class Unit
Controller Unit. Controller adds logic to Entity and connects it with View
- Unit.php
- procedural page Unit.php
- unserialize
- in file Container.php, method Container::unserialize()
Unserializes container data
v
- $values
- in file Enum.php, variable Enum::$values
- valid
- in file Container.php, method Container::valid()
Checks if iterator pointer points to a valid element (non-false)
_
- __autoload
- in file CCL.php, function __autoload()
Automatically loads required classes and interfaces on demand
- __construct
- in file Unit.php, method Unit::__construct()
Initializes controller Unit
- __construct
- in file Textarea.php, method Textarea::__construct()
Parameter constructor
- __construct
- in file Item.php, method Item::__construct()
Instance constructor. Creates object from SQL result row, loads by ID or just leaves blank to be filled later.
- __construct
- in file Param.php, method Param::__construct()
Constructs parameter object
- __construct
- in file Link.php, method Link::__construct()
Instance constructor. Creates object from SQL result row, loads by ID or just leaves blank to be filled later.
- __construct
- in file Relation.php, method Relation::__construct()
Initializes Relation entity
- __construct
- in file Instance.php, method Instance::__construct()
Creates object from SQL result row or array of parameter values or blank to be filled later.
- __construct
- in file DateStamp.php, method DateStamp::__construct()
Entity parameter constructor
- __construct
- in file Container.php, method Container::__construct()
Constructs container and puts data inside
- __construct
- in file DateTimeStamp.php, method DateTimeStamp::__construct()
Entity parameter constructor
- __construct
- in file Entity.php, method Entity::__construct()
Entity constructor
- __construct
- in file Enum.php, method Enum::__construct()
Parameter constructor
- __construct
- in file Reference.php, method Reference::__construct()
- __get
- in file Instance.php, method Instance::__get()
Returns property value
- __isset
- in file Instance.php, method Instance::__isset()
Checks for property
- __set
- in file Instance.php, method Instance::__set()
Sets property value
- __unset
- in file Instance.php, method Instance::__unset()
Unsets property value
|
|