Index of all elements

abcdefghijklmnopqrstuvwx_

a

$alias_attribute
in file Model.php, variable Model::$alias_attribute
    Allows you to create aliases for attributes.
$attributes
in file Serialization.php, variable Serialization::$attributes
$attribute_name
in file Relationship.php, variable AbstractRelationship::$attribute_name
    Name to be used that will trigger call to the relationship.
$attr_accessible
in file Model.php, variable Model::$attr_accessible
    Whitelist of attributes that are checked from mass-assignment calls such as constructing a model or using update_attributes.
$attr_protected
in file Model.php, variable Model::$attr_protected
    Blacklist of attributes that cannot be mass-assigned.
$auto_increment
in file Column.php, variable Column::$auto_increment
    True if this column is set to auto_increment.
AbstractRelationship
in file Relationship.php, class AbstractRelationship
    Abstract class that all relationships must extend from.
ActiveRecordException
in file Exceptions.php, class ActiveRecordException
    Generic base exception for all ActiveRecord specific errors.
add
in file Validations.php, method Errors::add()
    Add an error message.
add
in file Reflections.php, method Reflections::add()
    Instantiates a new ReflectionClass for the given class.
add_condition
in file Utils.php, method Utils::add_condition()
add_on_blank
in file Validations.php, method Errors::add_on_blank()
    Adds the error message only if the attribute value was null or an empty string.
add_on_empty
in file Validations.php, method Errors::add_on_empty()
    Adds an error message only if the attribute value is empty.
all
in file Utils.php, function all()
    Returns true if all values in $haystack === $needle
all
in file Model.php, method Model::all()
    Alias for self::find('all').
append_record_to_associate
in file Relationship.php, method AbstractRelationship::append_record_to_associate()
array_flatten
in file Utils.php, function array_flatten()
assign_attribute
in file Model.php, method Model::assign_attribute()
    Assign a value to an attribute.
attributes
in file Model.php, method Model::attributes()
    Returns a copy of the model's attributes hash.

top

b

BelongsTo
in file Relationship.php, class BelongsTo
    Belongs to relationship.
bind
in file Expressions.php, method Expressions::bind()
    Bind a value to the specific one based index. There must be a bind marker for each value bound or to_s() will throw an exception.
bind_values
in file SQLBuilder.php, method SQLBuilder::bind_values()
    Returns the bind values.
bind_values
in file Expressions.php, method Expressions::bind_values()
build_association
in file Relationship.php, method InterfaceRelationship::build_association()
build_association
in file Relationship.php, method HasMany::build_association()
build_association
in file Relationship.php, method AbstractRelationship::build_association()
    Creates a new instance of specified Model with the attributes pre-loaded.

top

c

$callback
in file Table.php, variable Table::$callback
    A instance of CallBack for this model/table
$class
in file Table.php, variable Table::$class
$class_name
in file Relationship.php, variable AbstractRelationship::$class_name
    Class name of the associated model.
$columns
in file Table.php, variable Table::$columns
$conn
in file Table.php, variable Table::$conn
$connection
in file Model.php, variable Model::$connection
    Set to the name of the connection this Model should use.
$connection
in file Connection.php, variable Connection::$connection
    The PDO connection object.
CallBack
in file CallBack.php, class CallBack
    Callbacks allow the programmer to hook into the life cycle of a Model.
camelize
in file Inflector.php, method Inflector::camelize()
    Turn a string into its camelized version.
cast
in file Column.php, method Column::cast()
    Casts a value to the column's type.
classify
in file Utils.php, function classify()
clear
in file Validations.php, method Errors::clear()
    Clears out all error messages.
clear_cache
in file Table.php, method Table::clear_cache()
close
in file PgsqlAdapter.php, method PgsqlAdapter::close()
collect
in file Utils.php, function collect()
Column
in file Column.php, class Column
    Class for a table column.
columns
in file Connection.php, method Connection::columns()
    Retrieves column meta data for the specified table.
