Source for file aiccBlock.class.php
Documentation is available at aiccBlock.class.php
* Container for the aiccResource class that deals with elemens from AICC Course Structure file
* @package scorm.learnpath
* @author Yannick Warnier <ywarnier@beeznest.org>
* @license GNU/GPL - See Dokeos license directory for details
* Class defining the Block elements in an AICC Course Structure file
require_once('learnpathItem.class.php');
* Class constructor. Depending of the type of construction called ('db' or 'manifest'), will create a scormResource
* object from database records or from the array given as second param
* @param string Type of construction needed ('db' or 'config', default = 'config')
* @param mixed Depending on the type given, DB id for the lp_item or parameters array
//TODO implement this way of object creation
case 'config': //do the same as the default
foreach($params as $a => $value)
if(strstr($value,',')!== false){
$temp = split(',',$value);
|