This is the class expRecord
subpackage |
Models |
---|---|
package |
Modules |
__construct(null $params = null, boolean $get_assoc = true, boolean $get_attached = true)
Throws |
|
---|
null
boolean
boolean
afterCreate()
afterDelete()
afterSave()
afterUpdate()
afterValidation()
afterValidationOnCreate()
afterValidationOnUpdate()
associateWith( $datatype, $id)
Type of associations has_and_belongs_to_many
attachItem( $item, string $subtype = '', boolean $replace = true) : boolean
string
boolean
boolean
beforeCreate()
beforeDelete()
beforeSave()
beforeUpdate()
beforeValidation()
beforeValidationOnCreate()
beforeValidationOnUpdate()
build(mixed $params = array())
Loads Table schema data and creates new class properties based upon the fields in given table.
Additionally, if a record ID is given, that record is pulled and field values are also populated into class properties.
category |
db_record |
---|---|
uses |
Builds a data definition from existing table. |
requires |
$db |
access |
protected |
final | |
PHPUnit |
Not Defined |
global |
object $db |
mixed
array or Object for table selection
checkForAttachableItems( $params) : boolean
boolean
delete(string $where = '') : boolean
string
boolean
find(string $range = 'all', null $where = null, null $order = null, null $limit = null, integer $limitstart, boolean $get_assoc = true, boolean $get_attached = true, array $except = array(), boolean $cascade_except = false) : array|integer
string
null
null
null
integer
boolean
boolean
array
boolean
array|integer
findBy( $column, $value, boolean $get_assoc = true, boolean $get_attached = true, array $except = array(), boolean $cascade_except = false) : array
boolean
boolean
array
boolean
array
findValue(string $range = 'all', string $column, string $where = null, string $order = null, boolean $distinct = false) : array|boolean
string
string
string
string
boolean
array|boolean
findWhereAttachedTo( $content_type) : array
array
getAssociatedObjects(null $obj = null) : null
Type of associations has_one has_many has_and_belongs_to_many
null
null
getAssociatedObjectsForThisModel(array $except = array(), boolean $cascade_except = false)
Type of associations has_extended_fields has_one has_many has_many_self has_and_belongs_to_many has_and_belongs_to_self
array
boolean
getAttachableItems()
getAttachableItemTables() : array
array
getPoster(null $display = null) : null|string
null
null|string
getTimestamp(integer $type) : mixed
integer
mixed
isSearchable() : boolean
boolean
listExtensions() : array
In order to be picked up by this function (and therefore the rest of the Users subsystem) a profile extension filename MUST end in 'extension.php', and therefore the classname MUST end in 'extension'.
Returns an array of installed (but not necessarily activated) user profile extensions. If this array is empty, either Exponent encountered a problem reading the Profile Extensions directory, or there were simply no extensions to list.
node |
Subsystems:Users |
---|---|
array
makeManyToManyTablename( $assoc_table) : string
string
makeSefUrl()
name() : string
string
refresh() : boolean
Throws |
|
---|
boolean
rerank( $direction, string $where = '')
string
save(boolean $validate = false, boolean $force_no_revisions = false)
boolean
boolean
saveAssociatedObjects()
Type of associations has_one
update(array|object $params = array())
array|object
validate() : boolean
boolean
table :
classinfo :
classname :
tablename :
identifier :
rank_by_field :
grouping_sql :
has_extended_fields :
has_one :
has_many :
has_many_self :
has_and_belongs_to_many :
has_and_belongs_to_self :
default_sort_field :
default_sort_direction :
get_assoc_for :
attachable_item_types :
attachable_items_to_save :
get_attachable_for :
validate :
do_not_validate :
supports_revisions :
needs_approval :