Bric::Biz::Asset::Business::Parts::Tile - Tile maps a particular Asset Part Data object to a formatting Asset
$Revision: 1.9 $
$Date: 2003/02/25 05:12:22 $
($tile_list,@tiles) = Bric::Biz::Asset::Business::Parts::Tile->list($criteria)
$id = $tile->get_id()
$tile = $tile->activate()
$tile = $tile->deactivate()
(undef || 1) $tile->is_active()
$tile = $tile->save()
Tile maps the asset part to a particular formatting asset. There are data tiles which map to the particular data points and container tiles that contain other tiles.
This will return a new Tile object with the optional initial state of format and data
Supported Keys:
format
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
This will return a list ( or list ref) of tile objects that match the given criteria.
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
this is a dummy method to save time going through auto load
Returns an anonymous hash of introspection data for this object. If called with a true argument, it will return an ordered list or anonymous array of introspection data. If a second true argument is passed instead of a first, then a list or anonymous array of introspection data will be returned for properties that uniquely identify an object (excluding id, which is assumed).
Each hash key is the name of a property or attribute of the object. The value for a hash key is another anonymous hash containing the following keys:
name - The name of the property or attribute. Is the same as the hash key when an anonymous hash is returned.
disp - The display name of the property or attribute.
get_meth - A reference to the method that will retrieve the value of the property or attribute.
get_args - An anonymous array of arguments to pass to a call to get_meth in order to retrieve the value of the property or attribute.
set_meth - A reference to the method that will set the value of the property or attribute.
set_args - An anonymous array of arguments to pass to a call to set_meth in order to set the value of the property or attribute.
type - The type of value the property or attribute contains. There are only three types:
len - If the value is a 'short' value, this hash key contains the length of the field.
search - The property is searchable via the list() and list_ids() methods.
req - The property or attribute is required.
props - An anonymous hash of properties used to display the property or attribute. Possible keys include:
The display field type. Possible values are
length - The Length, in letters, to display a text or password field.
maxlength - The maximum length of the property or value - usually defined by the SQL DDL.
rows - The number of rows to format in a textarea field.
cols - The number of columns to format in a textarea field.
vals - An anonymous hash of key/value pairs reprsenting the values and display names to use in a select list.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
If you want to get a list of objects just use list, if you only want the ids go the the objects themselves
Throws:
"Method Not Implemented"
Side Effects:
NONE
Notes:
NONE
Test to see whether this tile has a name matching the argument $name. Returns 1 if the name is a match and 0 otherwise.
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns the database id of the tile object
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Makes the tile active if it was deactivated
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Makes the tile inactive (deleted )
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
Returns 1 if the tile is active or undef if it has been deactivated
Throws:
NONE
Side Effects:
NONE
Notes:
NONE
NON
NONE
NONE
NONE
michael soderstrom ( miraso@pacbell.net )
perl,Bric,Bric::Biz::Asset::Business::Story,Bric::Biz::Asset_type, Bric::Biz::Asset_type::Parts::Data,Bric::Biz::Asset::Business::Media