Bric::Biz::OutputChannel - The manner of keeping track of output channels
$Revision: 1.5.2.4 $
$Date: 2001/11/15 02:56:43 $
$oc = Bric::Biz::OutputChannel->new( $initial_state )
$oc = Bric::Biz::OutputChannel->lookup( { id => $id} )
($ocs_aref || @ocs) = Bric::Biz::OutputChannel->list( $criteria )
($id_aref || @ids) = Bric::Biz::OutputChannel->list_ids( $criteria )
$oc = $oc->set_name( $name )
$name = $oc->get_name()
$oc = $oc->set_description( $description )
$description = $oc->get_description()
$oc = $oc->set_tile_aware( undef || 1)
(undef || 1 ) = $oc->get_tile_aware()
$oc = $oc->set_primary( undef || 1)
(undef || 1 ) = $oc->get_primary()
$oc = $oc->activate()
$oc = $oc->deactivate()
$oc = $oc->is_active()
$id = $oc->get_id()
$oc = $oc->save()
Holds information about the output channels that will be associated with templates and elements
This will create a new Output channel object with the optional defined state
suported keys:
name
description
tile_aware
primary
active (default is active, pass undef to make a new inactive Output Channe;
Throws: NONE
Side Effects: NONE
Notes: NONE
Will look up an output channel object for a given id
Throws: NONE
Side Effects: NONE
Notes: NONE
Will return a list of objects that match a given criteria
supported keys:
name
primary
tile_aware
server_type_id
active
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns an anonymous hash of Output Channel objects, where each hash key is an Output Channel ID, and each value is Output Channel object that corresponds to that ID. Takes the same arguments as list().
Throws: NONE
Side Effects: NONE
Notes: NONE
Dummy method to prevent wasting time trying to AUTOLOAD DESTROY.
Will return a list of ids that match the given criteria
Supported Keys:
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns an anonymous hash of instrospection data for this object. If called with a true argument, it will return an ordered list or anonymous array of intrspection data. The format for each introspection item introspection is as follows:
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:
type - The display field type. Possible values are
text
textarea
password
hidden
radio
checkbox
select
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.
Sets the name field
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns the name field
Throws: NONE
Side Effects: NONE
Notes: NONE
Sets the description Field
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns the description field
Throws: NONE
Side Effects: NONE
Notes: NONE
Sets the string that will be used at the beginning of the URIs for assets in this Output Channel.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Gets the string that will be used at the beginning of the URIs for assets in this Output Channel.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Sets the string that will be used at the end of the URIs for assets in this Output Channel.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Gets the string that will be used at the end of the URIs for assets in this Output Channel.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Sets the filename that will be used in the names of files burned into this Output Channel.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Gets the filename that will be used in the names of files burned into this Output Channel. Defaults to the value of the DEFAULT_FILENAME configuration directive if unset.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Sets the filename extension that will be used in the names of files burned into this Output Channel.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Gets the filename extension that will be used in the names of files burned into this Output Channel. Defaults to the value of the DEFAULT_FILE_EXT configuration directive if unset.
Throws: NONE.
Side Effects: NONE.
Notes: NONE.
Set the flag for wheather this output channel is tile aware
Throws: NONE
Side Effects: NONE
Notes: NONE
Return if this channel is tile aware or not
Throws: NONE
Side Effects: NONE
Notes: NONE
Set the flag that this is the primary out put channel or not
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns 1 if this is the primary output channel undef otherwise
Throws: NONE
Side Effects: NONE
Notes: Only one Output channel can be the primary output channel
MAkes the item active
Throws: NONE
Side Effects: NONE
Notes: NONE
Makes the item inactive
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns if the Output channel is active or not
Throws: NONE
Side Effects: NONE
Notes: NONE
Returns the data base id of the object
Throws: NONE
Side Effects: NONE
Notes: NONE
Saves the info to the database
Throws: NONE
Side Effects: NONE
Notes: NONE
called by list and list ids this does the brunt of their work
Throws: NONE
Side Effects: NONE
Notes: NONE
will perform the update to the data base after being called from save
Throws: NONE
Side Effects: NONE
Notes: NONE
Will do the insert to the database after being called by save
Throws: NONE
Side Effects: NONE
Notes: NONE
NONE
michael soderstrom ( miraso@pacbell.net )
perl,Bric,Bric::Biz::Asset::Business,Bric::Biz::element,
Bric::Biz::Asset::Formatting
Hey! The above document had some coding errors, which are explained below:
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
Expected '=item *'
Expected '=item *'
Expected '=item *'
Expected '=item *'
Expected '=item *'
Expected '=item *'
Expected '=item *'
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
'=item' outside of any '=over'
You forgot a '=back' before '=head2'
'=item' outside of any '=over'
You forgot a '=back' before '=head1'