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

Class: EmptyTagHandler

Source Location: /EmptyTagHandler.class.php

Class Overview


EmptyTagHandler.class.php


Author(s):

Version:

  • 0.1

Copyright:

  • Copyright (c) 2010 Oliver Matuschin

Implements interfaces:

Methods



Class Details

[line 18]
EmptyTagHandler.class.php

This TagHandler is used by Temply when no other TagHandler is specified. It is an empty implementation and of the ITagHandler interface and does nothing special.

See http://www.oliver-matuschin.de for more information and version udpates.




Tags:

author:  Oliver Matuschin <mail@oliver-matuschin.de>
version:  0.1
copyright:  Copyright (c) 2010 Oliver Matuschin
license:  LGPL


[ Top ]


Class Methods


method isTag [line 24]

boolean isTag( $tagName)



Tags:

return:  This implementation always returns false.
see:  ITagHandler.class.php::isTag()
access:  public



Implementation of:
ITagHandler::isTag()
This method is called by Temply to check whether a given string is a valid tag.

Parameters:

   $tagName  

[ Top ]

method preprocessAttribute [line 51]

string preprocessAttribute( $attrName, $attrValue, $quoted)



Tags:

return:  Always returns the given value of the attribute.
see:  ITagHandler.class.php::preprocessAttribute()
access:  public



Implementation of:
ITagHandler::preprocessAttribute()
This method is called by the ThemplateParser <strong>before</strong> the methods processSingleTag or processBlockTag are called.

Parameters:

   $attrName  
   $attrValue  
   $quoted  

[ Top ]

method processBlockTag [line 42]

string processBlockTag( $tagName, $attributes, $blockContent)



Tags:

return:  Always returns an empty string.
see:  ITagHandler.class.php::processBlockTag()
access:  public



Implementation of:
ITagHandler::processBlockTag()
This method is called by Temply whenever a valid tag is found which also has an end-tag.

Parameters:

   $tagName  
array   $attributes  
   $blockContent  

[ Top ]

method processSingleTag [line 33]

string processSingleTag( $tagName, $attributes)



Tags:

return:  Always returns an empty string.
see:  ITagHandler.class.php::processSingleTag()
access:  public



Implementation of:
ITagHandler::processSingleTag()
This method is called by Temply whenever a valid tag is found which does not have any content.

Parameters:

   $tagName  
array   $attributes  

[ Top ]


Documentation generated on Sat, 19 Jun 2010 17:07:50 +0200 by phpDocumentor 1.4.0