Login   Register  
PHP Classes
elePHPant
Icontem

File: PTagSupport.inc

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of masa918  >  Form taglib classes  >  PTagSupport.inc  >  Download  
File: PTagSupport.inc
Role: ???
Content type: text/plain
Description: Taglib base class
Class: Form taglib classes
Simple HTML Form taglib
Author: By
Last change:
Date: 2002-04-24 10:28
Size: 905 bytes
 

Contents

Class file image Download
<?
/**
*
*  PTagSupport Class
*
*  @author Masahiro.Kobayashi < masa918@nifty.com >
*  @access public
*  @version 0.1
*
*/
class PTagSupport
{
  /**
  *  parent object PTagSupport
  *  @access public
  */
  var $parent = null;
  /**
  *  attribute
  *  @access public
  */
  var $attrs = array();
  /**
  *
  *  attribute set method
  *
  *  @access private
  */
  function set($key,$value){
    $this->attrs[$key] = $value;
  }
  /**
  *  set parent object
  */
  function setParent(&$parent)
  {
    $this->parent =& $parent;
  }
  /**
  *  @access public
  */
  function doStartTag(){
  }
  /**
  *  @access public
  */
  function doBody($data = ""){
    print htmlspecialchars($data);
  }
  /**
  *  @access public
  */
  function doEndTag(){
  }
  /**
  *  @access public
  */
  function release()
  {
    $this->attrs = array();
  }
}
?>