class StandardizedTest
Search API
- 7.x classes/StandardizedTest.php StandardizedTest
- 6.x classes/StandardizedTest.php StandardizedTest
- 4.x custom/classes/StandardizedTest.php StandardizedTest
- 5.x custom/classes/StandardizedTest.php StandardizedTest
Hierarchy
- class \StandardizedTest extends \stdClass
Expanded class hierarchy of StandardizedTest
File
- classes/
StandardizedTest.php, line 4
View source
class StandardizedTest extends stdClass
{
public $categories, $description, $test_id, $date_taken, $bool_date_unavailable, $school_id;
function __construct()
{
$this->categories = array();
$this->bool_date_unavailable = FALSE;
$this->school_id = 0;
}
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;
}
}
Members
Name | Modifiers | Type | Description |
---|---|---|---|
StandardizedTest:: |
public | property | |
StandardizedTest:: |
function | ||
StandardizedTest:: |
function |