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

Source for file BitBook.php

Documentation is available at BitBook.php

  1. <?php
  2. /**
  3.  * BitBook class
  4.  *
  5.  * @author   spider <spider@steelsun.com>
  6.  * @version  $Revision: 1.4 $
  7.  * @package  wiki
  8.  */
  9. // +----------------------------------------------------------------------+
  10. // | Copyright (c) 2004, bitweaver.org
  11. // +----------------------------------------------------------------------+
  12. // | All Rights Reserved. See copyright.txt for details and a complete list of authors.
  13. // | Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
  14. // |
  15. // | For comments, please use phpdocu.sourceforge.net documentation standards!!!
  16. // | -> see http://phpdocu.sourceforge.net/
  17. // +----------------------------------------------------------------------+
  18. // | Authors: spider <spider@steelsun.com>
  19. // +----------------------------------------------------------------------+
  20. //
  21. // $Id: BitBook.php,v 1.4 2005/12/26 12:27:43 squareing Exp $
  22.  
  23.  
  24.  
  25.  
  26.  
  27. /**
  28.  * required setup
  29.  */
  30. require_onceWIKI_PKG_PATH.'BitPage.php' );
  31. require_onceLIBERTY_PKG_PATH.'LibertyStructure.php' );
  32.  
  33. define('BITBOOK_CONTENT_TYPE_GUID''bitbook' );
  34.  
  35. /**
  36.  * BitBook class
  37.  *
  38.  * @abstract
  39.  * @author   spider <spider@steelsun.com>
  40.  * @version  $Revision: 1.4 $
  41.  * @package  wiki
  42.  * @subpackage BitBook
  43.  */
  44. class BitBook extends BitPage {
  45.      function BitBook$pPageId=NULL$pContentId=NULL {
  46.         $this->registerContentTypeBITBOOK_CONTENT_TYPE_GUIDarray(
  47.             'content_type_guid' => BITBOOK_CONTENT_TYPE_GUID,
  48.             'content_description' => 'Wiki Book',
  49.             'handler_class' => 'BitBook',
  50.             'handler_package' => 'wiki',
  51.             'handler_file' => 'BitBook.php',
  52.             'maintainer_url' => 'http://www.bitweaver.org'
  53.         ) );
  54.         BitPage::BitPage$pPageId$pContentId );
  55.         $this->mContentTypeGuid = BITBOOK_CONTENT_TYPE_GUID;
  56.      }
  57.  
  58.     function getList&$pListHash {
  59.         $struct new LibertyStructure();
  60.         return $struct->getList$pListHash );
  61.     }
  62. }
  63.  
  64. ?>

Documentation generated on Thu, 15 Feb 2007 20:29:46 +0000 by phpDocumentor 1.3.0