columns
in file PgsqlAdapter.php, method PgsqlAdapter::columns()
commit
in file Connection.php, method Connection::commit()
    Commits the current transaction.
Config
in file Config.php, class Config
    Manages configuration options for ActiveRecord.
ConfigException
in file Exceptions.php, class ConfigException
    Thrown for configuration problems.
connect
in file PgsqlAdapter.php, method PgsqlAdapter::connect()
connection
in file Model.php, method Model::connection()
    Retrieve the connection for this model.
Connection
in file Connection.php, class Connection
    The base class for database connection adapters.
ConnectionManager
in file ConnectionManager.php, class ConnectionManager
    Singleton to manage any and all database connections.
construct_inner_join_sql
in file Relationship.php, method AbstractRelationship::construct_inner_join_sql()
    Creates INNER JOIN SQL for associations.
count
in file Model.php, method Model::count()
    Get a count of qualifying records.
create
in file Model.php, method Model::create()
    Creates a model and saves it to the database.
create_association
in file Relationship.php, method HasMany::create_association()
create_association
in file Relationship.php, method AbstractRelationship::create_association()
    Creates a new instance of Model and invokes save.
create_association
in file Relationship.php, method InterfaceRelationship::create_association()
create_column
in file OciAdapter.php, method OciAdapter::create_column()
create_column
in file SqliteAdapter.php, method SqliteAdapter::create_column()
create_column
in file MysqlAdapter.php, method MysqlAdapter::create_column()
create_column
in file PgsqlAdapter.php, method PgsqlAdapter::create_column()
create_conditions_from_keys
in file Relationship.php, method AbstractRelationship::create_conditions_from_keys()
create_conditions_from_underscored_string
in file SQLBuilder.php, method SQLBuilder::create_conditions_from_underscored_string()
    Converts a string like "id_and_name_or_z" into a conditions value like array("id=? AND name=? OR z=?", values, ...).
create_hash_from_underscored_string
in file SQLBuilder.php, method SQLBuilder::create_hash_from_underscored_string()
    Like create_conditions_from_underscored_string but returns a hash of name => value array instead.
create_joins
in file Table.php, method Table::create_joins()

top

d

$db
in file Model.php, variable Model::$db
    Set to the name of the database this Model's table is in.
$db_name
in file Table.php, variable Table::$db_name
    Name of the database (optional)
$default
in file Column.php, variable Column::$default
    The default value of the column.
$DEFAULT_ERROR_MESSAGES
in file Validations.php, variable Errors::$DEFAULT_ERROR_MESSAGES
$delegate
in file Model.php, variable Model::$delegate
    Delegates calls to a relationship.
DatabaseException
in file Exceptions.php, class DatabaseException
    Thrown when there was an error performing a database operation.
DATE
in file Column.php, class constant Column::DATE
DATETIME
in file Column.php, class constant Column::DATETIME
DECIMAL
in file Column.php, class constant Column::DECIMAL
default_port
in file SqliteAdapter.php, method SqliteAdapter::default_port()
default_port
in file Connection.php, method Connection::default_port()
    Returns the default port of the database server.
default_port
in file OciAdapter.php, method OciAdapter::default_port()
default_port
in file MysqlAdapter.php, method MysqlAdapter::default_port()
delete
in file Table.php, method Table::delete()
delete
in file Model.php, method Model::delete()
    Deletes this model from the database and returns true if successful.
delete
in file SQLBuilder.php, method SQLBuilder::delete()
denamespace
in file Utils.php, function denamespace()
    Strips a class name of any namespaces and namespace operator.
destroy
in file Reflections.php, method Reflections::destroy()
    Destroys the cached ReflectionClass.
dirty_attributes
in file Model.php, method Model::dirty_attributes()
    Returns hash of attributes that have been modified since loading the model.

top

e

$errors
in file Model.php, variable Model::$errors
    An instance of Errors and will be instantiated once a write method is called.
