| 1 | <?php |
||
| 11 | class aiccResource |
||
| 12 | { |
||
| 13 | public $identifier = ''; |
||
| 14 | public $title = ''; |
||
| 15 | public $description = ''; |
||
| 16 | public $developer_id = ''; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Class constructor. Depending of the type of construction called ('db' or 'manifest'), will create a scormResource |
||
| 20 | * object from database records or from the array given as second param |
||
| 21 | * @param string $type Type of construction needed ('db' or 'config', default = 'config') |
||
| 22 | * @param mixed $params Depending on the type given, DB id for the lp_item or parameters array |
||
| 23 | */ |
||
| 24 | public function __construct($type = 'config', $params) |
||
| 52 | } |
||
| 53 |