Source for file AParagraph.php

Documentation is available at AParagraph.php

  1. <?php
  2.  
  3. /**
  4.  * class AParagraph
  5.  *
  6.  * @package Alia
  7.  * @subpackage Widgets
  8.  * @author Jordan CM Wambaugh <jordan@wambaugh.org>
  9.  *
  10.  */
  11.  
  12. /**
  13.  * class AParagraph
  14.  *
  15.  * @package Alia
  16.  * @subpackage Widgets
  17.  * @author Jordan CM Wambaugh <jordan@wamabugh.org>
  18.  *
  19.  */
  20. class AParagraph extends AHTMLElement 
  21. {
  22.  
  23.     function __construct($text){
  24.         parent::__construct();
  25.         $this->setTagName('p');
  26.         $this->setLayout(new AElementLayout($this) );
  27.         $this->setInnerHTML($text);
  28.     }
  29.     
  30.     function render(){
  31.         return parent::render();
  32.         
  33.     }
  34.  
  35. // end of AButton
  36. ?>

Documentation generated on Fri, 11 Jul 2008 13:28:42 -0400 by phpDocumentor 1.4.2