Exemplo n.º 1
0
 public static function convertCourseUserConstraintsToSqlParameters($constraints)
 {
     list($where, $limit, $orderby) = EfrontCourse::convertLessonConstraintsToSqlParameters($constraints);
     $where = EfrontUser::addWhereConditionToUserConstraints($constraints);
     $limit = self::addLimitConditionToConstraints($constraints);
     $order = self::addSortOrderConditionToConstraints($constraints);
     return array($where, $limit, $order);
 }