Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 58... Línea 58...
58
    /**
58
    /**
59
     * Availability.
59
     * Availability.
60
     *
60
     *
61
     * @return void
61
     * @return void
62
     */
62
     */
63
    public function test_search_enabled() {
63
    public function test_search_enabled(): void {
Línea 64... Línea 64...
64
 
64
 
65
        $searcharea = \core_search\manager::get_search_area($this->bookchapterareaid);
65
        $searcharea = \core_search\manager::get_search_area($this->bookchapterareaid);
Línea 66... Línea 66...
66
        list($componentname, $varname) = $searcharea->get_config_var_name();
66
        list($componentname, $varname) = $searcharea->get_config_var_name();
Línea 78... Línea 78...
78
    /**
78
    /**
79
     * Indexing chapter contents.
79
     * Indexing chapter contents.
80
     *
80
     *
81
     * @return void
81
     * @return void
82
     */
82
     */
83
    public function test_chapters_indexing() {
83
    public function test_chapters_indexing(): void {
84
        global $DB;
84
        global $DB;
Línea 85... Línea 85...
85
 
85
 
86
        // Returns the instance as long as the area is supported.
86
        // Returns the instance as long as the area is supported.
87
        $searcharea = \core_search\manager::get_search_area($this->bookchapterareaid);
87
        $searcharea = \core_search\manager::get_search_area($this->bookchapterareaid);
Línea 145... Línea 145...
145
    /**
145
    /**
146
     * Document contents.
146
     * Document contents.
147
     *
147
     *
148
     * @return void
148
     * @return void
149
     */
149
     */
150
    public function test_check_access() {
150
    public function test_check_access(): void {
151
        global $DB;
151
        global $DB;
Línea 152... Línea 152...
152
 
152
 
153
        // Returns the instance as long as the area is supported.
153
        // Returns the instance as long as the area is supported.
154
        $searcharea = \core_search\manager::get_search_area($this->bookchapterareaid);
154
        $searcharea = \core_search\manager::get_search_area($this->bookchapterareaid);