Package DE_EPAGES::Object::API::Attributes::DefaultAttribute
Implements scalar attributes for objects (types Boolean,DateTime,Date,Time,Float,Integer,Money,String).
Base |
DE_EPAGES::Object::API::BaseAttribute |
Functions
_getAttributesByType
returns all attribute values of an object with a given type directly from the database, i.e. without using the cache and not considering any default any values.
Syntax |
$hValues = $self->_getAttributesByType( $Object, $Type ) |
Input |
|
Return |
|
defaultValue
Returns the attribute value unless a value is actually stored in the database. Don't call this function directly. Use $Object->get() instead.
Syntax |
$Value = $Package->defaultValue( $Attribute, $Type ); |
Input |
|
Return |
|