Errors
in file Validations.php, class Errors
    Class that holds Validations errors.
escape
in file PgsqlAdapter.php, method PgsqlAdapter::escape()
escape
in file Connection.php, method Connection::escape()
    Escapes quotes in a string.
exists
in file Model.php, method Model::exists()
    Determine if a record exists.
Expressions
in file Expressions.php, class Expressions
    Templating like class for building SQL statements.
ExpressionsException
in file Exceptions.php, class ExpressionsException
    Thrown by Expressions.
extract_and_validate_options
in file Model.php, method Model::extract_and_validate_options()
    Pulls out the options hash from $array if any.
extract_options
in file Utils.php, method Utils::extract_options()

top

f

$foreign_key
in file Relationship.php, variable AbstractRelationship::$foreign_key
    Name of the foreign key.
fetch
in file PgsqlAdapter.php, method PgsqlAdapter::fetch()
find
in file Table.php, method Table::find()
find
in file Model.php, method Model::find()
    Find records in the database.
find_by_pk
in file Model.php, method Model::find_by_pk()
    Finder method which will find by a single or array of primary keys for this model.
find_by_sql
in file Model.php, method Model::find_by_sql()
    Find using a raw SELECT query.
find_by_sql
in file Table.php, method Table::find_by_sql()
first
in file Model.php, method Model::first()
    Alias for self::find('first').
free_result_set
in file PgsqlAdapter.php, method PgsqlAdapter::free_result_set()
full_messages
in file Validations.php, method Errors::full_messages()
    Returns all the error messages as an array.

top

g

$getters
in file Model.php, variable Model::$getters
    Define customer getter methods for the model.
get
in file Reflections.php, method Reflections::get()
    Get a cached ReflectionClass.
getIterator
in file Validations.php, method Errors::getIterator()
    Returns an iterator to the error messages.
get_callbacks
in file CallBack.php, method CallBack::get_callbacks()
    Returns all the callbacks registered for a callback type.
get_called_class
in file Singleton.php, method Singleton::get_called_class()
    Similar to a get_called_class() for a child class to invoke.
get_column_by_inflected_name
in file Table.php, method Table::get_column_by_inflected_name()
get_connection
in file Config.php, method Config::get_connection()
    Returns a connection string if found otherwise null.
get_connection
in file Expressions.php, method Expressions::get_connection()
    Returns the connection object.
get_connection
in file ConnectionManager.php, method ConnectionManager::get_connection()
    If $name is null then the default connection will be returned.
get_connections
in file Config.php, method Config::get_connections()
    Returns the connection strings array.
get_default_connection
in file Config.php, method Config::get_default_connection()
    Returns the name of the default connection.
get_default_connection_string
in file Config.php, method Config::get_default_connection_string()
    Returns the default connection string or null if there is none.
get_fully_qualified_table_name
in file Table.php, method Table::get_fully_qualified_table_name()
get_model_directory
in file Config.php, method Config::get_model_directory()
    Returns the model directory.
get_namespaces
in file Utils.php, function get_namespaces()
get_primary_key
in file Model.php, method Model::get_primary_key()
    Retrieve the primary key name.
get_relationship
in file Table.php, method Table::get_relationship()
get_sequence_name
in file Connection.php, method Connection::get_sequence_name()
    Return a default sequence name for the specified table.
get_sequence_name
in file OciAdapter.php, method OciAdapter::get_sequence_name()
get_validation_rules
in file Model.php, method Model::get_validation_rules()
    Returns array of validator data for this Model.
get_values_for
in file Model.php, method Model::get_values_for()
    Returns an associative array containing values for all the attributes in $attributes
get_where_values
in file SQLBuilder.php, method SQLBuilder::get_where_values()
group
in file SQLBuilder.php, method SQLBuilder::group()

top

h

HasAndBelongsToMany
in file Relationship.php, class HasAndBelongsToMany
HasMany
in file Relationship.php, class HasMany
    One-to-many relationship.
