File: /AkActiveRecord.php

Description

Classes defined in this file

CLASS NAME

DESCRIPTION

AkActiveRecord Active Record objects doesn't specify their attributes directly, but rather infer them from the table definition with which they're linked. Adding, removing, and changing attributes and their type is done directly in the database. Any change is instantly reflected in the Active Record objects. The mapping that binds a given Active Record class to a certain database table will happen automatically in most common cases, but can be overwritten for the uncommon ones.

Include/Require Statements

AK_LIB_DIR.DS.'AkActiveRecord'.DS.'AkAssociatedActiveRecord.php' (line 21)

require_once : AK_LIB_DIR.DS.'AkActiveRecord'.DS.'AkAssociatedActiveRecord.php'

AK_LIB_DIR.DS.'AkActiveRecord'.DS.'AkDbAdapter.php' (line 22)

require_once : AK_LIB_DIR.DS.'AkActiveRecord'.DS.'AkDbAdapter.php'

Global Variables

Constants

AK_ACTIVE_RECORD_CACHE_DATABASE_SCHEMA (line 35)

AK_ACTIVE_RECORD_CACHE_DATABASE_SCHEMA : AK_ACTIVE_RECORD_ENABLE_PERSISTENCE&&AK_ENVIRONMENT!='development'

Constants

AK_ACTIVE_RECORD_CACHE_DATABASE_SCHEMA_LIFE (line 36)

AK_ACTIVE_RECORD_CACHE_DATABASE_SCHEMA_LIFE : 300

Constants

AK_ACTIVE_RECORD_ENABLE_AUTOMATIC_SETTERS_AND_GETTERS (line 31)

AK_ACTIVE_RECORD_ENABLE_AUTOMATIC_SETTERS_AND_GETTERS : false

Constants

AK_ACTIVE_RECORD_ENABLE_CALLBACK_GETTERS (line 33)

AK_ACTIVE_RECORD_ENABLE_CALLBACK_GETTERS : AK_ACTIVE_RECORD_ENABLE_AUTOMATIC_SETTERS_AND_GETTERS

Constants

AK_ACTIVE_RECORD_ENABLE_CALLBACK_SETTERS (line 32)

AK_ACTIVE_RECORD_ENABLE_CALLBACK_SETTERS : AK_ACTIVE_RECORD_ENABLE_AUTOMATIC_SETTERS_AND_GETTERS

Constants

AK_ACTIVE_RECORD_ENABLE_PERSISTENCE (line 34)

AK_ACTIVE_RECORD_ENABLE_PERSISTENCE : AK_ENVIRONMENT!='testing'

Constants

AK_ACTIVE_RECORD_INTERNATIONALIZE_MODELS_BY_DEFAULT (line 30)

AK_ACTIVE_RECORD_INTERNATIONALIZE_MODELS_BY_DEFAULT : true

Constants

AK_ACTIVE_RECORD_SKIP_SETTING_ACTIVE_RECORD_DEFAULTS (line 38)

AK_ACTIVE_RECORD_SKIP_SETTING_ACTIVE_RECORD_DEFAULTS : false

Constants

AK_ACTIVE_RECORD_VALIDATE_TABLE_NAMES (line 37)

AK_ACTIVE_RECORD_VALIDATE_TABLE_NAMES : true

Constants

AK_DATE_REGULAR_EXPRESSION (line 43)

AK_DATE_REGULAR_EXPRESSION : "/^((/^(([0-9]{1,2}(\-|\/|\.| )[0-9]{1,2}(\-|\/|\.| )[0-9]{2,4})|([0-9]{2,4}(\-|\/|\.| )[0-9]{1,2}(\-|\/|\.| )[0-9]{1,2})){1}$/"

Constants

AK_EMAIL_REGULAR_EXPRESSION (line 40)

AK_EMAIL_REGULAR_EXPRESSION : "/^(/^([a-z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-z0-9\-]+\.)+))([a-z]{2,4}|[0-9]{1,3})(\]?)$/i"

Constants

AK_ENABLE_AKELOS_ARGS (line 28)

AK_ENABLE_AKELOS_ARGS : false

Constants

AK_IP4_REGULAR_EXPRESSION (line 44)

AK_IP4_REGULAR_EXPRESSION : "/^((/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/"

Constants

AK_NOT_EMPTY_REGULAR_EXPRESSION (line 39)

AK_NOT_EMPTY_REGULAR_EXPRESSION : '/.+/'

Constants

AK_NUMBER_REGULAR_EXPRESSION (line 41)

AK_NUMBER_REGULAR_EXPRESSION : "/^/^[0-9]+$/"

Constants

AK_PHONE_REGULAR_EXPRESSION (line 42)

AK_PHONE_REGULAR_EXPRESSION : "/^(/^([\+]?[(]?[\+]?[ ]?[0-9]{2,3}[)]?[ ]?)?[0-9 ()\-]{4,25}$/"

Constants

AK_POST_CODE_REGULAR_EXPRESSION (line 45)

AK_POST_CODE_REGULAR_EXPRESSION : "/^/^[0-9A-Za-z -]{2,9}$/"

Constants

Functions


Documentation generated on Tue, 17 Jun 2008 14:23:22 +0200 by phpDocumentor 1.3.2