Location: PHPKode > projects > RCS Man on the Web > RCSManager-0.2/classes/xFolder.php
<?php
/** 
 * $Id$
 * $Log$
 */

/****************************************************************************************
 *
 * This class handle folder
 *
 * Methods:
 *
 * xFolder(String $name, String $location, Array $attribut) 
 *   Builder of this class
 *
 ***************************************************************************************/
Class xFolder extends AbstractFile
{
  /**
   * Builder of this class
   * @param $name      name of this folder
   * @param $location  location of this folder
   * @param $attribut  status of this folder
   */
  function xFolder($name, $location, $attribut = false)
  {
    parent::AbstractFile($name, "folder", $location, $attribut);

    // default state
    if(!$attribut)
      $this->_attribut["status"] = "close"; 
    
  }/* xFolder() */

}/*Class xFolder*/

?>
Return current item: RCS Man on the Web