HasManyThroughAssociationException
in file Exceptions.php, class HasManyThroughAssociationException
    Thrown for has many thru exceptions.
HasOne
in file Relationship.php, class HasOne
    One-to-one relationship.
has_namespace
in file Utils.php, function has_namespace()
having
in file SQLBuilder.php, method SQLBuilder::having()
human_attribute
in file Utils.php, method Utils::human_attribute()

top

i

$inflected_name
in file Column.php, variable Column::$inflected_name
    The inflected name of this columns .. hyphens/spaces will be => _.
Inflector
in file Inflector.php, class Inflector
initialize
in file Config.php, method Config::initialize()
    Allows config initialization using a closure.
insert
in file SQLBuilder.php, method SQLBuilder::insert()
insert
in file Table.php, method Table::insert()
insert_id
in file PgsqlAdapter.php, method PgsqlAdapter::insert_id()
insert_id
in file Connection.php, method Connection::insert_id()
    Retrieve the insert id of the last model saved.
instance
in file Singleton.php, method Singleton::instance()
    Static method for instantiating a singleton object.
instance
in file Inflector.php, method Inflector::instance()
    Get an instance of the Inflector class.
instance
in file Connection.php, method Connection::instance()
    Retrieve a database connection.
INTEGER
in file Column.php, class constant Column::INTEGER
InterfaceRelationship
in file Relationship.php, class InterfaceRelationship
    Interface for a table relationship.
invoke
in file CallBack.php, method CallBack::invoke()
    Invokes a callback.
is_a
in file Utils.php, method Utils::is_a()
is_blank
in file Utils.php, method Utils::is_blank()
is_dirty
in file Model.php, method Model::is_dirty()
    Returns true if the model has been modified.
is_empty
in file Validations.php, method Errors::is_empty()
    Returns true if there are no error messages.
is_hash
in file Utils.php, function is_hash()
    Somewhat naive way to determine if an array is a hash.
is_invalid
in file Validations.php, method Errors::is_invalid()
    Returns true if the specified attribute had any error messages.
is_invalid
in file Model.php, method Model::is_invalid()
    Runs validations and returns true if invalid.
is_lower
in file Inflector.php, method Inflector::is_lower()
    Determines if a string contains all lowercase characters.
is_new_record
in file Model.php, method Model::is_new_record()
    Determine if the model is a new record.
is_odd
in file Utils.php, method Utils::is_odd()
is_options_hash
in file Model.php, method Model::is_options_hash()
    Determines if the specified array is a valid ActiveRecord options array.
is_readonly
in file Model.php, method Model::is_readonly()
    Determine if the model is in read-only mode.
is_upper
in file Inflector.php, method Inflector::is_upper()
    Determines if a string contains all uppercase characters.
is_valid
in file Model.php, method Model::is_valid()
    Run validations on model and returns whether or not model passed validation.

top

j

joins
in file SQLBuilder.php, method SQLBuilder::joins()
JsonSerializer
in file Serialization.php, class JsonSerializer
    JSON serializer.

top

k

keyify
in file Relationship.php, method AbstractRelationship::keyify()

top

l

$last_query
in file Connection.php, variable Connection::$last_query
    The last query run.
$last_sql
in file Table.php, variable Table::$last_sql
$length
in file Column.php, variable Column::$length
    The maximum length of this column.
last
in file Model.php, method Model::last()
    Alias for self::find('last')
limit
in file SqliteAdapter.php, method SqliteAdapter::limit()
limit
in file PgsqlAdapter.php, method PgsqlAdapter::limit()
limit
in file OciAdapter.php, method OciAdapter::limit()
limit
in file MysqlAdapter.php, method MysqlAdapter::limit()
limit
in file SQLBuilder.php, method SQLBuilder::limit()
limit
in file Connection.php, method Connection::limit()
    Adds a limit clause to the SQL query.
