Class UNL_DWT
Description
Base class which understands Dreamweaver Templates.
Located in /UNL/DWT.php (line 46)
Direct descendents
| Class | Description |
|---|---|
| UNL_DWT_Generator | The generator parses actual .dwt Dreamweaver Template files to create object relationship files which have member variables for editable regions within the dreamweaver templates. |
Variable Summary
static array
$options
mixed
$__template
Method Summary
UNL_DWT
__construct
()
string
toHtml
()
Variables
Methods
static method debug (line 189)
Debugger. - use this in your extended classes to output debugging information.
Uses UNL_DWT::debugLevel(x) to turn it on
static
none
debug
(string $message, string $logtype, [string $level = 1])
- string $message: message to output
- string $logtype: bold at start
- string $level: output level
static method factory (line 137)
Create a new UNL_DWT object for the specified layout type
static
object a
&factory
(string $type, [array $coptions = false])
- string $type: the template type (eg "fixed")
- array $coptions: an associative array of option names and values
Constructor __construct (line 64)
Constructor
UNL_DWT
__construct
()
debugLevel (line 227)
sets and returns debug level eg. UNL_DWT::debugLevel(4);
void
debugLevel
([int $v = null])
- int $v: level
replaceRegions (line 103)
Replaces region tags within a template file wth their contents.
string
replaceRegions
(string $p, array $regions)
- string $p: Page with DW Region tags.
- array $regions: Associative array with content to replace.
setOption (line 170)
Sets options.
void
setOption
(string $option, mixed $value)
- string $option: Option to set
- mixed $value: Value to set for this option
toHtml (line 75)
Returns the given DWT with all regions replaced with their assigned content.
string
toHtml
()
Documentation generated on Wed, 12 Aug 2009 13:00:36 -0500 by phpDocumentor 1.4.2




