[Storable] element index

Package indexes

All elements
b c d e f g h i k m n o p r s t w _
_
top
$_count
Storable::$_count in Storable.php
$_data
Storable::$_data in Storable.php
the internal data structure
$_data_orig
Storable::$_data_orig in Storable.php
a copy of the original data structure, saved before set(). Used to create the WHERE clause in save()
$_db
Storable::$_db in Storable.php
the main database handle
$_dsn
Storable::$_dsn in Storable.php
the string to pass to DB to connect to the database.
$_exists
Storable::$_exists in Storable.php
if this object's match request exists
$_join
Storable::$_join in Storable.php
the join statement, inserted between the FROM and the WHERE
$_match
Storable::$_match in Storable.php
the match pattern used to find this entry
$_num_rows
Storable::$_num_rows in Storable.php
a cache of the numRows*() functions
$_num_rows_unlimited
$_offset
Storable::$_offset in Storable.php
the offset and count
$_order
Storable::$_order in Storable.php
What comes after the ORDER BY statement.
$_res
Storable::$_res in Storable.php
the main SELECT result database handle
$_select
Storable::$_select in Storable.php
what rows to SELECT defaults to *
_DSN
_DSN in Storable.php
The default DSN (Data Source Name).
b
top
backup_data
Storable::backup_data() in Storable.php
backup the data array in $_data_orig for later use, but do not override $_data_orig if it already exists.
c
top
connect
Storable::connect() in Storable.php
Take care of the DB magic to connect to the database
count
Storable::count() in Storable.php
The number of items requested in the constructor.
create_objects
create_objects() in obj_funcs.php
create a few random objects
d
top
direct_children
disconnect
Storable::disconnect() in Storable.php
disconnect the database handle
dprint_r
StorableTree::dprint_r() in StorableTree.php
print a debug version of this leaf
e
top
exists
Storable::exists() in Storable.php
does this object exists in the storage?
f
top
feed_hash
Storable::feed_hash() in Storable.php
Set the values of this object to the keys and values of the array.
find_empty_slot
g
top
get
Storable::get() in Storable.php
Get a given field value.
get_data
Storable::get_data() in Storable.php
h
top
handle_result
Deal with results from PEAR DB queries
i
top
is_limited
Storable::is_limited() in Storable.php
k
top
KEYLENGTH
KEYLENGTH in StorableTree.php
This defines the length of each subkey in a path stored.
m
top
move_subtree
StorableTree::move_subtree() in StorableTree.php
This moves all the childs matching the $from pattern to the $to parent pattern
n
top
next
Storable::next() in Storable.php
Load the next row available in this object.
num_rows
Storable::num_rows() in Storable.php
The number of rows matchnig all predicates.
num_rows_unlimited
Number of matches without count() or offset().
o
top
offset
Storable::offset() in Storable.php
The offset requested in the constructor.
obj_funcs.php
obj_funcs.php in obj_funcs.php
p
top
parent
StorableTree::parent() in StorableTree.php
r
top
remove
Storable::remove() in Storable.php
Remove record represented by object in database.
remaining_objects
remaining_objects() in obj_funcs.php
list remaining objects
s
top
save
Storable::save() in Storable.php
Save the object in underlying storage.
save
StorableTree::save() in StorableTree.php
overload parent save function to make sure that the 'path' is
set
Storable::set() in Storable.php
Set given field to the given data.
set_data
Storable::set_data() in Storable.php
Assign the associative array directly to the internal structures.
set_parent
StorableTree::set_parent() in StorableTree.php
change the parent of this node
start_request
Construct the SELECT statement and call the actual query.
Storable
Storable in Storable.php
Simple storage class.
Storable
Storable::Storable() in Storable.php
Main constructor
StorableTree
StorableTree in StorableTree.php
An implementation of the TreeInSql pattern
StorableTree.php
StorableTree.php in StorableTree.php
Storable.php
Storable.php in Storable.php
subtree
StorableTree::subtree() in StorableTree.php
t
top
tablename
Storable::tablename() in Storable.php
What table represents this object. Currently returns the lowercased class name.
test_pager.php
test_pager.php in test_pager.php
test_storable.php
test_storable.php in test_storable.php
test_tree.php
test_tree.php in test_tree.php
w
top
where_clause
Storable::where_clause() in Storable.php
Generate a valid WHERE clause.
b c d e f g h i k m n o p r s t w _