load
in file Table.php, method Table::load()
load
in file Relationship.php, method AbstractRelationship::load()
    This will load the related model data.
load
in file Relationship.php, method BelongsTo::load()
load
in file Relationship.php, method HasAndBelongsToMany::load()
load
in file Relationship.php, method HasMany::load()

top

m

$model
in file Serialization.php, variable Serialization::$model
map_raw_type
in file Column.php, method Column::map_raw_type()
    Sets the $type member variable.
merge_association_options
in file Relationship.php, method AbstractRelationship::merge_association_options()
Model
in file Model.php, class Model
    The base class for your models.
ModelException
in file Exceptions.php, class ModelException
    Thrown by Model.
MysqlAdapter
in file MysqlAdapter.php, class MysqlAdapter
    Adapter for MySQL.

top

n

$name
in file Column.php, variable Column::$name
    The true name of this column.
$nullable
in file Column.php, variable Column::$nullable
    True if this column allows null.

top

o

$options
in file Serialization.php, variable Serialization::$options
$options
in file Relationship.php, variable AbstractRelationship::$options
    Options of the relationship.
OciAdapter
in file OciAdapter.php, class OciAdapter
    Adapter for OCI (not completed yet).
offset
in file SQLBuilder.php, method SQLBuilder::offset()
on
in file Validations.php, method Errors::on()
    Returns the error message for the specified attribute or null if none.
options_to_a
in file Serialization.php, method Serialization::options_to_a()
options_to_sql
in file Table.php, method Table::options_to_sql()
order
in file SQLBuilder.php, method SQLBuilder::order()

top

p

$PDO_OPTIONS
in file Connection.php, variable Connection::$PDO_OPTIONS
    Default PDO options to set for each connection.
$pk
in file Column.php, variable Column::$pk
    True if this column is a primary key.
$pk
in file Table.php, variable Table::$pk
$poly_relationship
in file Relationship.php, variable AbstractRelationship::$poly_relationship
    Is the relationship single or multi.
$primary_key
in file Model.php, variable Model::$primary_key
    Set this to override the default primary key name if different from default name of "id".
$primary_key
in file Relationship.php, variable HasMany::$primary_key
ParameterMarker
in file Expressions.php, class constant Expressions::ParameterMarker
parse_connection_url
in file Connection.php, method Connection::parse_connection_url()
    Use this for any adapters that can take connection info in the form below to set the adapters connection info.
PgsqlAdapter
in file PgsqlAdapter.php, class PgsqlAdapter
    Adapter for Postgres (not completed yet)
pk_conditions
in file Model.php, method Model::pk_conditions()
    Returns a hash containing the names => values of the primary key.
pluralize
in file Utils.php, method Utils::pluralize()
pluralize_if
in file Utils.php, method Utils::pluralize_if()
prepare
in file PgsqlAdapter.php, method PgsqlAdapter::prepare()

top

q

query
in file PgsqlAdapter.php, method PgsqlAdapter::query()
query
in file Connection.php, method Connection::query()
    Execute a raw SQL query on the database.
query_and_fetch
in file Connection.php, method Connection::query_and_fetch()
    Execute a raw SQL query and fetch the results.
query_and_fetch_one
in file Connection.php, method Connection::query_and_fetch_one()
    Execute a query that returns maximum of one row with one field and return it.
query_column_info
in file SqliteAdapter.php, method SqliteAdapter::query_column_info()
query_column_info
in file OciAdapter.php, method OciAdapter::query_column_info()
query_column_info
in file MysqlAdapter.php, method MysqlAdapter::query_column_info()
query_column_info
in file Connection.php, method Connection::query_column_info()
    Query for column meta info and return statement handle.
query_for_tables
in file SqliteAdapter.php, method SqliteAdapter::query_for_tables()
query_for_tables
in file OciAdapter.php, method OciAdapter::query_for_tables()
query_for_tables
in file Connection.php, method Connection::query_for_tables()
    Query for all tables in the current database. The result must only contain one column which has the name of the table.
