Location: PHPKode > scripts > xmlSiteMaker > xmlsitemaker/include/Element/Element.php
<?php

class Element{

  var $name;
  var $params;

  var $content;

  // constructor
  function Element( $arg ){
    $this->name = $arg[ 'name' ];
    $this->params = $arg[ 'params' ];
    $this->content = '';
    $this->isNeedAccessToPage = 0;
  }

  // public
  function makeContent(){
    // abstract
  }

  function getContent(){
    return $this->content;
  }

  function getName(){
    return $this->name;
  }

} //end class

?>
Return current item: xmlSiteMaker