_StandardizedTest

Hierarchy

Expanded class hierarchy of _StandardizedTest

Properties

NameDescription
_StandardizedTest::$categories

Functions & methods

NameDescription
_StandardizedTest::to_string
_StandardizedTest::__construct

File

classes/_StandardizedTest.php, line 4

View source
class _StandardizedTest {
  public $categories, $description, $test_id, $date_taken;



  function __construct() {
    $categories = array();
  }


  function to_string() {
    $rtn = "";

    $rtn .= "test: $this->date_taken - $this->test_id - $this->description : \n";
    if (count($this->categories)) {
      foreach ($this->categories as $position => $value) {
        $rtn .= "  $position - {$value["category_id"]} - {$value["description"]} - {$value["score"]} \n";
      }
    }

    return $rtn;
  }


}