コード例 #1
0
 /**
  * Create a new TestSessionStorage object.
  * 
  * @param AbstractSessionManager $manager The session manager to be used to create new AssessmentTestSession and AssessmentItemSession objects.
  * @param BinaryAssessmentTestSeeker $seeker The seeker making able the storage engine to index AssessmentTest's components.
  */
 public function __construct(AbstractSessionManager $manager, BinaryAssessmentTestSeeker $seeker)
 {
     parent::__construct($manager, $seeker);
 }
コード例 #2
0
 /**
  * Create a new TestSessionStorage object.
  * 
  * @param AbstractSessionManager $manager The session manager to be used to create new AssessmentTestSession and AssessmentItemSession objects.
  * @param BinaryAssessmentTestSeeker $seeker The seeker making able the storage engine to index AssessmentTest's components.
  * @param string $userUri The URI (Uniform Resource Identifier) of the user the Test Session belongs to.
  */
 public function __construct(AbstractSessionManager $manager, BinaryAssessmentTestSeeker $seeker, $userUri)
 {
     parent::__construct($manager, $seeker);
     $this->setUserUri($userUri);
 }