-
$accessible_attributes
-
-
$action
-
-
$action
-
-
$add
-
-
$allConnections
-
-
$allowMultipleVersions
-
-
$allowNull
-
Flag indicating whether nulls are allowed
-
$allowNull
-
Flag indicating whether nulls are allowed
-
$allowNull
-
Flag indicating whether nulls are allowed
-
$allowNull
-
Flag indicating whether nulls are allowed
-
$allowNull
-
Flag indicating whether nulls are allowed
-
$any
-
-
$archive
-
-
$args
-
-
$argument
-
-
$arguments
-
-
$argument_name
-
NONE, REQUIRED, or OPTIONAL *
-
$argument_type
-
-
$associates
-
-
$association
-
-
$associationName
-
-
$associations
-
-
$attachments
-
Attachments
-
$attributes
-
-
$attributes
-
Attributes
-
$attrNames
-
List of attribute names to validate
-
$attrNames
-
List of attribute names to validate
-
$attrNames
-
List of attribute names to validate
-
$attrNames
-
List of attribute names to validate
-
$attrNames
-
List of attribute names to validate
-
$attrNames
-
List of attribute names to validate
-
$attrNames
-
List of attribute names to validate
-
abort
-
Abort a failed installation. Removes all files that were created and any directories that were created as long as they contain no files (after removing added files).
-
accessible_attributes
-
Return a list of all attributes which have been made accessible to mass assignment by passing them to attr_accessible (the list is always maintained in sorted order).
-
action
-
Accessor for this controller's action name
-
Association.php
-
-
ActiveRecord_Association
-
ActiveRecord_Association is the base class from which all association implementations inherit.
-
ActiveRecord_AssociationTypeMismatch
-
Thrown when an attempt is made to assign an invalid type to an association
-
ActiveRecord_Association_BelongsTo
-
Implements the belongs_to association
-
ActiveRecord_Association_BelongsToKeyValidation
-
A validation for the foreign key field on a belongs_to relationship
-
ActiveRecord_Association_Collection
-
The collection of associates in a has many association. In addition to the documented methods, the collection object may be treated as an array (iterated over, accessed with square brackets, etc.).
-
ActiveRecord_Association_HasMany
-
Implements the has_many association
-
ActiveRecord_Association_HasOne
-
Implements the has_one association
-
ActiveRecord_Base
-
An ActiveRecord implementation for PHP 5.
-
ActiveRecord_BoundsValidation
-
A validation to check that an attribute's string length is within a certain range.
-
ActiveRecord_Column
-
A class containing information about a table column.
-
ActiveRecord_ConfirmationValidation
-
A validation to check that a confirmation attribute for an
-
ActiveRecord_Connection
-
ActiveRecord_Connection extends PDO to provide some additional functionality required by ActiveRecord that may vary by database.
-
ActiveRecord_Connection_Default
-
Default implementation of ActiveRecord_Connection
-
ActiveRecord_Connection_Mysql
-
ActiveRecordConnection for MySQL
-
ActiveRecord_Connection_Provider
-
ActiveRecord implementation of Support_Resources_DBProvider. This differs from the default implementation only in that it returns an instance of ActiveRecord_Connection instead of a plain PDO instance.
-
ActiveRecord_Connection_Sqlite
-
ActiveRecord_Connection for SQLite
-
ActiveRecord_Error
-
Base class for ActiveRecord exceptions
-
ActiveRecord_Errors
-
Errors collection class for ActiveRecord. Every ActiveRecord instance has a corresponding ActiveRecord_Errors instance, even if no errors exist for the object.
-
ActiveRecord_IncorrectArgumentCountError
-
Thrown if a call is make with an incorrect number of arguments
-
ActiveRecord_InfoMgr
-
ActiveRecord_InfoMgr is a helper class to manage meta information for active record classes. This allows information such as column mappings, associations, etc. to be gathered once per class and shared between instances.
-
ActiveRecord_Invalid
-
Thrown if a record could not be saved to the database due to validation.
-
ActiveRecord_MetaInfo
-
ActiveRecord_MetaInfo is a structure to hold meta information for
-
ActiveRecord_NotFoundError
-
Thrown if a required record was not found
-
ActiveRecord_NotSaved
-
Thrown if a record could not be successfully saved to the database.
-
ActiveRecord_NumericValidation
-
A validation to check that an attribute's value is numeric.
-
ActiveRecord_PresentValidation
-
A validation to check that an attribute is non-empty (as determined by the PHP function empty()).
-
ActiveRecord_Proxy
-
ActiveRecord_Proxy allows for limited access to some protected methods of an ActiveRecord object. See ActiveRecord_Base::add_method_proxy() for more information.
-
ActiveRecord_ProxyMethod
-
ActiveRecord_ProxyMethod encapsulates a proxied method for an ActiveRecord object. See ActiveRecord_Base::add_method_proxy() for more information.
-
ActiveRecord_ReadOnlyRecord
-
Thrown if an attempt is made to save a read-only record
-
ActiveRecord_RegExValidation
-
A validation to check that an attribute's value conforms to a regular expression.
-
ActiveRecord_SequencesNotSupportedError
-
Indicates an attempt to use a sequence on a connection that does not support them.
-
ActiveRecord_SetValidation
-
A validation to check that an attribute's value is contained in a specified list.
-
ActiveRecord_SubclassNotFound
-
Thrown if a required subclass could not be found
-
ActiveRecord_UniqueValidation
-
A validation to check that an attribute's value is unique.
-
ActiveRecord_UnknownAssociationError
-
Thrown if a reference is made to a non-existent association
-
ActiveRecord_UnknownMethodError
-
Thrown if an attempt is made to access a non-existent method
-
ActiveRecord_UnknownOptionError
-
Thrown if an invalid option key is supplied
-
ActiveRecord_UnknownPropertyError
-
Thrown if an attempt is made to access a non-existent property
-
ActiveRecord_Validation
-
ActiveRecord_Validation is an interface for objects that can perform validations on an ActiveRecord instance. One instance of an ActiveRecord_Validation may have validate invoked for multiple ActiveRecord instances.
-
add
-
Add a package to the project.
-
add
-
Add (install) a new wrapped package to the repository
-
add
-
Add an error message to the named attribute. Multiple error message may be associated with a single attribute. If no message is provided, the message "is invalid" is used.
-
addLimit
-
Append a LIMIT clause to a SQL statement
-
addLimit
-
Append a LIMIT clause to a SQL statement
-
addLimit
-
Append a LIMIT clause to a SQL statement
-
add_associate
-
Add an associated object to this object's collection. This method handles database updates and foreign keys. It does not directly affect the contents of an association collection object.
-
add_attachment
-
Add an attachment
-
add_commands_by_glob
-
Adds command classes given a base directory relative to CRITICALI_ROOT and a file globbing pattern.
-
add_conditions
-
Add conditions fragment to a SQL statement
-
add_configured_routes
-
Loads configured routing information.
-
add_dependency_item
-
Add an item to the dependency list
-
add_event_listener
-
Add an event listener to this class.
-
add_event_listener
-
Add an event listener to this class.
-
add_init_file
-
Add a file to the list in the init_files property. This method also prevents files from being added to the list more than once.
-
add_joins
-
Add join fragment to a SQL statement
-
add_legacy_configured_routes
-
Add any route information specified through legacy configuration
-
add_legacy_default_routes
-
Add the default routes that were previously assumed
-
add_limit
-
Add limit information to the SQL statement
-
add_list
-
Return the list of packages to add
-
add_method_proxy
-
Define a proxy for a method name.
-
add_method_proxy
-
Calls add_proxy_method on the object the method was originally invoked on.
-
add_on_boundary_breaking
-
Conditionally adds an error message to the list of supplied
-
add_on_empty
-
Conditionally adds an error message to the list of supplied attributes when the attribute values are empty (determined by the PHP function empty()). If no error message is provided, the message "is required" is used.
-
add_order
-
Add order by fragment to a SQL statement
-
add_package
-
Add the package version to the add list
-
add_package_to_autoloader
-
Convenience method for including a given package and its dependencies in the runtime autoload directory list. The package must be installed for this to work (otherwise an exception will result).
-
add_remote
-
Add a remote that provides the package to the list
-
add_route
-
Add a route
-
add_row
-
Add a row of data to the table
-
add_to_base
-
Add an error message that pertains to the base object as opposed to a particular attribute on the object.
-
add_to_version_list
-
Add a version to a version list string and maintain sort order
-
add_to_width
-
Update width statistics with information from a cell
-
add_validation
-
Add a validation to the class
-
add_version
-
Add a version to this collection
-
add_version_to_packages_file
-
Update the installation list file with a single added package directory
-
after_create
-
Check the associates to make sure they have been saved
-
after_create
-
Check the associate to make sure it has been saved
-
after_create
-
Register a method on this class to be called after a save operation is performed for a new record.
-
after_destroy
-
Register a method on this class to be called after the record is destroyed.
-
after_filter
-
Register a method on this class to be called before any request is processed.
-
after_save
-
Register a method on this class to be called after any save operation is performed.
-
after_save
-
Check the associate to make sure it has been saved
-
after_save
-
Check the associates to make sure they have been saved
-
after_update
-
Register a method on this class to be called after a save operation is performed for a record being updated (non-new record).
-
after_validation
-
Register a method on this class to be called after any validation operation is performed.
-
after_validation_on_create
-
Register a method on this class to be called after a validation operation is performed for a new record.
-
after_validation_on_update
-
Register a method on this class to be called after a validation operation is performed for a record being updated (non-new record).
-
all
-
Return all properties as an associative array
-
allowed_action
-
Determine if an method can allowably be invoked as an action
-
apportion_width
-
Determines column width when it is constrained
-
arguments
-
Return the arguments that remain after processing
-
assemble_alternative
-
Assembles an alternative body
-
assemble_body
-
Assemble and return the body
-
assemble_finder_options
-
Create an options parameter for passing to a find_* method using the output from create_finder_attribute_hash
-
assemble_header
-
Assemble and return the header
-
assemble_mixed
-
Assembles a mixed body with an alternative one inside
-
assert_zip_exists
-
Throws an exception if this version of PHP does not have the right
-
assign
-
Assign a variable to be available to any template processed by this engine
-
assign_expr
-
Returns an assignment expression for a given array of keys to use in the output file.
-
assign_template_vars
-
Assigns all public properties of the class as local variables in the template
-
associates
-
Returns the array of associate objects
-
attributes
-
Returns this object's attributes as an associative array.
-
attributes_for_set
-
Return the list of column names and attribute values for use in the SET clause of an UPDATE statement. The primary key column is excluded.
-
attributes_from_column_definition
-
Return an associative array of attributes representing the default values for the fields on this class's table. The array keys are the field names and the values are the default values.
-
attributes_protected_by_default
-
Return a list of attributes which are never permitted in mass-assignment. The returned list must be sorted. By default, the returned list include the primary key and inheritance column.
-
attribute_names
-
Returns an array of names for the attributes available on this object. The returned list is sorted alphabetically.
-
attribute_present
-
Returns true if the named attribute exists for this object and has a non-empty value (not null, false, 0, the empty string, or any empty array).
-
attr_accessible
-
Accepts the names of one or more attributes which are allowed to
-
attr_protected
-
Accepts the names of one or more attributes which are protected from mass assignment in this class (assignment through the constructor, create method, set_attributes method, etc.).
-
authenticity_token
-
Return the current session's request token
-
Apc.php
-
-
ArrayHelper.php
-
-
Attachment.php
-
-
$cache
-
-
$cache
-
-
$cache
-
Associative array containing meta information keyed by class name
-
$cached_attributes
-
A collection of cached attribute values
-
$cached_attributes
-
-
$cached_models
-
-
$cacheStore
-
-
$cacheStore
-
-
$callback
-
-
$callback
-
-
$capabilities
-
-
$caseInsenstive
-
Flag indicating case sensitivity
-
$className
-
-
$class_name
-
-
$class_name
-
-
$class_name
-
-
$class_name
-
-
$columns
-
-
$columns_hash
-
-
$column_names
-
-
$commands
-
-
$condition
-
Optional condition method for determining whether or not to run
-
$configWriter
-
-
$connection
-
-
$connection
-
-
$connection
-
-
$connection
-
-
$connection
-
-
$constraints
-
-
$content_columns
-
-
$count
-
-
$creation_options
-
List of valid options for creation
-
$creation_options
-
List of valid options for creation
-
$creation_options
-
List of valid options for creation
-
Collection.php
-
-
Column.php
-
-
Connection.php
-
-
cache
-
Get a cache store
-
caches_action
-
Enable caching for one or more actions on this controller. Accepts one or more action names as parameters or an array of action names.
-
cache_directory
-
Returns the name of the cache directory to use for a given set of options
-
Cache_Engine
-
Cache_Engine defines the interface that cache implementations must conform to.
-
Cache_Engine_Apc
-
The APC cache engine. This engine requires the APC extension to be installed. Items stored with the APC engine use the APC-provided variable cache mechanism for storage.
-
Cache_Engine_Apc_Item
-
The key object for the apc cache engine.
-
Cache_Engine_File
-
The file system cache engine. Items stored in the file system cache are each stored in separate files and persist between requests. They are dependent on the default expiration mechanism of Cache_Store to clean up unused files.
-
Cache_Engine_File_Item
-
The key object for the file cache engine.
-
Cache_Engine_Memcache
-
The memcache cache engine. This engine requires the Memcache extension to be installed. Items stored with the memcache engine use memcached for storage.
-
Cache_Engine_Memcache_Item
-
The key object for the memcache cache engine.
-
Cache_Engine_Memory
-
The in-memory cache engine. Items stored in the in-memory cache are lost at the end of the current request.
-
Cache_Engine_Memory_Item
-
The key object for the memory cache engine.
-
cache_file_path
-
Returns the full cache file path for a given set of options and keys
-
Cache_ItemBase
-
Cache_ItemBase is an abstract class for implementing the key object that must be returned by implementors of the
Cache_Engine interface. It provides methods for working with the value associated with its key.
-
cache_options
-
Return the cache options to use when caching an action
-
Cache_Provider
-
A cache store provider for use with Support_Resources
-
Cache_Store
-
Cache_Store provides the public interface for working with the cache system. Internally it uses one or more engines to service requests.
-
Cache_UnsupportedEngineError
-
Indicates a request for an unsupported cache engine
-
calculate_column_width
-
Calculate the width to use for a set of columns
-
camelize
-
Convert space or underscore separated words to a single mixed case name. For example, table_name becomes TableName. If $firstWordUpper is false, the first word is not converted to upper case (table_name would become tableName).
-
canonify_version
-
Utility function to return the canonical three-part version number
-
canonify_version_specification
-
Returns a comparable version spec object given a version dependency string. See CriticalI_Package::satisify_dependency for formation information.
-
can_call
-
-
Cfg
-
A class for accessing application-level configuration information.
-
className
-
Accessor for the class name
-
class_name
-
Convert a path into the class name that should be contained within the file
-
class_name
-
Return the class name for this association
-
class_name
-
Return the class name for this migration.
-
class_name
-
Turn a table name back into a class name. This follows the reverse rules of the table_name method. So, for example, "my_objects" becomes "MyObject".
-
clean
-
Strip non-printable characters from a value
-
cleanup
-
Called automatically on shutdown to clean up after the lock file.
-
cleanup
-
Clean up locks at shutdown
-
clean_name
-
Return a cleaned version of this packages name with spaces and special characters removed.
-
clean_root_directory
-
Return a cleaned version of the global variable $CRITICALI_ROOT for
-
clear
-
Clear all items from the cache
-
clear
-
Clear all errors from the collection.
-
clear
-
Remove all data from the cache.
-
clear
-
Clear all items from the cache
-
clear
-
Clear all associates from the collection
-
clear
-
Clear all items from the cache
-
clear
-
Forces CriticalI_Package_List to skip loading of packages and present an empty list for subsequent class to get.
-
clear
-
Remove all items from the cache.
-
clear
-
Clear all items from the cache
-
clear
-
Clear all items from the cache
-
columns
-
Return an array of ActiveRecordColumn objects for the named table.
-
columns
-
Return an array of ActiveRecord_Column objects for the table associated with this class.
-
columns
-
Return an array of ActiveRecord_Column objects for the named table.
-
columns
-
Return an array of ActiveRecord_Column objects for the named table.
-
columns_for_insert
-
Return the list of all attribute names prepared for use in an insert statement
-
columns_hash
-
Returns an associative array of column objects keyed by column name for the table associated with this class.
-
column_for_attribute
-
Returns the column object for the named attribute
-
column_names
-
Returns an array of column names as strings.
-
commandVersions
-
Return the list of package versions that declare commands
-
COMMAND_GLOB
-
-
compare
-
Compares this segment to another segment.
-
compare
-
Compares this segment to another segment.
-
compare
-
Compares this segment to another segment.
-
compare
-
Compares this segment to another segment.
-
compare
-
Compares this segment to another segment.
-
compare_versions
-
Comparison function for sorting Version objects
-
compare_version_arrays
-
Comparison function for sorting canonified version arrays
-
compare_version_number
-
Compares a canonified version array to this version. Returns -1, 0, or -1 when this version is less than, equal, or greater than the supplied version, respectively.
-
compare_version_specification
-
Compares a canonified version dependency specification to this version. Returns -1, 0, or -1 when this version is less than, within, or greater than the specified range, respectively.
-
compare_version_strings
-
Comparison function for sorting version strings
-
conditionally_remove
-
Conditionally removes an item based on it being unchanged
-
config_data
-
Get the array of application configuration data
-
CONFIG_VERSION
-
-
connect
-
Connect to the mail server
-
connect
-
Connect to the database
-
connect
-
Connect to the database
-
connection
-
Return the database connection
-
connection
-
Return the database connection
-
connection
-
Return the database connection
-
connection
-
Return the database connection for this class
-
constraints
-
Return this route's constraints
-
construct_list
-
Build the list of packages from our Project
-
construct_list
-
Build the list of packages from our remotes
-
content_columns
-
Returns an array of column objects suitable for direct editing
-
content_tag
-
Output a content tag
-
ControllerSegment.php
-
-
Controller_Base
-
Controller_Base is an abstract base class for implementing controllers.
-
Controller_Base_CachedActionInfo
-
Class for cached action configuration
-
Controller_Base_EventListener
-
Class for event listener information
-
controller_class
-
Convert a controller parameter value to a class name
-
controller_for
-
Return the controller for a given URL
-
Controller_ForgeryProtection
-
Utilities for protection against cross site request forgeries.
-
Controller_Hook_ProjectInstall
-
Custom install tasks for the controller package
-
controller_name
-
Returns the name of the controller. For ExampleController this returns 'example'.
-
controller_name
-
Convert a class name to a controller parameter value
-
Controller_Routing
-
Handles simple routing rules for dispatching requests to controllers.
-
Controller_Routing_Builder
-
Controller_Routing_Builder is used as a convenient way to add routes to the system.
-
Controller_Routing_ControllerSegment
-
A routing segment that matches a controller name in the URL.
-
Controller_Routing_DynamicSegment
-
A routing segment that matches a URL based on a simple pattern with embedded parameter names.
-
Controller_Routing_RegExSegment
-
A routing segment that matches a URL based on a regular expression.
-
Controller_Routing_Route
-
Represents a complete route in the system. A route is comprised of one or more segments.
-
Controller_Routing_Segment
-
Represents a segment of a route. A segment is a list of rules for matching a portion of a route. A collection of one or more segments comprise a route.
-
Controller_Routing_StaticSegment
-
A routing segment that matches a URL based on straight string comparison.
-
copy
-
Copy a file into the project. Creates any needed directories. If a
-
command_autoloader.php
-
-
ClassUtils.php
-
-
Command.php
-
-
ConfigFile.php
-
-
ConfigFileError.php
-
-
ChangePlanner.php
-
-
ConfigFileWriter.php
-
-
CORE_COMMAND_GLOB
-
-
count
-
Return the count of versions of this package
-
count
-
Returns a count of records matching the provided criteria.
-
count
-
Returns the number of associated objects in the collection (same as size())
-
count_associates
-
Called by the collection object to count the associated objects without loading them.
-
count_by_sql
-
Returns the result of an SQL statement that should only include a COUNT(*) -- or equivalent -- in the SELECT clause.
-
create
-
Create and save (validation permitting) an object. The newly created object is returned. If validation fails, the unsaved object is still returned.
-
create
-
Factory method for accessing the configured engine
-
create
-
Factory-type method for creating a new ActiveRecord_Connection (this must be used instead of constructing a new instance).
-
create
-
Utility for creating a new Wrapper from a package version
-
create
-
Construct a new associate and save it (validation permitting) from a set of attributes and add it to the collection.
-
create_associate
-
Create and save a new associated object from an associative array of attributes and assign it to the object
-
create_associate
-
Create and save a new associated object from an associative array of attributes and assign it to the object. This method handles database updates and foreign keys. It does not directly affect the contents of an association collection object.
-
create_associate
-
Create and save a new associated object from an associative array of attributes and assign it to the object
-
create_finder_attribute_hash
-
Extract attribute names from an "_and_" separated string and construct an associative array using a corresponding array of arguments.
-
create_lock_file
-
Called internally to create the lock file
-
create_migration_table
-
Create the migration table
-
create_or_fail
-
Like create, but calls save_or_fail, so if validation fails, an exception is thrown.
-
create_or_update
-
Handles performing the correct save operation for the object.
-
create_record
-
Create a new record in the database for this object
-
CriticalI_ChangeManager_HasDependentError
-
Indicates a proposed change cannot be made due to unfulfilled dependencies.
-
CriticalI_ChangeManager_InvalidUpgradeError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_ChangeManager_NotInstalledError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_ChangeManager_Plan
-
A Plan represents a planned set of Package_Version changes for a repository or project.
-
CriticalI_ChangeManager_Planner
-
A Planner is used to construct a CriticalI_ChangeManager_Plan for making changes to a repository or project.
-
CriticalI_ChangeManager_PlanRequirement
-
Used internally to model requirements
-
CriticalI_ChangeManager_RepositoryPlanner
-
A CriticalI_ChangeManager_Planner specifically for planning changes to
-
CriticalI_ChangeManager_ResolutionError
-
Indicates a set of packages and correct dependencies could not be resolved from the available set. This is due either to missing packages or conflicts.
-
CriticalI_ClassUtils
-
Utilities for working with classes and files containing them
-
CriticalI_Command
-
A CriticalI_Command implements a command that can be used with the command-line criticali utility. This is the base class which all implemented commands must extend.
-
CriticalI_Command_List
-
CriticalI_Command_List is the collection of installed packages. It is a
-
CriticalI_Command_ProjectEnvironment
-
A base class for writing commands that must run within a project's environment (as opposed to just within the repository environment).
-
CriticalI_Command_TableFormatter
-
Formats information in an ASCII table for output by command line utilities.
-
CriticalI_Command_TableFormatter_Column
-
Internal class used by CriticalI_Command_TableFormatter to represent a
-
CriticalI_ConfigFile
-
Utilities for working with config files used by criticali.
-
CriticalI_ConfigFileError
-
Indicates an exception generated by a ConfigFile operation.
-
CriticalI_ConfigFileReadError
-
Indicates a config file could not be successfully read
-
CriticalI_ConfigFileVersionError
-
Indicates a config file specified an incorrect version
-
CriticalI_ConfigFileWriteError
-
Indicates a config file could not be successfully written
-
CriticalI_DBTestCase
-
The DBTestCase class exists as a convenience for writing test cases
-
CriticalI_Defaults
-
A collection of built-in default values which are shared between classes.
-
CriticalI_Globber
-
A utility for searching the file system for filenames matching a
-
CriticalI_Hook_Install
-
Repository install hook for criticali.
-
CriticalI_InstallHook
-
The interface that must be implemented by a repository install hook.
-
CriticalI_InvalidOptionArgumentError
-
Exception thrown for invalid argument provided
-
CriticalI_MissingOptionArgumentError
-
Exception thrown for missing argument
-
CriticalI_MissingPackageError
-
Indicates a required package could not be found
-
CriticalI_MissingPackageVersionError
-
Indicates a required package version could not be found
-
CriticalI_Option
-
An processed command line option
-
CriticalI_Options
-
Processes command line options.
-
CriticalI_OptionSpec
-
Specification for a command line option
-
CriticalI_Package
-
A Package is a collection of one or more installed package versions.
-
CriticalI_Package_Directory
-
A package directory represents an uninstalled directory for a package.
-
CriticalI_Package_List
-
CriticalI_Package_List is the collection of installed packages. It is a
-
CriticalI_Package_StatusListener
-
Receives informational messages from a package-related operation on
-
CriticalI_Package_Version
-
A Version is the most granular form of a package. It represents a single installed version.
-
CriticalI_Package_VersionSpec
-
Internally used to represent a parsed version dependency specification
-
CriticalI_Package_Wrapper
-
A Wrapper contains an archived package version.
-
CriticalI_Package_ZipError
-
Indicates a zip file related error
-
CriticalI_Project
-
Represents a project directory set up for managing with criticali.
-
CriticalI_Project_ChangePlanner
-
A CriticalI_ChangeManager_Planner specifically for planning changes to
-
CriticalI_Project_ConfigFileWriter
-
Handles writing new default values to a config.php file
-
CriticalI_Project_InstallHook
-
The interface that must be implemented by a project install hook.
-
CriticalI_Project_InstallOperation
-
Utilities for tracking and performing install operations for a given package in a project.
-
CriticalI_Project_Manager
-
-
CriticalI_Project_NotInstalledError
-
Thrown if a removal fails due to the package not being installed.
-
CriticalI_Project_Package
-
CriticalI_Project_Package is a CriticalI_Package that has been installed within a project.
-
CriticalI_Project_PackageList
-
CriticalI_Project_PackageList is the collection of installed packages
-
CriticalI_Project_PackageVersion
-
CriticalI_Project_PackageVersion is a CriticalI_Package_Version that has been installed within a project.
-
CriticalI_Project_StatusListener
-
Receives informational messages from a project operation
-
CriticalI_Project_UninstallHook
-
The interface that must be implemented by a project uninstall hook.
-
CriticalI_Property
-
CriticalI_Property is a class for working with user-level properties defined within the repository.
-
CriticalI_Remote_Package
-
CriticalI_Remote_Package is a collection of CriticalI_Package versions available from one or more remote repository.
-
CriticalI_Remote_PackageList
-
CriticalI_Remote_PackageList is the collection of available packages
-
CriticalI_Remote_PackageVersion
-
CriticalI_Remote_PackageVersion is a CriticalI_Package_Version that is available from one or more remote repositories.
-
CriticalI_Remote_Repository
-
CriticalI_Remote_Repository is used to interact with a remote collection of packages available for installation.
-
CriticalI_RepositoryLock
-
Interface for acquiring locks for accessing or modifying the repository.
-
CriticalI_TestCase
-
This class exists as a convenience for writing PHPUnit tests for the
-
CriticalI_UninstallHook
-
The interface that must be implemented by a repository uninstall hook.
-
CriticalI_UnknownOptionError
-
Exception thrown for unknown/unsupported options
-
CriticalI_UnknownPackageError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_UnknownPackageVersionError
-
Indicates an attempt to operate on an unknown/uninstalled package
-
CriticalI_UsageError
-
General usage exceptions
-
CriticalI_Util
-
A generic collection of utilities used by multiple classes.
-
Cfg.php
-
-
CacheProvider.php
-
-
ConfigProvider.php
-
-
$globalOptions
-
-
Globber.php
-
-
get
-
Return an instance of a database connection.
-
get
-
Return a logger instance for the given name.
-
get
-
Return a cache store instance.
-
get
-
Return a logger instance for the given name.
-
get
-
Returns the shared list instance
-
get
-
Return a template engine instance.
-
get
-
Return a template engine instance.
-
get
-
Get the value of a property
-
get
-
Return a logger instance for the given name.
-
get
-
Return the application configuration data.
-
get
-
Returns the shared list instance
-
get
-
Return an instance of a database connection.
-
get
-
Returns the value of the given key in the configuration. If they key does not exist, any default value provided is returned instead (or NULL if none is provided).
-
get
-
Return the value for key.
-
get
-
Return the value of a property. If the value is not set on this instance, it will call get() on any parent object specified.
-
get
-
Return an instance of a template engine
-
get
-
Return an interface to a cache store.
-
get
-
Return a cache store instance.
-
get
-
Return an instance of a database connection.
-
get
-
Return the array of application configuration data.
-
get
-
Return the value for key.
-
getArchiveName
-
Return the name of the archive where the error occurred
-
getEntryName
-
Return the name of the entry that caused the error
-
getInstance
-
Return the shared class instance
-
getIterator
-
Return an iterator for the options list
-
getIterator
-
Return an iterator for the package list
-
getIterator
-
Return an iterator for the versions list
-
getIterator
-
Return an iterator for the package list
-
getIterator
-
Return an iterator for the command list
-
getIterator
-
Return an iterator for the command list
-
getIterator
-
Returns an iterator for this collections objects
-
getIterator
-
Return an iterator for the package list
-
getLine
-
Read and return a line from the socket
-
getResponse
-
Get a reponse from the server
-
get_associate
-
Accessor method for the associated object
-
get_associate
-
Accessor method for the associated object
-
get_associates
-
Accessor method for the associated objects
-
get_associate_ids
-
Accessor method for the associated object ids
-
get_association
-
Return the named association from the collection. If no such association exists on this instance, it will call get_association() on any parent object specified.
-
get_connection_options
-
Return host and port connection values for a given set of options
-
get_memcache
-
Returns the Memcache instance for a given set of options
-
get_meta_info
-
Return the class information object
-
get_meta_info
-
Called internally to access the class-level meta information
-
get_new_connection
-
Returns a new PDO connection
-
get_new_connection
-
Returns a new PDO connection
-
get_required
-
Returns the value of the given key in the configuration. If they key does not exist, MissingRequiredConfigurationError is thrown instead.
-
get_resource
-
Generic implementation of getting a resource from a provider
-
get_server_description
-
Returns the server description for a given set of options
-
get_template_vars
-
Return the value assigned to the named variable, or all assigned variables if not provided.
-
$if_callback
-
-
$ignore
-
Matches words which are the same in both the singular and plural forms
-
$included
-
-
$index
-
-
$inheritance_column
-
-
$inst
-
Shared instance
-
$installedList
-
-
$instance
-
-
$intOnly
-
Flag indicating only an integer value is allowed
-
Init.php
-
-
InfoMgr.php
-
-
Init.php
-
-
ItemBase.php
-
-
InvalidUpgradeError.php
-
-
Install.php
-
-
InstallHook.php
-
-
InstallHook.php
-
-
InstallOperation.php
-
-
id
-
The id method/property always accesses the primary key column, even if the primary key is named something else.
-
id_before_type_cast
-
Access the value of the primary key column before the type cast
-
ignored
-
Test a word to see if it matches a pattern on the ignore list
-
increment
-
Adds one to the value of the named attribute. If the attribute is null, it is first initialized to zero before adding one.
-
increment_and_save
-
Increments the named attribute and saves the object.
-
increment_counter
-
Increments the specified counter for the given id by one.
-
index
-
Returns the index of packages available from the remote
-
index_of_package
-
Search an array for a matching package (any version)
-
index_of_requirement
-
Search the requirements array for a matching package and version
-
index_of_version
-
Returns the numeric index of a given version number, or false if it does not exist.
-
index_of_version
-
Search an array for a matching package version number
-
index_of_version_specification
-
Search an array for a matching package version specification
-
info
-
Normal informational message
-
info
-
Log an info message.
-
info
-
Normal informational message
-
info_status
-
Send an informational status message
-
inheritance_column
-
Return the name of the column used for single table inheritance.
-
init
-
Initialize a project
-
initialize
-
Initialize (or re-initialize) the proxy
-
init_class
-
-
init_class
-
Called to initialize class-specific information such as associations, validations, etc. Derived classes should implement this method to specify these class-specific details.
-
init_environment
-
Set up the environment to pull in the project settings. Generally you will want to call this at the beginning of your run_command method. The parameter it accepts is the package directory. If no directory is given, the current working directory is assumed.
-
INIT_HOOKS
-
-
init_schema
-
Set up the schema, if needed
-
INSIDE_PUBLIC
-
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in the repository
-
install
-
Invoked when the package is installed in the repository
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in a project
-
install
-
Invoked when the package is installed in a project
-
installation_directory
-
Return the installation directory (relative to CRITICALI_ROOT)
-
installed_package_instance
-
Return the named CriticalI_Package_Version instance from the installed list.
-
install_dependency_list
-
Add dependencies for a newly installed package to this project's properties
-
install_files
-
Install the files for a package
-
install_init_files
-
Add any specified classes to the init_files property for a package
-
install_package_in_list
-
Add the given package to our list of installed packages
-
install_plan
-
Create a plan for installing the specified package or packages.
-
install_property_defaults
-
Set any property defaults for a package
-
install_uninstallers
-
Add any specified classes to the uninstallers property for a package
-
instance
-
Returns the shared instance. Used only internally.
-
instantiate
-
Create a new instance of an object from a record. This handles single table inheritance, allowing different types of objects to be instantiated from the same table.
-
instantiate_migration
-
Instantiate the class for a migration
-
intersect_sorted
-
Returns a new array containing only those values from source which are also present in incl. Both input arrays must be sorted.
-
invoke
-
Invoke the proxy
-
is_absolute
-
Test a path to see if it is absolute
-
is_absolute
-
Test a path to see if it is absolute
-
is_associative
-
Test an array to see if it is associative. Note that this resets the array pointer.
-
is_empty
-
Test the collection to see if it is empty
-
is_empty
-
Returns true if the list of errors is empty
-
is_exact_or_newer_version_installed
-
Determine if a specific package version or newer is already installed.
-
is_exact_version_installed
-
Determine if a specific package version is already installed.
-
is_first_concrete_descendent
-
Determine if this class is the first concrete descendent from ActiveRecord_Base.
-
is_installed
-
Test to see if a package is already installed
-
is_installed
-
Determine if a package by the same name is already installed.
-
is_invalid
-
Returns true if the named attribute has errors
-
is_next_option
-
Peeks at the next argument to see if it is an option
-
is_number
-
Return true if the data type is a numeric type
-
is_on_add_list
-
Determine if the given package name is to be added
-
is_on_remove_list
-
Determine if the given package version is to be removed
-
is_request_verified
-
Test the current request for authenticity. Returns true if the request has been verified as authentic or does not require verification (i.e. GET requests).
-
is_supported
-
Called statically to ensure this engine is supported before constructing it. The memory engine is always supported.
-
is_supported
-
Called statically to ensure this engine is supported before constructing it. The file engine is always supported.
-
is_supported
-
Called statically to ensure this engine is supported before constructing it. The memcache engine is only supported when the memcache extension is also present.
-
is_supported
-
Called statically to ensure this engine is supported before constructing it. The apc engine is only supported when the APC extension is also present.
-
is_supported
-
Called statically to ensure this engine is supported before constructing it. Most engines will want to always return true, but in some cases it may be a good place to check that all needed extensions are present.
-
is_text
-
Return true if the data type is a text type
-
is_valid
-
Determine if this record is valid
-
is_valid
-
Tests if an item is considered valid (has not yet expired)
-
item_for_key
-
Return the cache item object for the provided key.
-
item_for_key
-
Return the cache item object for the provided key.
-
item_for_key
-
Return the cache item object for the provided key.
-
item_for_key
-
Return the cache item object for the provided key.
-
item_for_key
-
Return the cache item object for the provided key.
-
Init.php
-
-
InvalidMigrationError.php
-
-
IrreversibleError.php
-
-
Init.php
-
-
Inflector.php
-
-
$package
-
-
$packageInfo
-
-
$packageList
-
-
$packageName
-
-
$packages
-
-
$packages
-
-
$packages
-
-
$packageVersion
-
-
$packageVersion
-
-
$parent
-
-
$pattern
-
-
$pattern
-
Regular expression to validate against
-
$pattern
-
-
$pattern
-
-
$pattern
-
-
$performed
-
-
$plurals
-
Plural conversions
-
$plus
-
-
$postion
-
-
$precision
-
The precision of the column
-
$previousHandler
-
Set to the previously registered handler which will be invoked after logging the error
-
$primary
-
A flag indicating whether or not this is the primary key for the
-
$primary_key
-
-
$primary_key
-
-
$primary_key
-
-
$project
-
-
$project
-
-
$project
-
-
$properties
-
-
$properties
-
-
$properties
-
-
$properties
-
-
$properties
-
-
$propertyName
-
-
$protected_attributes
-
-
$providers
-
-
$proxied_methods
-
-
$proxy
-
-
Provider.php
-
-
Proxy.php
-
-
ProxyMethod.php
-
-
Provider.php
-
-
ProjectInstall.php
-
-
Plan.php
-
-
Planner.php
-
-
ProjectEnvironment.php
-
-
Package.php
-
-
Package.php
-
-
PackageList.php
-
-
PackageVersion.php
-
-
Project.php
-
-
Property.php
-
-
Package.php
-
-
PackageList.php
-
-
PackageVersion.php
-
-
ProjectInstall.php
-
-
Provider.php
-
-
ProjectInstall.php
-
-
ProjectInstall.php
-
-
package
-
Return the containing package
-
packages
-
Return a list of installed packages and their versions. Data is
-
package_list
-
Return the list of installed packages as a CriticalI_Project_PackageList (which contains CriticalI_Package objects instead of just a hash of strings).
-
package_name
-
Return the contained package name
-
package_on_add_list
-
Return the CriticalI_Package_Version instance with the given name from the add list
-
package_version
-
Return the contained package version number
-
package_version
-
Return the package being installed
-
PARAMETER
-
-
parse_option
-
Parses an option
-
parse_option_optional_arg
-
Handle an option which may take an optional argument
-
parse_option_prohibited_arg
-
Handle an option which may not have an argument
-
parse_option_required_arg
-
Handle an option which requires an argument
-
passes_method_constraints
-
Tests if a request method matches any constraints set on this route
-
passes_parameter_constraints
-
Tests if a request method matches any parameter constraints set on this route
-
perform
-
Perform the set of operations prescribed by a CriticalI_ChangeManager_Plan
-
perform
-
Perform the set of operations prescribed by a CriticalI_ChangeManager_Plan
-
performed_version
-
Return the highest performed version number
-
perform_action
-
Perform the current action. This method is intended only for use by handle_request().
-
perform_migration
-
Perform a migration
-
pluralize
-
Return the plural form of a word
-
pluralize_impl
-
Implementation for pluralize
-
populate_versions_from_string
-
Populates the list of versions from a string containing a comma- separated list of installed version numbers.
-
pop_requirement
-
Remove and return the last requirement from the list. Returns an array whose first element is the package name and whose second element is the version specification.
-
position
-
Return this route's position
-
precision
-
Return the precision of the column
-
prefetchPrimaryKey
-
Used to test whether this connection uses sequences to generate
-
prefetchPrimaryKey
-
Used to test whether this connection uses sequences to generate
-
prepare_for_render
-
Prepare template and layout for rendering.
-
primary
-
Returns true if this column is the tables primary key, false otherwise.
-
primary_key
-
Return the name of this class's primary key. Default is 'id'.
-
primary_key
-
Return the primary key name for this association
-
private_directory
-
Returns the project's private directory.
-
process_arguments
-
Process the arguments
-
process_includes
-
Handle include processing for a result set
-
project
-
Return the project associated with this installation
-
PROJECT_INSTALL_HOOKS
-
-
project_private_dir
-
Return the directory that contains the non-public files for the project
-
project_public_dir
-
Return the directory that contains the public files for the project
-
PROJECT_UNINSTALL_HOOKS
-
-
prompt
-
Prompt the user and return the user's response
-
prompt_confirm
-
Prompt the user with a yes/no question and return the user's response as a boolean
-
property
-
Return the value of a property for this package version
-
property
-
Return the value of a property for the wrapped package version
-
property
-
Return the value of a property for this project
-
property
-
Return the value of a property for this package version
-
protected_attributes
-
Return a list of all attributes which have been protected from mass assignment (the list is always maintained in sorted order).
-
protect_from_forgery
-
If the request is not a GET request and does not contain the
-
proxy
-
Return a proxy object for this class.
-
proxy_method_for
-
Return the proxy method for a given method name, or null if none declared.
-
public_directory
-
Returns the project's public directory.
-
push_requirement
-
Add a requirement to the list
-
ProjectInstall.php
-
-
ProjectInstall.php
-
-
$rawFile
-
-
$rawSuffix
-
-
$readonly
-
Indicates whether this record is read-only or not
-
$receivedArgumentCount
-
-
$recipients
-
List of message recipients
-
$record
-
-
$record
-
-
$record
-
-
$regex
-
-
$remotes
-
-
$remotes
-
-
$remove
-
-
$rendered
-
-
$replace
-
-
$requiredArgumentCount
-
-
$requirements
-
-
$revision
-
-
$rightText
-
-
$routes
-
-
$routing
-
-
$rows
-
-
RegExSegment.php
-
-
Route.php
-
-
Routing.php
-
-
RepositoryPlanner.php
-
-
ResolutionError.php
-
-
Repository.php
-
-
RepositoryLock.php
-
-
Record.php
-
-
Runner.php
-
-
random_bytes
-
Return a string of random bytes
-
rcptTo
-
Recipient command
-
read
-
Return the value associated with the key from the cache
-
read
-
Return the value associated with the key from the cache
-
read
-
Return the value associated with the key from the cache
-
read
-
Return the value associated with the key from the cache
-
read
-
Return the value associated with the key from the cache
-
read
-
Read a config file and return the resulting array of data.
-
readonly
-
Returns the setting of the read-only flag for this object
-
read_attribute
-
Returns the value of an attribute type cast to the correct data type.
-
read_attribute
-
Calls read_attribute on the object the method was originally invoked on.
-
read_attribute_before_type_cast
-
Calls read_attribute_before_type_cast on the object the method was originally invoked on.
-
read_attribute_before_type_cast
-
Returns the value of an attribute without performing any type casting.
-
read_cached_attribute
-
Return the value stored in the attribute cache for the given name.
-
read_cached_attribute
-
Calls read_cached_attribute on the object the method was originally invoked on.
-
read_lock
-
Acquire a read lock of the repository
-
READ_LOCKED
-
-
rebuild
-
Rebuild the installation list file and repopulate the list
-
recipients
-
Return the message's recipients
-
recursive_list
-
Recursively list the contents of a directory
-
redirect
-
Redirect to a given URL
-
redirect_to
-
Output a redirect header to the browser
-
regex
-
Return the regular expression used to match this segment
-
regex
-
The regex method adds a route based on regular expression to be evaluated against the complete URL.
-
regex_replace_var
-
Callback for build_regex replacements
-
register
-
Register the logger
-
register_cache
-
Register a cache provider
-
register_config_data
-
Register a config data provider
-
register_db_connection
-
Register a db connection provider
-
register_lock
-
Register a lock for cleanup at shutdown
-
register_logger
-
Register a logger provider
-
register_provider
-
Generic implementation of registering a resource provider
-
register_template_engine
-
Register a template engine provider
-
release
-
Release any acquired lock
-
reload
-
Reloads the attributes for this object from the database.
-
REMOTES
-
-
remove
-
Remove (delete) a property. The change is immediately saved to disk.
-
remove
-
Remove a package from the project.
-
remove
-
Remove the key from the cache
-
remove
-
Remove the key from the cache
-
remove
-
Remove the key from the cache
-
remove
-
Remove (uninstall) a package version from the repository
-
remove
-
Remove the key from the cache
-
remove
-
Remove the key from the cache
-
remove_associate
-
Remove an associated object from this object's collection. This method handles database updates and foreign keys. It does not directly affect the contents of an association collection object.
-
remove_attributes_protected_from_mass_assignment
-
Remove attributes protected from mass assignment from an associative array
-
remove_closest
-
Add the closest matching installed package to the remove list
-
remove_event_listener
-
Remove an event listener from this class.
-
remove_event_listener
-
Remove an event listener from this class.
-
remove_from_version_list
-
Remove a version from a version list string and maintain sort order
-
remove_init_file
-
Remove a file from the list in the init_files property.
-
remove_list
-
Return the list of packages to remove
-
remove_multiple
-
Remove (delete) a set of properties. The changes are immediately saved to disk.
-
remove_package
-
Add a package to the remove list
-
remove_plan
-
Create a plan for removing the specified package or packages.
-
remove_version_from_packages_file
-
Update the installation list file by removing a single deleted package directory
-
rendered
-
Accessor for this controller's rendered flag
-
render_action
-
Render the template for the action
-
render_error
-
Render an error document
-
render_to_string
-
Render the template as a string.
-
REPOSITORY_INSTALL_HOOKS
-
-
REPOSITORY_UNINSTALL_HOOKS
-
-
REQUIRED
-
-
required_parameter_count
-
Return the number of arguments required by the method
-
requirements_list
-
Return the list of requirements
-
requirement_count
-
Return the count of requirements in this plan's list
-
require_https
-
If HTTPS is not the current protocol, outputs a redirect header to this URL using HTTPS and returns false, otherwise returns true. Convenient for use as a before filter on pages requiring HTTPS.
-
require_post
-
If the current request method is not POST, outputs a 405 Method Not Allowed error and returns false, otherwise returns true. This is convenient for use in a conditional before filter to limit some actions to post only.
-
reverse_migration
-
Undo a migration
-
reverse_type_cast
-
The opposite of type_cast. Accepts a data type appropriate for this column and converts it (if required) back to a value appropriate for use in a SQL statement.
-
reverse_type_cast
-
Type cast a value from PHP code into a value suitable for use in
-
revert_file
-
Writes back the original file content (as it was loaded when this class was created).
-
root
-
The root method adds a route that matches the site root URL.
-
run
-
Run migrations.
-
runBare
-
Override the run method to allow additional prep
-
run_command
-
Internal implementation of the command. This must be implemented by all sub classes. The properties globalOptions, options, and args will have been populated when this method is called.
-
run_installers_for
-
Run any specified installers for a package
-
run_installers_for
-
Run any specified installers for a package
-
run_uninstallers_for
-
Run any specified uninstallers for a package
-
run_uninstallers_for
-
Run any registered uninstallers for a package
-
run_validations
-
Evaluate all validations of a given type associated with this object
-
Resources.php
-
-
$scale
-
The scale of the columm
-
$schemaLoaded
-
-
$scope
-
-
$scope
-
-
$scope
-
Scoping conditions
-
$scriptName
-
-
$segmentsHead
-
-
$sequence_name
-
-
$shortMsg
-
Error message to use for attributes that are too short
-
$singulars
-
Singular conversions
-
$skipWrite
-
-
$sock
-
-
$sourceList
-
-
$sql_type
-
The column data type (as reported by the DB)
-
$start
-
-
$statusListener
-
-
$statusListener
-
-
$subject
-
Message subject
-
$summary
-
-
Sqlite.php
-
-
Store.php
-
-
Segment.php
-
-
StaticSegment.php
-
-
StatusListener.php
-
-
StatusListener.php
-
-
safe_file_name
-
Sanitize a string value for use as a filename
-
sanitizeData
-
Sanitize data for sending
-
sanitizeSQL
-
Accepts a string or array containing an SQL statement or
-
sanitizeSQL
-
Accepts a string or array containing an SQL statement or
-
satisfies_requirement
-
Determine if this plan already provides the given package and version specification
-
satisfies_requirement
-
Determine if the installed set of packages satisfy the requirement for the named package and version.
-
satisfy_dependency
-
Return the version that satisfies the dependency required by the given version dependency string or null if not found.
-
save
-
Write a property to the repository
-
save
-
Save the object to the database. If no record yet exists for the object, a new one is created. Otherwise, the existing record is updated.
-
save_or_fail
-
Saves the object to the database. If the save operation does not succeed, a RecordNotSaved exception is thrown.
-
scale
-
Return the scale of the columm
-
script_name
-
Return the script name
-
selectAll
-
Runs the select query provided in the $sql parameter, then fetches all rows into an array. Each individual row is fetched using the mode parameter provided.
-
selectValue
-
This is a convenience method for running select queries which
-
send
-
Send the mail message
-
send
-
Send an email message
-
send
-
Send an email message
-
send
-
Send an email message
-
sendLine
-
Send a line to the remove server
-
send_parent
-
Invoke a named method on an blank instance of our parent class if our parent is not abstract.
-
sequence_name
-
Return the name of this class's sequence. This function may be overridden by derived classes. The default name is actually determined by providing the table name and primary key name to the connection. It then builds an appropriate sequence name.
-
set
-
Store a value for key.
-
set
-
Set the value of a property. The property is immediately saved to disk.
-
set
-
Store a value for key.
-
set_action
-
This method sets the controller's action
-
set_associate
-
Mutator method for the associated object
-
set_associate
-
Mutator method for the associated object
-
set_associates
-
Mutator method for the entire collection of associated objects
-
set_associate_ids
-
Mutator method for the entire collection of associated objects by ids
-
set_attributes
-
Allows setting of multiple attributes at once by passing an associative array. The array keys are the attribute names and the array values are the values to assign.
-
set_config_value
-
Set a configuration value in the project. This will override any existing value.
-
set_connection
-
Sets the database connection for this class
-
set_constraints
-
Set this route's constraints
-
set_default
-
If no corresponding key in the configuration is set, defines a new value for it.
-
set_defaults
-
Set this route's default parameters
-
set_default_cache
-
Set the default cache provider
-
set_default_config_data
-
Set the default config data provider
-
set_default_config_value
-
Set a default configuration value in the project. If no corresponding key in the configuration is set, defines a new value for it.
-
set_default_db_connection
-
Set the default db connection provider
-
set_default_logger
-
Set the default logger provider
-
set_default_provider
-
Generic implementation of setting a default resource provider
-
set_default_template_engine
-
Set the default template engine provider
-
set_error
-
Set the error flag for the controller
-
set_first_segment
-
Set this route's first segment
-
set_flash
-
Set a flash message
-
set_foreign_key
-
Mutator method for the foreign key. This is redefined to invalidate any cached object.
-
set_header
-
Set the header for the table
-
set_header
-
Add a header field
-
set_html_body
-
Set the HTML body
-
set_id
-
Set the value of the primary key
-
set_inheritance_column
-
Set the name of the column used for single table inheritance.
-
set_layout
-
This method sets the path to the layout to be used.
-
set_multiple
-
Set the value of a several properties at once.
-
set_name
-
Set this route's name
-
set_next
-
Set the next segment in the route
-
set_position
-
Set this route's position
-
set_primary
-
Set whether or not this column is the tables primary key.
-
set_primary_key
-
Set the field name used as this class's primary key.
-
set_readonly
-
Change the setting of the read-only flag for this object
-
set_readonly
-
Migration_Records cannot be made readonly. Any attempt to change the readonly setting is silently ignored.
-
set_rendered
-
This method sets the controller's rendered flag
-
set_routing
-
Set the routing instance currently in use
-
set_sequence_name
-
Set the name of this class's sequence.
-
set_status_listener
-
Set the status listener
-
set_status_listener
-
Set the status listener
-
set_table_name
-
Set the name of this class's table.
-
set_table_name_prefix
-
Set the prefix to add to the table name
-
set_table_name_suffix
-
Set the suffix to add to the table name
-
set_template_defaults
-
Set various template variables if they have not been set explicitly.
-
set_text_body
-
Set the text body
-
set_value
-
Set the key to a new value, irrespective of any existing values.
-
should_validate
-
Determine if the object should be validated or not based on the configured condition
-
simplified_type
-
Return a normalized type name from a raw SQL type
-
singularize
-
Return the singlar form of a word
-
singularize_impl
-
Implementation for singularize
-
size
-
Return the total number of errors in the collection (same as count(full_messages())).
-
size
-
Returns the number of associated objects in the collection
-
slash
-
Adds slashes needed to enclose a value safely in double quotes in PHP.
-
smarty_block_cache
-
cache Smarty function
-
smarty_function_checkbox
-
checkbox Smarty function
-
smarty_function_controller_action_id
-
controller_action_id Smarty function
-
smarty_function_errors
-
errors Smarty function
-
smarty_function_include_text
-
include_text Smarty function
-
smarty_function_message_area
-
message_area Smarty function
-
smarty_function_p
-
p Smarty function (URL prefix)
-
smarty_function_password_field
-
password_field Smarty function
-
smarty_function_radio_button
-
radio_button Smarty function
-
smarty_function_repeat
-
repeat Smarty function
-
smarty_function_section_link
-
section_link Smarty function
-
smarty_function_sort_link
-
repeat Smarty function
-
smarty_function_text_area
-
text_area Smarty function
-
smarty_function_text_field
-
text_field Smarty function
-
smarty_function_url_for
-
url_for Smarty function
-
smarty_function_week_options
-
week_options Smarty function
-
Smarty_Hook_ProjectInstall
-
Custom install tasks for the Smarty package
-
smarty_modifier_flash_escape
-
Escape a string for flash HTML
-
smarty_modifier_number_format
-
number_format Smarty modifier
-
smarty_modifier_obfuscate
-
obfuscate Smarty modifier
-
Smarty_TemplateProvider
-
The Smarty template engine provider. This provider returns an instance of Smarty.
-
sort_by_name
-
Perform a natural sort by object name property
-
sql_type
-
Return the column data type (as reported by the DB)
-
status_listener
-
Return the status listener
-
subject
-
Return the message's subject
-
summary
-
Returns the summary of the command
-
SMTPEngine.php
-
-
Support_ArrayHelper
-
Additional helper functions for working with arrays
-
Support_ErrorLogger
-
Utility to log PHP errors when they occur. Requires log_error to be registered with set_error_handler.
-
Support_Hook_ProjectInstall
-
Custom install tasks for the support package
-
Support_Inflector
-
The Inflector class handles conversion of words between their singular and plural forms.
-
Support_InflectorConversion
-
Used by the Support_Inflector class to hold conversion information
-
Support_InvalidResourceProviderError
-
Thrown when an attempt is made to register a provider that does not implement the correct interface.
-
Support_Mail_Attachment
-
Represents an email attachment
-
Support_Mail_Engine
-
Interface for sending email
-
Support_Mail_MailEngine
-
Default mail engine uses PHP's builtin mail function
-
Support_Mail_Msg
-
Simple class for constructing an HTML mail message
-
Support_Mail_SMTPEngine
-
Simple SMTP-based mail engine
-
Support_Resources
-
Factory class for accessing system and application-wide resources
-
Support_Resources_CacheProvider
-
Interface for providing a cache store for Support_Resources
-
Support_Resources_ConfigProvider
-
Interface for providing config data for Support_Resources
-
Support_Resources_DBProvider
-
Interface for providing database connections for Support_Resources
-
Support_Resources_DefaultCacheProvider
-
The default cache provider returns
-
Support_Resources_DefaultCacheStore
-
Support_Resources_DefaultCacheStore provides the same public interface
-
Support_Resources_DefaultConfigProvider
-
The default config data provider includes a file named config.php (from anywhere in the include path) which is expected to populate a global array named APP_CONFIG.
-
Support_Resources_DefaultDBProvider
-
Default implementation of Support_Resources_DBProvider
-
Support_Resources_DefaultLogger
-
A simplistic logger that passes message to error_log and does rudimentary filtering based on the current error reporting setting.
-
Support_Resources_DefaultLoggerProvider
-
The default logger provider returns uses the
-
Support_Resources_DefaultTemplateEngine
-
The default template engine
-
Support_Resources_DefaultTemplateProvider
-
The default template engine provider. This provider returns a simple class which uses PHP's built-in templating abilities.
-
Support_Resources_LoggerProvider
-
Interface for providing loggers for Support_Resources
-
Support_Resources_TemplateProvider
-
Interface for providing template engines for Support_Resources
-
Support_TagHelper
-
Helper functions for creating HTML tags
-
Support_UnknownClassError
-
Thrown if an unknown/undeclared class is referenced
-
Support_UnknownOptionError
-
Thrown if an invalid option key is supplied
-
Support_UnknownResourceProviderError
-
Thrown when an attempt is made to access a resource from an unknown/unregistered provider.
-
Support_Util
-
Shared utility functions for common tasks
-
system_upgrade
-
Upgrade the criticali system to a new wrapped package
-
$upgradable
-
-
$upperBound
-
Maximum size
-
$url
-
-
UnsupportedEngineError.php
-
-
UninstallHook.php
-
-
UninstallHook.php
-
-
UnknownPackageError.php
-
-
UnknownPackageVersionError.php
-
-
UsageError.php
-
-
Util.php
-
-
UnknownClassError.php
-
-
UnknownOptionError.php
-
-
Util.php
-
-
underscore
-
Essentially the reverse of camelize. Converts a mixed case string to a lowercase underscore separated string of words.
-
uninstall
-
Invoked when the package is uninstalled from the repository
-
uninstall
-
Invoked when the package is uninstalled from a project
-
uninstall_dependency_list
-
Remove dependencies for a package from this project's properties
-
uninstall_files
-
Remove all of the files in a listing. Any directories in the listing are removed if they are empty after first removing all other files in the list.
-
uninstall_init_script_listings
-
Remove any listings in the init_files property for the removed files listed in $manifest
-
uninstall_package_in_list
-
Remove the given package from our list of installed packages
-
unlock
-
Release any acquired lock for the key.
-
unlock
-
Release any acquired lock for the key. As with lock(), this function should merely return (the default) if locking is not supported.
-
UNLOCKED
-
-
unmarshall
-
This is the inverse of marshall(). Given a string value returned by marshall, returns the original value.
-
unregister_lock
-
Unregister a released lock passed to register_lock()
-
unwrap
-
Extract a wrapped package to the given directory
-
up
-
Perform this migration.
-
update
-
Find an object by id and update the attributes specified in an associative array. The object is automatically saved (validation permitting) and is then returned.
-
update_all
-
Updates a set of records given a SQL fragment for use inside a
-
update_attribute
-
Updates a single attribute on this object and then saves the object.
-
update_attributes
-
Updates a list of attriubtes from an associative array and then saves the object.
-
update_attributes_or_fail
-
Operates the same as update_attributes(), but calls save_or_fail, so a RecordNotSaved exception is thrown if the save operation does not succeed.
-
update_record
-
Update the record associated with the object
-
update_system_in_packages_file
-
Update the criticali system version listed in the package directory
-
upgrade_plan
-
Create a plan for upgrading the specified package or packages.
-
url_for
-
Return the URL for a given set of parameters.
-
url_for
-
Essentially the opposite of match(), this attempts to build a URL from a set of parameters. It returns the constructed URL on success, or false on failure.
-
url_for
-
Essentially the reverse of match(), this method assembles a URL segment from a set of parameters. Note that a RegExSegment is never capable of constructing a URL and so will return false.
-
url_for
-
The opposite of controller_for, determines the URL for a given set of parameters. If no URL can be constructed from the parameters, this method throws an exception.
-
url_for
-
Essentially the reverse of match(), this method assembles a URL segment from a set of parameters. If this segment cannot construct a URL chunk for the parameters, it returns false. Note that upon completion, $params contains only unconsumed parameters.
-
url_for
-
Essentially the reverse of match(), this method assembles a URL segment from a set of parameters. If this segment cannot construct a URL chunk for the parameters, it returns false. Note that upon completion, $params contains only unconsumed parameters.
-
url_for
-
Essentially the reverse of match(), this method assembles a URL segment from a set of parameters. If this segment cannot construct a URL chunk for the parameters, it returns false. Note that upon completion, $params contains only unconsumed parameters.
-
url_for
-
Essentially the reverse of match(), this method assembles a URL segment from a set of parameters. If this segment cannot construct a URL chunk for the parameters, it returns false. Note that upon completion, $params contains only unconsumed parameters.
-
usage_text
-
Helper function to produce partial usage text from a list of CriticalI_OptionSpec objects.
-
$validations
-
-
$validValues
-
List to validate against
-
$variables
-
-
$vars
-
-
$version
-
-
$version
-
-
$versions
-
-
Validation.php
-
-
Version.php
-
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validate
-
Perform validation checks applicable any time the record is saved. Use errors()->add($attribute, $message) to record any errors.
-
validate
-
Validate the object provided. If the object is invalid, it is the responsibility of this method to add any errors appropriate to the object's error collection.
-
validateKeys
-
Validates that the key values in a set of properties are valid
-
validates_confirmation_of
-
Add one or more validations for fields which have a confirmation field that must contain an identical value.
-
validates_exclusion_of
-
Add a validation for a field that is allowed to have any value not in a given list.
-
validates_format_of
-
Add a validation for the format of a field. The format is validated using a perl-compatible regular expression.
-
validates_inclusion_of
-
Add a validation for a field that is only allowed to have a value in a given list.
-
validates_length_of
-
Add one or more validations for fields lengths. Length refers to the number of characters in the field (string length).
-
validates_numericality_of
-
Add a validation for a field that must be numeric.
-
validates_presence_of
-
Add one or more validations for fields which may not be empty.
-
validates_uniqueness_of
-
Add one or more validations for fields which must be unique accross records.
-
validate_find_options
-
Validates the options provided to a find method
-
validate_on_create
-
Perform validation checks applicable only before saving a new record. Use errors()->add($attribute, $message) to record any errors.
-
validate_on_update
-
Perform validation checks applicable only before saving an existing record. Use errors()->add($attribute, $message) to record any errors.
-
validate_options
-
Validates a provided set of options against an allowed set
-
validate_options
-
Validate an options array against a set of permitted options. The
-
validation_name_to_type
-
Convert a string name of a validation type to the class constant
-
valid_options
-
Return the correct set of options to use for a provided options argument
-
value
-
Return the value of this segment in human readable form.
-
value
-
Return the value of this segment in human readable form.
-
value
-
Return the value of this segment in human readable form.
-
value
-
Return the value of this segment in human readable form.
-
value
-
Return the value of this segment in human readable form.
-
values_for_insert
-
Return the list of all attribute values prepared for use in an insert statement
-
version
-
Return the version number as an array with three elements (major, minor, and revision numbers).
-
version
-
Return the version number for this migration.
-
version
-
Return the package version
-
version
-
Return the current version number
-
versions_string
-
Returns a comma-separated list of version strings for the versions this package contains.
-
version_string
-
Return the version number as a string.