Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 80... Línea 80...
80
            } else {
80
            } else {
81
                $availableinfo = '';
81
                $availableinfo = '';
82
            }
82
            }
83
        }
83
        }
84
    }
84
    }
-
 
85
 
-
 
86
    /**
-
 
87
     * Returns true if this course format uses sections
-
 
88
     */
-
 
89
    public function uses_sections() {
-
 
90
        return true;
-
 
91
    }
-
 
92
 
-
 
93
    /**
-
 
94
     * Returns true if this course format is compatible with content components.
-
 
95
     *
-
 
96
     * Using components means the content elements can watch the frontend course state and
-
 
97
     * react to the changes. Formats with component compatibility can have more interactions
-
 
98
     * without refreshing the page, like having drag and drop from the course index to reorder
-
 
99
     * sections and activities.
-
 
100
     *
-
 
101
     * @return bool if the format is compatible with components.
-
 
102
     */
-
 
103
    public function supports_components() {
-
 
104
        return true;
-
 
105
    }
85
}
106
}