University of Southern California

Public Member Functions

Transform Class Reference

Inheritance diagram for Transform:
Model

List of all members.

Public Member Functions

 Transform ($conf=NULL)
 TransformThis ($data, $text)

Detailed Description

Transform.php

Author:
Star Rosencrans, srosencr@usc.edu
Dan Heller, dheller@usc.edu
R. S. Doiel, rsdoiel@usc.edu

Thornton Alumni Copyright (c) 2007 University of Southern California

Transform class extends model providing a general way to transform content types.

Definition at line 15 of file Transform.php.


Member Function Documentation

Transform::Transform ( conf = NULL )

Constructor

Parameters:
$conf- either the name of the config file or an object already configured.

Definition at line 21 of file Transform.php.

References Model::Model().

Transform::TransformThis ( data,
text 
)

TransformThis - transform some data with a text template.

Parameters:
$dataan associative array of data to transform.
$textis the template which the data will be put into.
Returns:
$data transformed into a string based on contents of $text

Definition at line 42 of file Transform.php.


The documentation for this class was generated from the following file: