예제 #1
0
파일: Course.php 프로젝트: jne21/WBT
 static function delete($courseId)
 {
     if ($id = intval($courseId)) {
         CourseL10n::deleteAll($courseId);
         parent::delete($id);
     }
 }
예제 #2
0
파일: Material.php 프로젝트: jne21/WBT
 static function delete($materialId)
 {
     MaterialL10n::deleteAll($materialId);
     parent::delete($materialId);
 }
예제 #3
0
파일: Router.php 프로젝트: jne21/hatatool
 static function getList($fake = NULL)
 {
     return parent::getList("SELECT * FROM `" . self::TABLE . "` ORDER BY `" . self::ORDER_FIELD_NAME . "`");
 }
예제 #4
0
파일: Redirect.php 프로젝트: jne21/hatatool
 /**
  * Получение списка редиректов в виде массива объектов
  * @return multitype:\common\Redirect[]
  */
 static function getList($mode = NULL)
 {
     return parent::getList("SELECT * FROM `" . self::TABLE . "`" . ($mode == self::ACTIVE ? ' WHERE `active`=' . self::ACTIVE : '') . " ORDER BY `" . self::ORDER_FIELD_NAME . "`");
 }
예제 #5
0
파일: Stage.php 프로젝트: jne21/WBT
 static function delete($stageId)
 {
     StageL10n::deleteAll($stageId);
     parent::delete($stageId);
 }
예제 #6
0
파일: Lesson.php 프로젝트: jne21/WBT
 static function delete($lessonId)
 {
     LessonL10n::deleteAll($lessonId);
     parent::delete($lessonId);
 }