Source for file classes_topic.php

Documentation is available at classes_topic.php

  1. <?php
  2.  
  3. class topic extends b_object {
  4. //NOTE - object type definition "user types"
  5. var $name;
  6. var $description;
  7.  
  8. function topic( $constructID = NULL ) {
  9. parent::b_object( $constructID, 'topics' );
  10. }
  11. function get_index() {
  12. if( $this->name ) {
  13. $objectIndex = $this->name;
  14. } else {
  15. $objectIndex = "new topic";
  16. }
  17. return $objectIndex;
  18. }
  19. }
  20.  
  21. ?>

Documentation generated on Tue, 24 May 2005 03:57:19 -0400 by phpDocumentor 1.3.0RC3