query_for_tables
in file MysqlAdapter.php, method MysqlAdapter::query_for_tables()
quote_name
in file SqliteAdapter.php, method SqliteAdapter::quote_name()
quote_name
in file MysqlAdapter.php, method MysqlAdapter::quote_name()
quote_name
in file Connection.php, method Connection::quote_name()
    Quote a name like table names and field names.
quote_name
in file OciAdapter.php, method OciAdapter::quote_name()
quote_name
in file PgsqlAdapter.php, method PgsqlAdapter::quote_name()

top

r

$raw_type
in file Column.php, variable Column::$raw_type
    The raw database specific type.
readonly
in file Model.php, method Model::readonly()
    Flag model as readonly.
ReadOnlyException
in file Exceptions.php, class ReadOnlyException
    Thrown when attempting to perform a write operation on a Model that is in read-only mode.
read_attribute
in file Model.php, method Model::read_attribute()
    Retrieves an attribute's value or a relationship object based on the name passed. If the attribute accessed is 'id' then it will return the model's primary key no matter what the actual attribute name is for the primary key.
RecordNotFound
in file Exceptions.php, class RecordNotFound
    Thrown when a record cannot be found.
Reflections
in file Reflections.php, class Reflections
    Simple class that caches reflections of classes.
register
in file CallBack.php, method CallBack::register()
    Register a new callback.
RelationshipException
in file Exceptions.php, class RelationshipException
    Thrown for relationship exceptions.
reload
in file Model.php, method Model::reload()
    Reloads the attributes and relationships of this object from the database.
reset_dirty
in file Model.php, method Model::reset_dirty()
    Resets the dirty array.
reverse_order
in file SQLBuilder.php, method SQLBuilder::reverse_order()
    Reverses an order clause.
rollback
in file Connection.php, method Connection::rollback()
    Rollback a transaction.
rules
in file Validations.php, method Validations::rules()
    Returns validator data.

top

s

$sequence
in file Table.php, variable Table::$sequence
    Name of the sequence for this table (optional). Defaults to {$table}_seq
$setters
in file Model.php, variable Model::$setters
    Define customer setters methods for the model.
save
in file Model.php, method Model::save()
    Save the model to the database.
select
in file SQLBuilder.php, method SQLBuilder::select()
Serialization
in file Serialization.php, class Serialization
    Base class for Model serializers.
set_attributes
in file Model.php, method Model::set_attributes()
    Mass update the model with data from an attributes hash.
set_connection
in file Expressions.php, method Expressions::set_connection()
    Sets the connection object. It is highly recommended to set this so we can use the adapter's native escaping mechanism.
set_connections
in file Config.php, method Config::set_connections()
    Sets the list of database connection strings.
set_default_connection
in file Config.php, method Config::set_default_connection()
    Set the name of the default connection.
set_inferred_class_name
in file Relationship.php, method AbstractRelationship::set_inferred_class_name()
    Infers the $this->class_name based on $this->attribute_name.
set_keys
in file Relationship.php, method HasMany::set_keys()
set_model_directory
in file Config.php, method Config::set_model_directory()
    Sets the directory where models are located.
set_timestamps
in file Model.php, method Model::set_timestamps()
    Updates a model's timestamps.
Singleton
in file Singleton.php, class Singleton
    This implementation of the singleton pattern does not conform to the strong definition given by the "Gang of Four." The __construct() method has not be privatized so that a singleton pattern is capable of being achieved; however, multiple instantiations are also possible. This allows the user more freedom with this pattern.
singularize
in file Utils.php, method Utils::singularize()
size
in file Validations.php, method Errors::size()
    Returns the number of error messages there are.
SQLBuilder
in file SQLBuilder.php, class SQLBuilder
    Helper class for building sql statements progmatically.
SqliteAdapter
in file SqliteAdapter.php, class SqliteAdapter
    Adapter for SQLite.
