diff --git a/class.class.php b/class.class.php
--- a/class.class.php
+++ b/class.class.php
@@ -11,79 +11,78 @@ include_once 'class.section.php';
class Classes
{
- private $name; // String
- private $sections; // Array of sections
- private $nsections; // int
+ private $name; // String
+ private $sections; // Array of sections
+ private $nsections; // int
- //--------------------------------------------------
- // Creates a class with the given name.
- //--------------------------------------------------
- function __construct($n)
- {
- $this->name = $n;
- $this->nsections = 0;
- }
-
- //--------------------------------------------------
- // Adds a new section to the class.
- //--------------------------------------------------
- function addSection($l, $p, $s, $e, $d)
- {
- $this->sections[$this->nsections] = new Section($l, $p, $s, $e, $d);
- $this->nsections++;
- }
+ //--------------------------------------------------
+ // Creates a class with the given name.
+ //--------------------------------------------------
+ function __construct($n)
+ {
+ $this->name = $n;
+ $this->nsections = 0;
+ }
- //--------------------------------------------------
- // Returns the number of sections in the class.
- //--------------------------------------------------
- function getnsections()
- {
- return $this->nsections;
- }
+ //--------------------------------------------------
+ // Adds a new section to the class.
+ //--------------------------------------------------
+ function addSection($l, $p, $s, $e, $d)
+ {
+ $this->sections[$this->nsections] = new Section($l, $p, $s, $e, $d);
+ $this->nsections++;
+ }
- //--------------------------------------------------
- // Returns the desired section for analysis.
- //--------------------------------------------------
- function getSection($i)
- {
- // Checks to make sure the desired section is part of the set.
- if(isset($this->sections[$i]))
- {
- //echo "Object sections[$i] was set
";
- } else {
- echo "Object sections[$i] was NOT set
";
- }
-
- $result = $this->sections[$i];
- return $result;
- }
-
- //--------------------------------------------------
- // Returns the name of the class.
- //--------------------------------------------------
- function getName()
- {
- return $this->name;
+ //--------------------------------------------------
+ // Returns the number of sections in the class.
+ //--------------------------------------------------
+ function getnsections()
+ {
+ return $this->nsections;
+ }
+
+ //--------------------------------------------------
+ // Returns the desired section for analysis.
+ //--------------------------------------------------
+ function getSection($i)
+ {
+ // Checks to make sure the desired section is part of the set.
+ if(isset($this->sections[$i]))
+ {
+ //echo "Object sections[$i] was set
";
+ } else {
+ echo "Object sections[$i] was NOT set
";
}
- /**
- * \brief
- * Renders this Classes into something suitable for input.php.
- */
- function input_form_render($class_key)
- {
- $n = "\n";
- $out = '