* @package taoQTI * @see http://www.imsglobal.org/question/qtiv2p1/imsqti_infov2p1.html#element10037 */ abstract class VariableDeclaration extends IdentifiedElement { /** * Short description of attribute defaultValue * * @access protected * @var string */ protected $defaultValue = null; protected function getUsedAttributes() { return [ 'oat\\taoQtiItem\\model\\qti\\attribute\\Cardinality', 'oat\\taoQtiItem\\model\\qti\\attribute\\BaseType' ]; } /** * Short description of method getDefaultValue * * @access public * @author Sam, * @return string */ public function getDefaultValue() { return $this->defaultValue; } /** * Short description of method setDefaultValue * * @access public * @author Sam, * @param string value * @return mixed */ public function setDefaultValue($value) { $this->defaultValue = $value; } /** * Overwrite parent because of infinite call loop * @param string $className * @return array */ public function getComposingElements($className = '') { return []; } }