Renderer
[ class tree: Renderer ] [ index: Renderer ] [ all elements ]

Class: Formagic_Renderer_HTML

Source Location: /Renderer/HTML.php

Class Overview

Formagic_Renderer
   |
   --Formagic_Renderer_HTML

Formagic Renderer HTML


Author(s):

  • Florian Sonnenburg

Version:

  • $Id: HTML.php 14 2007-08-13 20:33:26Z meweasle $

Copyright:

  • Copyright (c) 2007

Variables

Methods


Inherited Methods

Class: Formagic_Renderer

Formagic_Renderer::fetch()
Abstract rendering method.
Formagic_Renderer::__toString()
String representation of FormagicItem

Class Details

[line 32]
Formagic Renderer HTML



Tags:

author:  Florian Sonnenburg
version:  $Id: HTML.php 14 2007-08-13 20:33:26Z meweasle $
copyright:  Copyright (c) 2007


[ Top ]


Class Variables

$mandatoryMarker =  "<span class=\"mandatory\">*</span>"

[line 65]

HTML string for mandatory fields



Tags:

access:  public

Type:  


[ Top ]

$messageColors = array(
                Formagic::ERROR     => '#F41414',
                Formagic::NOTICE    => '#DCB913',
                Formagic::DEBUG     => '#E2D726')

[line 56]

Error/notice/debug colors



Tags:

access:  public

Type:   array


[ Top ]



Class Methods


constructor __construct [line 71]

Formagic_Renderer_HTML __construct( )

Constructor



Tags:

access:  public


[ Top ]

method fetch [line 198]

string fetch( &$fObj, Formagic $fObj)

Returns form HTML string



Tags:

access:  public


Overrides Formagic_Renderer::fetch() (Abstract rendering method.)

Parameters:

Formagic   $fObj  
   &$fObj  

[ Top ]

method setRootTemplate [line 143]

void setRootTemplate( $template)



Tags:

access:  public


Parameters:

   $template  

[ Top ]

method setTemplate [line 132]

void setTemplate( string $template, [ $part = 'main'], [string $item = null], [string $itemType = null])

Formagic_Renderer_HTML::setCustomTemplate()



Tags:

access:  public


Parameters:

string   $template  
string   $item  
string   $itemType  
   $part  

[ Top ]

method _getRootTemplate [line 153]

string _getRootTemplate( )

Returns surrounding template



Tags:

access:  public


[ Top ]


Documentation generated on Thu, 23 Aug 2007 00:29:40 +0200 by phpDocumentor 1.4.0