squeeze
in file Utils.php, method Utils::squeeze()
StandardInflector
in file Inflector.php, class StandardInflector
STRING
in file Column.php, class constant Column::STRING

top

t

$table
in file Table.php, variable Table::$table
    Name of the table.
$table_name
in file Model.php, variable Model::$table_name
    Set this to explicitly specify the model's table name if different from inferred name.
$type
in file Column.php, variable Column::$type
    The type of this column: STRING, INTEGER, ...
$TYPE_MAPPING
in file Column.php, variable Column::$TYPE_MAPPING
    Map a type to an column type.
table
in file Model.php, method Model::table()
    Returns the Table object for this model.
Table
in file Table.php, class Table
    Manages reading and writing to a database table.
tableize
in file Inflector.php, method StandardInflector::tableize()
tables
in file PgsqlAdapter.php, method PgsqlAdapter::tables()
tables
in file Connection.php, method Connection::tables()
    Returns all tables for the current database.
table_name
in file Model.php, method Model::table_name()
    Retrieves the name of the table for this Model.
to_a
in file Serialization.php, method Serialization::to_a()
    Returns the attributes array.
to_json
in file Model.php, method Model::to_json()
    Returns a JSON representation of this model.
to_s
in file SQLBuilder.php, method SQLBuilder::to_s()
    Returns the SQL string.
to_s
in file Serialization.php, method XmlSerializer::to_s()
to_s
in file Serialization.php, method Serialization::to_s()
    Performs the serialization.
to_s
in file Expressions.php, method Expressions::to_s()
to_s
in file Serialization.php, method JsonSerializer::to_s()
to_xml
in file Model.php, method Model::to_xml()
    Returns an XML representation of this model.
transaction
in file Connection.php, method Connection::transaction()
    Starts a transaction.
transaction
in file Model.php, method Model::transaction()
    Executes a block of code inside a database transaction.

top

u

uncamelize
in file Inflector.php, method Inflector::uncamelize()
    Convert a camelized string to a lowercase, underscored string.
UndefinedPropertyException
in file Exceptions.php, class UndefinedPropertyException
    Thrown when attempting to access an invalid property on a Model.
underscorify
in file Inflector.php, method Inflector::underscorify()
    Convert a string with space into a underscored equivalent.
unset_non_finder_options
in file Relationship.php, method AbstractRelationship::unset_non_finder_options()
update
in file SQLBuilder.php, method SQLBuilder::update()
update
in file Table.php, method Table::update()
update_attribute
in file Model.php, method Model::update_attribute()
    Updates a single attribute and saves the record without going through the normal validation procedure.
update_attributes
in file Model.php, method Model::update_attributes()
    Mass update the model with an array of attribute data and saves to the database.
Utils
in file Utils.php, class Utils
    Some internal utility functions.

top

v

$valid_association_options
in file Relationship.php, variable HasMany::$valid_association_options
    Valid options to use for a HasMany relationship.
$valid_association_options
in file Relationship.php, variable AbstractRelationship::$valid_association_options
    List of valid options for relationships.
$valid_association_options
in file Relationship.php, variable BelongsTo::$valid_association_options
    Valid options to use:
$VALID_CALLBACKS
in file CallBack.php, variable CallBack::$VALID_CALLBACKS
    List of available callbacks.
$VALID_OPTIONS
in file Model.php, variable Model::$VALID_OPTIONS
    A list of valid finder options.
validate
in file Validations.php, method Validations::validate()
    Runs the validators.
validates_exclusion_of
in file Validations.php, method Validations::validates_exclusion_of()
    This is the opposite of validates_include_of.
validates_format_of
in file Validations.php, method Validations::validates_format_of()
    Validates that a value is matches a regex.
validates_inclusion_of
in file Validations.php, method Validations::validates_inclusion_of()
    Validates that a value is included the specified array.
validates_inclusion_or_exclusion_of
in file Validations.php, method Validations::validates_inclusion_or_exclusion_of()
    Validates that a value is in or out of a specified list of values.
