コード例 #1
0
ファイル: Material.php プロジェクト: jne21/WBT
 /**
  * Создание экземпляра класса Material
  * @param string $materialId - код Материала. Необязательно.
  */
 function __construct($materialId = NULL)
 {
     parent::__construct($materialId);
     $this->l10n = new MaterialL10n($this->id);
 }
コード例 #2
0
ファイル: Lesson.php プロジェクト: jne21/WBT
 function __construct($lessonId = NULL)
 {
     parent::__construct($lessonId);
     $this->l10n = new LessonL10n($this->id);
 }
コード例 #3
0
ファイル: Stage.php プロジェクト: jne21/WBT
 /**
  * Создание экземпляра класса Stage
  * @param string $stageId - код Этапа. Необязательно.
  */
 function __construct($stageId = NULL)
 {
     parent::__construct($stageId);
     $this->l10n = new StageL10n($this->id);
 }
コード例 #4
0
ファイル: Course.php プロジェクト: jne21/WBT
 function __construct($courseId = NULL)
 {
     parent::__construct($courseId);
     $this->l10n = new CourseL10n($this->id);
 }