Element index for package PHPonTrax
[ 0 ]
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ j ]
[ k ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ q ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ x ]
[ y ]
[ _ ]
_
- __autoload
- in file trax.php, function __autoload()
- __call
- in file action_controller.php, method ActionController::__call()
- __call
- in file active_record.php, method ActiveRecord::__call()
Override call() to dynamically call the database associations
- __call
- in file action_mailer.php, method ActionMailer::__call()
Override call() to do some magic where you can call create_*() and deliver_*().
- __construct
- in file javascript_helper.php, method JavaScriptHelper::__construct()
- __construct
- in file helpers.php, method Helpers::__construct()
Construct a Helpers object
- __construct
- in file scaffold_controller.php, method ScaffoldController::__construct()
- __construct
- in file form_helper.php, method FormHelper::__construct()
- __construct
- in file trax_generator.php, method TraxGenerator::__construct()
Constructor for the TraxGenerator object
- __construct
- in file trax_exceptions.php, method TraxError::__construct()
- __construct
- in file shell.php, method PHP_Shell::__construct()
init the shell and change if readline support is available
- __construct
- in file date_helper.php, method DateHelper::__construct()
Constructor
- __construct
- in file action_controller.php, method ActionController::__construct()
Build a Router object and load routes from config/route.php
- __construct
- in file active_record.php, method ActiveRecord::__construct()
Construct an ActiveRecord object
- __construct
- in file action_mailer.php, method ActionMailer::__construct()
ActionMailer constructor.
- __construct
- in file asset_tag_helper.php, method AssetTagHelper::__construct()
- __get
- in file active_record.php, method ActiveRecord::__get()
Override get() if they do $model->some_association->field_name dynamically load the requested contents from the database.
- __set
- in file active_record.php, method ActiveRecord::__set()
Store column value or description of the table format
- __set
- in file action_controller.php, method ActionController::__set()
- __shell_default_error_handler
- in file php_shell.php, function __shell_default_error_handler()
default error-handler
- __shell_readline_complete
- in file shell.php, function __shell_readline_complete()
a readline completion callback
top
a
- $action
- in file action_controller.php, variable ActionController::$action
Name of the action method in the controller class
- $action_called
- in file action_controller.php, variable ActionController::$action_called
- $action_params
- in file action_controller.php, variable ActionController::$action_params
Parameters for the action routine
- $active_connections
- in file active_record.php, variable ActiveRecord::$active_connections
Stores the active connections. Indexed on $connection_name.
- $added_path
- in file action_controller.php, variable ActionController::$added_path
Path to add to other filesystem paths
- $after_filter
- in file action_controller.php, variable ActionController::$after_filter
- $after_filters
- in file action_controller.php, variable ActionController::$after_filters
List of filters to execute after calling action method
- $aggregations
- in file active_record.php, variable ActiveRecord::$aggregations
SQL aggregate functions that may be applied to the associated table.
- $application_controller_file
- in file action_controller.php, variable ActionController::$application_controller_file
Filesystem path to application.php file
- $application_helper_file
- in file action_controller.php, variable ActionController::$application_helper_file
Filesystem path to application_helper.php file
- $app_path
- in file trax.php, variable Trax::$app_path
- $asset_host
- in file action_controller.php, variable ActionController::$asset_host
- $attrArray
- in file input_filter.php, variable InputFilter::$attrArray
User-provided list of attributes to either accept or reject
- $attrBlacklist
- in file input_filter.php, variable InputFilter::$attrBlacklist
List of attributes to be removed
- $attribute_name
- in file helpers.php, variable Helpers::$attribute_name
- $attrMethod
- in file input_filter.php, variable InputFilter::$attrMethod
How to apply user-provided attribute list
- $autoload
- in file shell.php, variable PHP_Shell::$autoload
does the use want to use the internal autoload ?
- $auto_create_timestamps
- in file active_record.php, variable ActiveRecord::$auto_create_timestamps
Names of automatic create timestamp columns
- $auto_delete_habtm
- in file active_record.php, variable ActiveRecord::$auto_delete_habtm
Auto delete $has_and_belongs_to_many associations
- $auto_index
- in file helpers.php, variable Helpers::$auto_index
- $auto_save_associations
- in file active_record.php, variable ActiveRecord::$auto_save_associations
Whether or not to auto save defined associations if set
- $auto_save_habtm
- in file active_record.php, variable ActiveRecord::$auto_save_habtm
Auto insert / update $has_and_belongs_to_many tables
- $auto_timestamps
- in file active_record.php, variable ActiveRecord::$auto_timestamps
Whether to automatically update timestamps in certain columns
- $auto_update_timestamps
- in file active_record.php, variable ActiveRecord::$auto_update_timestamps
Names of automatic update timestamp columns
- ActionController
- in file action_controller.php, class ActionController
Action controller
- ActionControllerError
- in file trax_exceptions.php, class ActionControllerError
Action Controller's Exception handling class
- ActionMailer
- in file action_mailer.php, class ActionMailer
- ActiveRecord
- in file active_record.php, class ActiveRecord
Base class for the ActiveRecord design pattern
- ActiveRecordError
- in file trax_exceptions.php, class ActiveRecordError
Active Record's Exception handling class
- ActiveRecordHelper
- in file active_record_helper.php, class ActiveRecordHelper
- add
- in file scaffold_controller.php, method ScaffoldController::add()
- add_after_filter
- in file action_controller.php, method ActionController::add_after_filter()
Append an after filter to the filter chain
- add_attachment
- in file action_mailer.php, method ActionMailer::add_attachment()
Add an attachment to an email.
- add_before_filter
- in file action_controller.php, method ActionController::add_before_filter()
Append a before filter to the filter chain
- add_default_name_and_id
- in file form_helper.php, method FormHelper::add_default_name_and_id()
- add_error
- in file active_record.php, method ActiveRecord::add_error()
Add or overwrite description of an error to the list of errors
- add_error
- in file action_mailer.php, method ActionMailer::add_error()
Add or overwrite description of an error to the list of errors
- add_field_exception
- in file input_filter.php, method InputFilter::add_field_exception()
Adds a field to exclude from filtering
- add_habtm_records
- in file active_record.php, method ActiveRecord::add_habtm_records()
- add_helper
- in file action_controller.php, method ActionController::add_helper()
Add a helper to the list of helpers used by a controller object
- add_options
- in file form_options_helper.php, method FormOptionsHelper::add_options()
- add_record
- in file active_record.php, method ActiveRecord::add_record()
Insert a new row in the table associated with this object
- add_record_or_update_record
- in file active_record.php, method ActiveRecord::add_record_or_update_record()
Create or update a row in the table
- after_create
- in file active_record.php, method ActiveRecord::after_create()
Is called after save() on new objects that havent been saved yet (no record exists).
- after_delete
- in file active_record.php, method ActiveRecord::after_delete()
Is called after delete().
- after_save
- in file active_record.php, method ActiveRecord::after_save()
Is called after save (regardless of whether its a create or update save).
- after_update
- in file active_record.php, method ActiveRecord::after_update()
Is called after save() on existing objects that has a record.
- after_validation
- in file active_record.php, method ActiveRecord::after_validation()
Is called after validate().
- after_validation_on_create
- in file active_record.php, method ActiveRecord::after_validation_on_create()
Is called after validate() on new objects that haven't been saved yet (no record exists).
- after_validation_on_update
- in file active_record.php, method ActiveRecord::after_validation_on_update()
Is called after validate() on existing objects that has a record.
- aggregate_all
- in file active_record.php, method ActiveRecord::aggregate_all()
Implement *_all() functions (SQL aggregate functions)
- all_input_tags
- in file active_record_helper.php, method ActiveRecordHelper::all_input_tags()
- application.php
- procedural page application.php
- application_helper.php
- procedural page application_helper.php
- application.phtml
- procedural page application.phtml
- appendCode
- in file shell.php, method PHP_Shell::appendCode()
append code to the code-buffer
- ApplicationController
- in file application.php, class ApplicationController
Controller for an application
- applyColourScheme
- in file shell.php, method PHP_Shell::applyColourScheme()
apply a colour scheme to the current shell
- array_or_string_for_javascript
- in file javascript_helper.php, method JavaScriptHelper::array_or_string_for_javascript()
- AssetTagHelper
- in file asset_tag_helper.php, class AssetTagHelper
Utility to help build HTML/XML link tags for public assets
- attribute_is_string
- in file active_record.php, method ActiveRecord::attribute_is_string()
Determine if passed in attribute (table column) is a string
- auto_discovery_link_tag
- in file asset_tag_helper.php, method AssetTagHelper::auto_discovery_link_tag()
Returns a link tag that browsers and news readers can use to
- auto_discovery_link_tag
- in file asset_tag_helper.php, function auto_discovery_link_tag()
Make a new AssetTagHelper object and call its auto_discovery_link_tag() method
- application.php
- procedural page application.php
- application_helper.php
- procedural page application_helper.php
- application.phtml
- procedural page application.phtml
- action_controller.php
- procedural page action_controller.php
- action_mailer.php
- procedural page action_mailer.php
- active_record_helper.php
- procedural page active_record_helper.php
- asset_tag_helper.php
- procedural page asset_tag_helper.php
- action_view.php
- procedural page action_view.php
- active_record.php
- procedural page active_record.php
- add.phtml
- procedural page add.phtml
top
b
- $before_filter
- in file action_controller.php, variable ActionController::$before_filter
- $before_filters
- in file action_controller.php, variable ActionController::$before_filters
List of filters to execute before calling action method
- $begin_executed
- in file active_record.php, variable ActiveRecord::$begin_executed
Transactions (only use if your db supports it)
- $belongs_to
- in file active_record.php, variable ActiveRecord::$belongs_to
- $body
- in file action_mailer.php, variable ActionMailer::$body
- $builtin_validation_functions
- in file active_record.php, variable ActiveRecord::$builtin_validation_functions
An array of all the builtin validation function calls.
- before_create
- in file active_record.php, method ActiveRecord::before_create()
Is called before save() on new objects that havent been saved yet (no record exists).
- before_delete
- in file active_record.php, method ActiveRecord::before_delete()
Is called before delete().
- before_save
- in file active_record.php, method ActiveRecord::before_save()
Is called before save() (regardless of whether its a create or update save)
- before_update
- in file active_record.php, method ActiveRecord::before_update()
Is called before save() on existing objects that has a record.
- before_validation
- in file active_record.php, method ActiveRecord::before_validation()
Is called before validate().
- before_validation_on_create
- in file active_record.php, method ActiveRecord::before_validation_on_create()
Is called before validate() on new objects that haven't been saved yet (no record exists).
- before_validation_on_update
- in file active_record.php, method ActiveRecord::before_validation_on_update()
Is called before validate() on existing objects that has a record.
- begin
- in file active_record.php, method ActiveRecord::begin()
Only used if you want to do transactions and your db supports transactions
- boolean_attribute
- in file helpers.php, method Helpers::boolean_attribute()
Convert an attribute to proper XML boolean form
- boolean_select
- in file form_helper.php, function boolean_select()
Make a new FormHelper object and call its to_boolean_select_tag method
- build_callbacks
- in file javascript_helper.php, method JavaScriptHelper::build_callbacks()
- build_observer
- in file javascript_helper.php, method JavaScriptHelper::build_observer()
- build_route_regexp
- in file router.php, method Router::build_route_regexp()
Build a regular expression that matches a route
- build_sql
- in file active_record.php, method ActiveRecord::build_sql()
Builds a sql statement.
- button_to
- in file url_helper.php, method UrlHelper::button_to()
- button_to
- in file url_helper.php, function button_to()
Make a new UrlHelper object and call its button_to() method
- boot.php
- procedural page boot.php
- boot.php
- procedural page boot.php
top
c
- $class_name
- in file active_record.php, variable ActiveRecord::$class_name
Class name
- $code
- in file shell.php, variable PHP_Shell::$code
current code-buffer
- $colours
- in file shell.php, variable PHP_Shell::$colours
shell colours
- $colour_scheme
- in file shell.php, variable PHP_Shell::$colour_scheme
shell colour schemes
- $commands
- in file shell.php, variable PHP_Shell::$commands
registered commands
- $composed_of
- in file active_record.php, variable ActiveRecord::$composed_of
Composite custom user created objects
- $config_path
- in file trax.php, variable Trax::$config_path
- $connection_name
- in file active_record.php, variable ActiveRecord::$connection_name
Index into the $active_connections array
- $content_columns
- in file active_record.php, variable ActiveRecord::$content_columns
Description of a row in the associated table in the database
- $content_type
- in file action_mailer.php, variable ActionMailer::$content_type
- $controller
- in file action_controller.php, variable ActionController::$controller
Name of the controller (without the _controller.php)
- $controllers_path
- in file trax.php, variable Trax::$controllers_path
- $controllers_path
- in file action_controller.php, variable ActionController::$controllers_path
Filesystem path to ../app/controllers/ directory
- $controller_class
- in file trax_generator.php, variable TraxGenerator::$controller_class
CamelCase name of the controller class
- $controller_class
- in file action_controller.php, variable ActionController::$controller_class
Class name of the controller
- $controller_file
- in file action_controller.php, variable ActionController::$controller_file
Filesystem path to the PHP program file for this controller
- $controller_name
- in file helpers.php, variable Helpers::$controller_name
Current controller name
- $controller_object
- in file helpers.php, variable Helpers::$controller_object
Current controller object
- $controller_object
- in file action_controller.php, variable ActionController::$controller_object
Instance of the controller class
- $controller_path
- in file trax_generator.php, variable TraxGenerator::$controller_path
Filesystem path to the app/controllers directory in the Trax work area
- $controller_path
- in file helpers.php, variable Helpers::$controller_path
Current controller path
- $controller_template_file
- in file trax_generator.php, variable TraxGenerator::$controller_template_file
Filesystem path to the templates/controller.php file
- $crlf
- in file action_mailer.php, variable ActionMailer::$crlf
- $current_action_name
- in file trax.php, variable Trax::$current_action_name
- $current_controller_name
- in file trax.php, variable Trax::$current_controller_name
- $current_controller_object
- in file trax.php, variable Trax::$current_controller_object
- $current_controller_path
- in file trax.php, variable Trax::$current_controller_path
- camelize
- in file inflector.php, method Inflector::camelize()
Convert a phrase from the lower case and underscored form to the camel case form
- capitalize
- in file inflector.php, method Inflector::capitalize()
Capitalize a word making it all lower case with first letter uppercase
- cdata_section
- in file helpers.php, function cdata_section()
Create a Helpers object and call its cdata_section() method
- cdata_section
- in file helpers.php, method Helpers::cdata_section()
Wrap CDATA begin and end tags around argument
- check_box
- in file form_helper.php, function check_box()
Returns a checkbox tag tailored for accessing a specified attribute (identified by $field) on an object
- check_box_tag
- in file form_tag_helper.php, method FormTagHelper::check_box_tag()
- check_box_tag
- in file form_tag_helper.php, function check_box_tag()
- check_datetime
- in file active_record.php, method ActiveRecord::check_datetime()
Apply automatic timestamp updates
- check_request_for_value
- in file date_helper.php, method DateHelper::check_request_for_value()
Check whether $_REQUEST holds value for this attribute
- classify
- in file inflector.php, method Inflector::classify()
Convert a table name to the corresponding class name
- clear
- in file inflections.php, method Inflections::clear()
- clear_field_exceptions
- in file input_filter.php, method InputFilter::clear_field_exceptions()
Clears all previous field exceptions
- cmdHelp
- in file shell.php, method PHP_Shell::cmdHelp()
handle the '?' commands
- cmdPrint
- in file shell.php, method PHP_Shell::cmdPrint()
handle the 'p ' command
- cmdQuit
- in file shell.php, method PHP_Shell::cmdQuit()
handle the 'quit' command
- cmdSet
- in file shell.php, method PHP_Shell::cmdSet()
set a shell-var
- collection_select
- in file form_options_helper.php, function collection_select()
Create a new FormOptionsHelper object and call its to_collection_select_tag() method
- column_attribute_exists
- in file active_record.php, method ActiveRecord::column_attribute_exists()
Check whether a column exists in the associated table
- column_for_attribute
- in file active_record.php, method ActiveRecord::column_for_attribute()
get the attributes for a specific column.
- column_type
- in file active_record.php, method ActiveRecord::column_type()
get the columns data type.
- column_type
- in file active_record_helper.php, method ActiveRecordHelper::column_type()
- commit
- in file active_record.php, method ActiveRecord::commit()
Only used if you want to do transactions and your db supports transactions
- compute_public_path
- in file asset_tag_helper.php, method AssetTagHelper::compute_public_path()
Compute public path to an asset
- connect
- in file router.php, method Router::connect()
Accessor method to add a route to the route table
- content_tag
- in file active_record_helper.php, method ActiveRecordHelper::content_tag()
- content_tag
- in file helpers.php, function content_tag()
Create a Helpers object and call its content_tag() method
- content_tag
- in file helpers.php, method Helpers::content_tag()
Generate an open/close pair of tags with optional attributes and content between
- content_tag_without_error_wrapping
- in file active_record_helper.php, method ActiveRecordHelper::content_tag_without_error_wrapping()
- controller_help
- in file trax_generator.php, method TraxGenerator::controller_help()
Output console help message for "generate controller"
- convert_boolean_attributes
- in file url_helper.php, method UrlHelper::convert_boolean_attributes()
- convert_confirm_option_to_javascript
- in file url_helper.php, method UrlHelper::convert_confirm_option_to_javascript()
- convert_options
- in file helpers.php, method Helpers::convert_options()
Convert selected attributes to proper XML boolean form
- copy_dir
- in file trax.php, function copy_dir()
Copy a directory with all its contents
- copy_file
- in file trax.php, function copy_file()
Copy a Trax file into user's work area, substituting @TRAX-...@
- country_options_for_select
- in file form_options_helper.php, method FormOptionsHelper::country_options_for_select()
Generate HTML options for world countries
- country_select
- in file form_options_helper.php, function country_select()
Create a new FormOptionsHelper object and call its to_country_select_tag() method
- create
- in file active_record.php, method ActiveRecord::create()
- create_controller
- in file trax_generator.php, method TraxGenerator::create_controller()
Create a controller file with optional view methods
- create_dir
- in file trax.php, function create_dir()
Create a directory if it doesn't exist
- create_helper
- in file trax_generator.php, method TraxGenerator::create_helper()
Create a helper file for a controller
- create_mail
- in file action_mailer.php, method ActionMailer::create_mail()
Sets up and creates the email for deliver().
- create_view
- in file trax_generator.php, method TraxGenerator::create_view()
Create a view file if it doesn't exist
- C_BLACK
- in file shell.php, class constant PHP_Shell::C_BLACK
- C_BLUE
- in file shell.php, class constant PHP_Shell::C_BLUE
- C_BROWN
- in file shell.php, class constant PHP_Shell::C_BROWN
- C_CYAN
- in file shell.php, class constant PHP_Shell::C_CYAN
- C_GRAY
- in file shell.php, class constant PHP_Shell::C_GRAY
- C_GREEN
- in file shell.php, class constant PHP_Shell::C_GREEN
- C_LIGHT_BLUE
- in file shell.php, class constant PHP_Shell::C_LIGHT_BLUE
- C_LIGHT_CYAN
- in file shell.php, class constant PHP_Shell::C_LIGHT_CYAN
- C_LIGHT_GRAY
- in file shell.php, class constant PHP_Shell::C_LIGHT_GRAY
- C_LIGHT_GREEN
- in file shell.php, class constant PHP_Shell::C_LIGHT_GREEN
- C_LIGHT_PURPLE
- in file shell.php, class constant PHP_Shell::C_LIGHT_PURPLE
- C_LIGHT_RED
- in file shell.php, class constant PHP_Shell::C_LIGHT_RED
- C_PURPLE
- in file shell.php, class constant PHP_Shell::C_PURPLE
- C_RED
- in file shell.php, class constant PHP_Shell::C_RED
- C_RESET
- in file shell.php, class constant PHP_Shell::C_RESET
- C_WHITE
- in file shell.php, class constant PHP_Shell::C_WHITE
- C_YELLOW
- in file shell.php, class constant PHP_Shell::C_YELLOW
- console.php
- procedural page console.php
- console.php
- procedural page console.php
- catalog.phtml
- procedural page catalog.phtml
- controller.php
- procedural page controller.php
- controller.php
- procedural page controller.php
top
d
- $database_name
- in file active_record.php, variable ActiveRecord::$database_name
Database name override
- $database_settings
- in file active_record.php, variable ActiveRecord::$database_settings
Stores the database settings
- $date_format
- in file active_record.php, variable ActiveRecord::$date_format
Date format for use with auto timestamping
- $db
- in file active_record.php, variable ActiveRecord::$db
Reference to the database object
- $default_charset
- in file action_mailer.php, variable ActionMailer::$default_charset
- $default_date_options
- in file form_helper.php, variable FormHelper::$default_date_options
Default attributes for dates
- $default_error_messages
- in file active_record.php, variable ActiveRecord::$default_error_messages
An array with all the default error messages.
- $default_field_options
- in file form_helper.php, variable FormHelper::$default_field_options
Default attributes for input fields
- $default_from
- in file action_mailer.php, variable ActionMailer::$default_from
- $default_radio_options
- in file form_helper.php, variable FormHelper::$default_radio_options
Default attributes for radio buttons
- $default_route_path
- in file router.php, variable Router::$default_route_path
Default route path
- $default_text_area_options
- in file form_helper.php, variable FormHelper::$default_text_area_options
Default attributes for text areas
- $deliveries
- in file action_mailer.php, variable ActionMailer::$deliveries
- $delivery_method
- in file action_mailer.php, variable ActionMailer::$delivery_method
- $display
- in file active_record.php, variable ActiveRecord::$display
Pagination how many numbers in the list < 1 2 3 4 > >>
- development.php
- procedural page development.php
- dasherize
- in file inflector.php, method Inflector::dasherize()
Convert a word's underscores into dashes
- development.php
- procedural page development.php
- dispatch.php
- procedural page dispatch.php
- DateHelper
- in file date_helper.php, class DateHelper
Utility to help build HTML pulldown menus for date and time
- datetime_select
- in file date_helper.php, method DateHelper::datetime_select()
Call to_datetime_select_tag()
- datetime_select
- in file date_helper.php, function datetime_select()
Make a new DateHelper object and call its datetime_select() method
- date_select
- in file date_helper.php, function date_select()
Make a new DateHelper object and call its date_select() method
- date_select
- in file date_helper.php, method DateHelper::date_select()
Call to_date_select_tag()
- decode
- in file input_filter.php, method InputFilter::decode()
Convert HTML entities to characters
- default_input_block
- in file active_record_helper.php, method ActiveRecordHelper::default_input_block()
- define_javascript_functions
- in file javascript_helper.php, method JavaScriptHelper::define_javascript_functions()
- delete
- in file active_record.php, method ActiveRecord::delete()
Deletes the record with the given $id or if you have done a $model = $model->find($id), then $model->delete() it will delete the record it just loaded from the find() without passing anything to delete(). If an array of ids is provided, all ids in array are deleted.
- delete
- in file scaffold_controller.php, method ScaffoldController::delete()
- delete_all
- in file active_record.php, method ActiveRecord::delete_all()
Delete from table all rows that match argument
- delete_all_habtm_records
- in file active_record.php, method ActiveRecord::delete_all_habtm_records()
- delete_habtm_records
- in file active_record.php, method ActiveRecord::delete_habtm_records()
- deliver
- in file action_mailer.php, method ActionMailer::deliver()
Sends the email loaded into this object via create_mail().
- destory_session
- in file session.php, method Session::destory_session()
Destroy the user's session
- determine_layout
- in file action_controller.php, method ActionController::determine_layout()
Select a layout file based on the controller object
- dispatch
- in file dispatcher.php, method Dispatcher::dispatch()
Dispatch a request from Apache
- Dispatcher
- in file dispatcher.php, class Dispatcher
Singleton class to call controller selected by HTTP request
- draggable_element
- in file javascript_helper.php, method JavaScriptHelper::draggable_element()
- draggable_element
- in file javascript_helper.php, function draggable_element()
draggable_element($element_id, $options = array())
- drop_receiving_element
- in file javascript_helper.php, function drop_receiving_element()
drop_receiving_element($element_id, $options = array())
- drop_receiving_element
- in file javascript_helper.php, method JavaScriptHelper::drop_receiving_element()
- date_helper.php
- procedural page date_helper.php
- dispatcher.php
- procedural page dispatcher.php
top
e
- $environments_path
- in file trax.php, variable Trax::$environments_path
- $errors
- in file action_mailer.php, variable ActionMailer::$errors
- $errors
- in file active_record.php, variable ActiveRecord::$errors
Description of non-fatal errors found
- $exception_fields
- in file input_filter.php, variable InputFilter::$exception_fields
Fields to ignore that you want html and other banned stuff in.
- $extra_path
- in file trax_generator.php, variable TraxGenerator::$extra_path
Generated subdirectories in the Trax work area
- environment.php
- procedural page environment.php
- environment.php
- procedural page environment.php
- edit
- in file scaffold_controller.php, method ScaffoldController::edit()
- encoded
- in file action_mailer.php, method ActionMailer::encoded()
Return a text version of the email currently loaded.
- end_form_tag
- in file form_tag_helper.php, function end_form_tag()
- error_message
- in file active_record_helper.php, method ActiveRecordHelper::error_message()
- error_messages_for
- in file active_record_helper.php, function error_messages_for()
error_messages_for($object_name, $options = array())
- error_messages_for
- in file active_record_helper.php, method ActiveRecordHelper::error_messages_for()
Returns a string with a div containing all the error messages for the object located as an instance variable by the name of <tt>object_name</tt>. This div can be tailored by the following options:
- error_message_on
- in file active_record_helper.php, method ActiveRecordHelper::error_message_on()
Returns a string containing the error message attached to the +method+ on the +object+, if one exists.
- error_message_on
- in file active_record_helper.php, function error_message_on()
Avialble functions for use in views
- error_wrapping
- in file helpers.php, method Helpers::error_wrapping()
If this tag has an error, wrap it with a visual indicator
- escape
- in file active_record.php, method ActiveRecord::escape()
Escapes a string for use in an sql statement.
- escape_javascript
- in file javascript_helper.php, function escape_javascript()
escape_javascript($javascript)
- escape_javascript
- in file javascript_helper.php, method JavaScriptHelper::escape_javascript()
- establish_connection
- in file active_record.php, method ActiveRecord::establish_connection()
Open a database connection if one is not currently open
- evaluate_remote_response
- in file javascript_helper.php, method JavaScriptHelper::evaluate_remote_response()
- evaluate_remote_response
- in file javascript_helper.php, function evaluate_remote_response()
evaluate_remote_response()
- exec
- in file trax_generator.php, method TraxGenerator::exec()
Execute an operating system command
- execute_after_filters
- in file action_controller.php, method ActionController::execute_after_filters()
Execute the after filters
- execute_before_filters
- in file action_controller.php, method ActionController::execute_before_filters()
Execute the before filters
- expiration_date_select
- in file date_helper.php, method DateHelper::expiration_date_select()
Call to_expiration_date_select_tag()
- expiration_date_select
- in file date_helper.php, function expiration_date_select()
Make a new DateHelper object and call its expiration_date_select() method
- error.phtml
- procedural page error.phtml
- edit.phtml
- procedural page edit.phtml
top
f
- $fetch_mode
- in file active_record.php, variable ActiveRecord::$fetch_mode
Mode to use when fetching data from database
- $force_reconnect
- in file active_record.php, variable ActiveRecord::$force_reconnect
Force reconnect to database every page load
- $from
- in file action_mailer.php, variable ActionMailer::$from
- file_field
- in file form_helper.php, function file_field()
Works just like text_field, but returns a input tag of the "file" type instead, which won't have any default value.
- file_field_tag
- in file form_tag_helper.php, method FormTagHelper::file_field_tag()
- file_field_tag
- in file form_tag_helper.php, function file_field_tag()
- filterAttr
- in file input_filter.php, method InputFilter::filterAttr()
Internal method to strip a tag of certain attributes
- filterTags
- in file input_filter.php, method InputFilter::filterTags()
Remove forbidden tags and attributes from a string
- find
- in file active_record.php, method ActiveRecord::find()
Find row(s) with specified value(s)
- find_all
- in file active_record.php, method ActiveRecord::find_all()
Return rows selected by $conditions
- find_all_habtm
- in file active_record.php, method ActiveRecord::find_all_habtm()
Find all records using a "has_and_belongs_to_many" relationship
- find_all_has_many
- in file active_record.php, method ActiveRecord::find_all_has_many()
Find all records using a "has_many" relationship (one-to-many)
- find_by
- in file active_record.php, method ActiveRecord::find_by()
Implement find_by_*() and =_* methods
- find_by_sql
- in file active_record.php, method ActiveRecord::find_by_sql()
Return all the rows selected by the SQL argument
- find_first
- in file active_record.php, method ActiveRecord::find_first()
Return first row selected by $conditions
- find_one_belongs_to
- in file active_record.php, method ActiveRecord::find_one_belongs_to()
Find all records using a "belongs_to" relationship (one-to-one) (the foreign key being in the table itself) Parameters: $other_object_name: The singularized version of a table name.
- find_one_has_one
- in file active_record.php, method ActiveRecord::find_one_has_one()
Find all records using a "has_one" relationship (one-to-one) (the foreign key being in the other table) Parameters: $other_table_name: The name of the other table that contains many rows relating to this object's id.
- find_route
- in file router.php, method Router::find_route()
Find first route in route table with path that matches argument
- fix_php_brackets
- in file trax_generator.php, method TraxGenerator::fix_php_brackets()
Replace "< ?php ... ? >" with "<?php ... ?>"
- flash
- in file session.php, method Session::flash()
Get or set a flash message
- foreign_key
- in file inflector.php, method Inflector::foreign_key()
Get foreign key column corresponding to a table name
- form
- in file active_record_helper.php, function form()
form($record_name, $options = array())
- form
- in file active_record_helper.php, method ActiveRecordHelper::form()
Returns an entire form with input tags and everything for a specified Active Record object. Example
- format_emails
- in file action_mailer.php, method ActionMailer::format_emails()
Format an array of emails into a correct string / validate emails.
- FormHelper
- in file form_helper.php, class FormHelper
- FormOptionsHelper
- in file form_options_helper.php, class FormOptionsHelper
- FormTagHelper
- in file form_tag_helper.php, class FormTagHelper
- form_remote_tag
- in file javascript_helper.php, method JavaScriptHelper::form_remote_tag()
- form_remote_tag
- in file javascript_helper.php, function form_remote_tag()
form_remote_tag($options = array())
- form_tag
- in file form_tag_helper.php, method FormTagHelper::form_tag()
- form_tag
- in file form_tag_helper.php, function form_tag()
- form_helper.php
- procedural page form_helper.php
- form_options_helper.php
- procedural page form_options_helper.php
- form_tag_helper.php
- procedural page form_tag_helper.php
- form_scaffolding.phtml
- procedural page form_scaffolding.phtml
top
g
- generate.php
- procedural page generate.php
- generate_controller
- in file trax_generator.php, method TraxGenerator::generate_controller()
Implement "generate controller" command
- generate_mailer
- in file trax_generator.php, method TraxGenerator::generate_mailer()
- generate_model
- in file trax_generator.php, method TraxGenerator::generate_model()
Implement the "generate model" command
- generate_scaffold
- in file trax_generator.php, method TraxGenerator::generate_scaffold()
Implement the "generate scaffold" command
- generator_help
- in file trax_generator.php, method TraxGenerator::generator_help()
Output console help message for unrecognized command
- get
- in file shell_prototypes.php, method PHP_ShellPrototypes::get()
- get
- in file session.php, method Session::get()
Get a session variable
- getCode
- in file shell.php, method PHP_Shell::getCode()
get the code-buffer
- getColour
- in file shell.php, method PHP_Shell::getColour()
get a colour for the shell
- getHelp
- in file shell.php, method PHP_Shell::getHelp()
get the inline help
- getInstance
- in file shell_prototypes.php, method PHP_ShellPrototypes::getInstance()
- getVerbose
- in file shell.php, method PHP_Shell::getVerbose()
check if we have a verbose print-out
- getVersion
- in file shell.php, method PHP_Shell::getVersion()
get version of the class
- get_association_type
- in file active_record.php, method ActiveRecord::get_association_type()
returns the association type if defined in child class or null
- get_attributes
- in file active_record.php, method ActiveRecord::get_attributes()
Return pairs of column-name:column-value
- get_class_name
- in file active_record.php, method ActiveRecord::get_class_name()
Get class name of child object
- get_composite_object
- in file active_record.php, method ActiveRecord::get_composite_object()
Loads the model values into composite object
- get_errors
- in file action_mailer.php, method ActionMailer::get_errors()
Return description of non-fatal errors
- get_errors
- in file active_record.php, method ActiveRecord::get_errors()
Return description of non-fatal errors
- get_errors_as_string
- in file action_mailer.php, method ActionMailer::get_errors_as_string()
Return errors as a string.
- get_errors_as_string
- in file active_record.php, method ActiveRecord::get_errors_as_string()
Return errors as a string.
- get_error_message_for_validation
- in file active_record.php, method ActiveRecord::get_error_message_for_validation()
Return the error message for a validation function
- get_hash
- in file session.php, method Session::get_hash()
Get key that uniquely identifies this session
- get_inserts
- in file active_record.php, method ActiveRecord::get_inserts()
Return column values for SQL insert statement
- get_insert_id
- in file active_record.php, method ActiveRecord::get_insert_id()
Returns the autogenerated id from the last insert query
- get_join_table_name
- in file active_record.php, method ActiveRecord::get_join_table_name()
Returns a the name of the join table that would be used for the two tables. The join table name is decided from the alphabetical order of the two tables. e.g. "genres_movies" because "g" comes before "m"
- get_primary_key_conditions
- in file active_record.php, method ActiveRecord::get_primary_key_conditions()
Return argument for a "WHERE" clause specifying this row
- get_selected_route
- in file router.php, method Router::get_selected_route()
Accessor method to return contents of $selected_route
- get_updates_sql
- in file active_record.php, method ActiveRecord::get_updates_sql()
Return column values of object formatted for SQL update statement
- generate.php
- procedural page generate.php
top
h
- $habtm_attributes
- in file active_record.php, variable ActiveRecord::$habtm_attributes
- $has_and_belongs_to_many
- in file active_record.php, variable ActiveRecord::$has_and_belongs_to_many
- $has_many
- in file active_record.php, variable ActiveRecord::$has_many
- $has_one
- in file active_record.php, variable ActiveRecord::$has_one
- $have_readline
- in file shell.php, variable PHP_Shell::$have_readline
set if readline support is enabled
- $headers
- in file action_mailer.php, variable ActionMailer::$headers
- $head_charset
- in file action_mailer.php, variable ActionMailer::$head_charset
- $helpers
- in file action_controller.php, variable ActionController::$helpers
List of additional helper files for this controller object
- $helpers_base_path
- in file action_controller.php, variable ActionController::$helpers_base_path
Filesystem path to ../app/helpers/ directory
- $helpers_path
- in file trax.php, variable Trax::$helpers_path
- $helpers_path
- in file action_controller.php, variable ActionController::$helpers_path
Filesystem path to ../app/helpers/extras directory
- $helper_file
- in file action_controller.php, variable ActionController::$helper_file
Filesystem path to the controllername_helper.php file
- $helper_path
- in file trax_generator.php, variable TraxGenerator::$helper_path
Filesystem path to the app/helpers directory in the Trax work area
- $helper_template_file
- in file trax_generator.php, variable TraxGenerator::$helper_template_file
Filesystem path to the templates/helper.php file
- $html_charset
- in file action_mailer.php, variable ActionMailer::$html_charset
- hasReadline
- in file shell.php, method PHP_Shell::hasReadline()
check if readline support is enabled
- Helpers
- in file helpers.php, class Helpers
Basic helper functions
- hidden_field
- in file form_helper.php, function hidden_field()
Works just like text_field, but returns a input tag of the "hidden" type instead.
- hidden_field_tag
- in file form_tag_helper.php, method FormTagHelper::hidden_field_tag()
- hidden_field_tag
- in file form_tag_helper.php, function hidden_field_tag()
- humanize
- in file inflector.php, method Inflector::humanize()
Generate a more human version of a lower case underscored word
- helpers.php
- procedural page helpers.php
- helper.php
- procedural page helper.php
top
i
- $id
- in file session.php, variable Session::$id
Session ID
- $id
- in file action_controller.php, variable ActionController::$id
Value of :id parsed from URL then forced to lower case
- $index_on
- in file active_record.php, variable ActiveRecord::$index_on
find_all() returns an array of objects, each object index is off of this field
- $instance
- in file shell_prototypes.php, variable PHP_ShellPrototypes::$instance
- $ip
- in file session.php, variable Session::$ip
IP Address of client
- image_path
- in file asset_tag_helper.php, method AssetTagHelper::image_path()
Compute public path to a image asset
- image_submit_tag
- in file form_tag_helper.php, function image_submit_tag()
- image_submit_tag
- in file form_tag_helper.php, method FormTagHelper::image_submit_tag()
- image_tag
- in file asset_tag_helper.php, function image_tag()
Make a new AssetTagHelper object and call its image_tag() method
- image_tag
- in file asset_tag_helper.php, method AssetTagHelper::image_tag()
Build image tags to an image asset
- include_env_config
- in file trax.php, method Trax::include_env_config()
- index
- in file scaffold_controller.php, method ScaffoldController::index()
- Inflections
- in file inflections.php, class Inflections
Implement the Trax naming convention
- Inflector
- in file inflector.php, class Inflector
Implement the Trax naming convention
- init
- in file input_filter.php, method InputFilter::init()
Initializer for InputFilter class.
- initialize
- in file trax.php, method Trax::initialize()
- initialize_defaults
- in file action_mailer.php, method ActionMailer::initialize_defaults()
Sets up default class variables for this mailer. Classes extending ActionMailer can override these values.
- input
- in file shell.php, method PHP_Shell::input()
handle the input line
- input
- in file active_record_helper.php, method ActiveRecordHelper::input()
Returns a default input tag for the type of object returned by the method. Example
- input
- in file active_record_helper.php, function input()
Returns a default input tag for the type of object returned by the method. Example
- InputFilter
- in file input_filter.php, class InputFilter
Filter user input to remove potential security threats
- input_scaffolding
- in file active_record_helper.php, function input_scaffolding()
- input_scaffolding
- in file active_record_helper.php, method ActiveRecordHelper::input_scaffolding()
- irregular
- in file inflections.php, method Inflections::irregular()
- isAutoloadEnabled
- in file shell.php, method PHP_Shell::isAutoloadEnabled()
- isset_flash
- in file session.php, method Session::isset_flash()
Test whether there is a flash message to be shown
- isset_var
- in file session.php, method Session::isset_var()
Test whether a session variable is defined in $_SESSION
- is_aol_host
- in file session.php, method Session::is_aol_host()
Test whether the client is an AOL user
- is_composite
- in file active_record.php, method ActiveRecord::is_composite()
Determine if passed in name is a composite class or not
- is_error
- in file active_record.php, method ActiveRecord::is_error()
Test whether argument is a PEAR Error object or a MDB2 Error object.
- is_new_record
- in file active_record.php, method ActiveRecord::is_new_record()
Test whether this object represents a new record
- is_valid_host
- in file session.php, method Session::is_valid_host()
Test whether the user host is as expected for this session
- inflections.php
- procedural page inflections.php
- inflector.php
- procedural page inflector.php
- input_filter.php
- procedural page input_filter.php
- index.phtml
- procedural page index.phtml
top
top
top
l
- $layouts_base_path
- in file action_controller.php, variable ActionController::$layouts_base_path
Filesystem path to ../app/views/layouts/ directory
- $layouts_path
- in file trax.php, variable Trax::$layouts_path
- $layouts_path
- in file trax_generator.php, variable TraxGenerator::$layouts_path
Filesystem path to the app/views/layouts/ directory in the
- $layouts_path
- in file action_controller.php, variable ActionController::$layouts_path
Filesystem path to ../app/views/layouts/extras directory
- $layout_filename
- in file trax_generator.php, variable TraxGenerator::$layout_filename
- $lib_path
- in file trax.php, variable Trax::$lib_path
- $loaded
- in file action_controller.php, variable ActionController::$loaded
URL recognized, paths resoved, controller file found
- $lock_optimistically
- in file active_record.php, variable ActiveRecord::$lock_optimistically
Not yet implemented (page 222 Rails books)
- $log_path
- in file trax.php, variable Trax::$log_path
- leading_zero_on_single_digits
- in file date_helper.php, method DateHelper::leading_zero_on_single_digits()
Prefix a leading zero to single digit numbers
- link_image_to
- in file url_helper.php, method UrlHelper::link_image_to()
This tag is deprecated. Combine the link_to and
- link_image_to
- in file url_helper.php, function link_image_to()
Make a new UrlHelper object and call its link_image_to() method
- link_to
- in file url_helper.php, function link_to()
Make a new UrlHelper object and call its link_to() method
- link_to
- in file url_helper.php, method UrlHelper::link_to()
Creates a link tag of the given +name+ using an URL created by the set of +options+.
- link_to_function
- in file javascript_helper.php, function link_to_function()
link_to_function($name, $function, $html_options = array())
- link_to_function
- in file javascript_helper.php, method JavaScriptHelper::link_to_function()
- link_to_remote
- in file javascript_helper.php, method JavaScriptHelper::link_to_remote()
- link_to_remote
- in file javascript_helper.php, function link_to_remote()
Avialble functions for use in views
- load
- in file active_record.php, method ActiveRecord::load()
Loads into current object values from the database.
- load_router
- in file action_controller.php, method ActionController::load_router()
Load routes from configuration file config/routes.php
- log_query
- in file active_record.php, method ActiveRecord::log_query()
Log SQL query in development mode
- layout.phtml
- procedural page layout.phtml
- layout.phtml
- procedural page layout.phtml
top
m
- $mail
- in file action_mailer.php, variable ActionMailer::$mail
- $mail_mime
- in file action_mailer.php, variable ActionMailer::$mail_mime
- $mime_params
- in file action_mailer.php, variable ActionMailer::$mime_params
- $mkdir_cmd
- in file trax_generator.php, variable TraxGenerator::$mkdir_cmd
Platform-dependent command to make a directory
- $models_path
- in file trax.php, variable Trax::$models_path
- $model_path
- in file trax_generator.php, variable TraxGenerator::$model_path
Filesystem path to the app/model directory in the Trax work area
- $model_template_file
- in file trax_generator.php, variable TraxGenerator::$model_template_file
Filesystem path to the templates/model.php file
- mailer_help
- in file trax_generator.php, method TraxGenerator::mailer_help()
Output console help message for "generate mailer"
- MAJOR
- in file trax.php, class constant Trax::MAJOR
- makepkg.php
- procedural page makepkg.php
- method_option_to_s
- in file javascript_helper.php, method JavaScriptHelper::method_option_to_s()
- MINOR
- in file trax.php, class constant Trax::MINOR
- model_help
- in file trax_generator.php, method TraxGenerator::model_help()
Output console help message for "generate model"
- mailer_model.php
- procedural page mailer_model.php
- mailer_view.phtml
- procedural page mailer_view.phtml
- model.php
- procedural page model.php
top
top
o
- $object_name
- in file helpers.php, variable Helpers::$object_name
- object
- in file helpers.php, method Helpers::object()
Given the name of an ActiveRecord subclass, find an instance
- observe_field
- in file javascript_helper.php, function observe_field()
observe_field($field_id, $options = array())
- observe_field
- in file javascript_helper.php, method JavaScriptHelper::observe_field()
- observe_form
- in file javascript_helper.php, function observe_form()
observe_form($form_id, $options = array())
- observe_form
- in file javascript_helper.php, method JavaScriptHelper::observe_form()
- options_for_ajax
- in file javascript_helper.php, method JavaScriptHelper::options_for_ajax()
- options_for_javascript
- in file javascript_helper.php, method JavaScriptHelper::options_for_javascript()
- options_for_select
- in file form_options_helper.php, function options_for_select()
Create a new FormOptionsHelper object and call its options_for_select() method
- options_for_select
- in file form_options_helper.php, method FormOptionsHelper::options_for_select()
Generate HTML option tags from a list of choices
- options_from_collection_for_select
- in file form_options_helper.php, method FormOptionsHelper::options_from_collection_for_select()
Returns a string of option tags that have been compiled by
- ordinalize
- in file inflector.php, method Inflector::ordinalize()
Add to a number st, nd, rd, th
top
p
- $pagination_count
- in file active_record.php, variable ActiveRecord::$pagination_count
- $path_seperator
- in file trax.php, variable Trax::$path_seperator
- $perform_deliveries
- in file action_mailer.php, variable ActionMailer::$perform_deliveries
- $plurals
- in file inflections.php, variable Inflections::$plurals
- $preparse_body
- in file action_mailer.php, variable ActionMailer::$preparse_body
- $preserve_null_dates
- in file active_record.php, variable ActiveRecord::$preserve_null_dates
Whether to keep date/datetime fields NULL if not set
- $primary_keys
- in file active_record.php, variable ActiveRecord::$primary_keys
Primary key of the associated table
- $prototype
- in file shell_prototypes.php, variable PHP_ShellPrototypes::$prototype
- $public_path
- in file trax.php, variable Trax::$public_path
- production.php
- procedural page production.php
- production.php
- procedural page production.php
- pagination_limit_select
- in file active_record_helper.php, function pagination_limit_select()
- pagination_limit_select
- in file active_record_helper.php, method ActiveRecordHelper::pagination_limit_select()
Paging html functions
- pagination_links
- in file active_record_helper.php, function pagination_links()
- pagination_links
- in file active_record_helper.php, method ActiveRecordHelper::pagination_links()
- pagination_range_text
- in file active_record_helper.php, function pagination_range_text()
- pagination_range_text
- in file active_record_helper.php, method ActiveRecordHelper::pagination_range_text()
- parse
- in file shell.php, method PHP_Shell::parse()
parse the PHP code
- password_field
- in file form_helper.php, function password_field()
Works just like text_field, but returns a input tag of the "password" type instead.
- password_field_tag
- in file form_tag_helper.php, method FormTagHelper::password_field_tag()
- password_field_tag
- in file form_tag_helper.php, function password_field_tag()
- periodically_call_remote
- in file javascript_helper.php, method JavaScriptHelper::periodically_call_remote()
- periodically_call_remote
- in file javascript_helper.php, function periodically_call_remote()
periodically_call_remote($options = array())
- PHP_LIB_ROOT
- in file boot.php, constant PHP_LIB_ROOT
- PHP_Shell
- in file shell.php, class PHP_Shell
- PHP_ShellPrototypes
- in file shell_prototypes.php, class PHP_ShellPrototypes
(PHP 5)
- plural
- in file inflections.php, method Inflections::plural()
- pluralize
- in file inflector.php, method Inflector::pluralize()
Pluralize a word according to English rules
- process
- in file input_filter.php, method InputFilter::process()
Remove forbidden tags and attributes from array of strings
- process_all
- in file input_filter.php, method InputFilter::process_all()
Remove forbidden tags and attributes from user input
- process_route
- in file action_controller.php, method ActionController::process_route()
Parse URL, extract controller and action and execute them
- process_with_exception
- in file action_controller.php, method ActionController::process_with_exception()
Generate an HTM |
|