NAME

Bric::SOAP::Util - utility class for the Bric::SOAP classes

VERSION

$Revision: 1.11.2.1 $

DATE

$Date: 2002/10/25 22:54:03 $

SYNOPSIS

use Bric::SOAP::Util qw(category_path_to_script)

my $category_id = category_path_to_id($path);

DESCRIPTION

This module provides various utility methods of use throughout the Bric::SOAP classes.

INTERFACE

Exportable Functions

Private Class Methods

@related = _deserialize_tile(element => $element, data => $data)

Deserializes a single tile from <elements> data into $element. Calls recursively down through containers building up fixup data from related objects in @related.

Throws: NONE

Side Effects: NONE

Notes: This method isn't checking compliance with the asset type constraints in some cases. After Bric::SOAP::Element is done I should contain the kung-fu necessary for this task.

@related = _serialize_tile(writer => $writer, element => $element, args => $args)

Serializes a single tile into the contents of an <elements> tag in the media and story elements. It calls itself recursively on containers. Returns a list of two-element arrays - [ "media", $id ] or [ "story", $id ]. These are the related objects serialized.

AUTHOR

Sam Tregar <stregar@about-inc.com>

SEE ALSO

Bric::SOAP

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 172:

Expected '=item *'

Around line 215:

Expected '=item *'