private function _getsVisibleCourses($order, $pageNo, $pageSize) { $course = TCVM_Product_CoreFactory::Factory(self::TYPE_COURSES); $conditions = array(); $conditions['visible'] = intval(true); return $course->gets($conditions, $order, $pageNo, $pageSize); }