validates_length_of
in file Validations.php, method Validations::validates_length_of()
    Validates the length of a value.
validates_numericality_of
in file Validations.php, method Validations::validates_numericality_of()
    Validates that a value is numeric.
validates_presence_of
in file Validations.php, method Validations::validates_presence_of()
    Validates a field is not null and not blank.
validates_size_of
in file Validations.php, method Validations::validates_size_of()
    Alias of validates_length_of
validates_uniqueness_of
in file Validations.php, method Validations::validates_uniqueness_of()
    Validates the uniqueness of a value.
Validations
in file Validations.php, class Validations
    Manages validations for a Model.
ValidationsArgumentError
in file Exceptions.php, class ValidationsArgumentError
    Thrown for validations exceptions.
values
in file Expressions.php, method Expressions::values()
    Returns all the values currently bound.
values_for
in file Model.php, method Model::values_for()
    Helper to return a hash of values for the specified attributes.
values_for_pk
in file Model.php, method Model::values_for_pk()
    Helper that creates an array of values for the primary key(s).
variablize
in file Inflector.php, method StandardInflector::variablize()
variablize
in file Inflector.php, method Inflector::variablize()

top

w

where
in file SQLBuilder.php, method SQLBuilder::where()

top

x

XmlSerializer
in file Serialization.php, class XmlSerializer
    XML serializer.

top

_

__call
in file Model.php, method Model::__call()
    Enables the use of build|create for associations.
__callStatic
in file Model.php, method Model::__callStatic()
    Enables the use of dynamic finders.
__construct
in file Relationship.php, method InterfaceRelationship::__construct()
__construct
in file Relationship.php, method HasAndBelongsToMany::__construct()
__construct
in file Relationship.php, method BelongsTo::__construct()
__construct
in file Relationship.php, method HasMany::__construct()
    Constructs a HasMany relationship.
__construct
in file Serialization.php, method Serialization::__construct()
    Constructs a Serialization object.
__construct
in file Validations.php, method Errors::__construct()
    Constructs an Errors object.
__construct
in file Validations.php, method Validations::__construct()
    Constructs a Validations object.
__construct
in file Table.php, method Table::__construct()
__construct
in file SqliteAdapter.php, method SqliteAdapter::__construct()
__construct
in file SQLBuilder.php, method SQLBuilder::__construct()
    Constructor.
__construct
in file CallBack.php, method CallBack::__construct()
    Creates a CallBack.
__construct
in file Relationship.php, method AbstractRelationship::__construct()
    Constructs a relationship.
__construct
in file Exceptions.php, method UndefinedPropertyException::__construct()
    Sets the exception message to show the undefined property's name.
__construct
in file Exceptions.php, method ReadOnlyException::__construct()
    Sets the exception message to show the undefined property's name.
__construct
in file Exceptions.php, method DatabaseException::__construct()
__construct
in file Connection.php, method Connection::__construct()
    Class Connection is a singleton. Access it via instance().
__construct
in file OciAdapter.php, method OciAdapter::__construct()
__construct
in file Expressions.php, method Expressions::__construct()
__construct
in file Model.php, method Model::__construct()
    Constructs a model.
__get
in file Validations.php, method Errors::__get()
    Retrieve error message for an attribute.
__get
in file Model.php, method Model::__get()
    Magic method which delegates to read_attribute(). This handles firing off getter methods, as they are not checked/invoked inside of read_attribute(). This circumvents the problem with a getter being accessed with the same name as an actual attribute.
__isset
in file Model.php, method Model::__isset()
    Determines if an attribute exists for this Model.
__set
in file Model.php, method Model::__set()
    Magic allows un-defined attributes to set via $attributes
__toString
in file SQLBuilder.php, method SQLBuilder::__toString()
    Returns the SQL string.
__toString
in file Serialization.php, method Serialization::__toString()
    Returns the serialized object as a string.

top