Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 152... Línea 152...
152
     * @return int Rank (higher is better)
152
     * @return int Rank (higher is better)
153
     */
153
     */
154
    abstract public function get_rank();
154
    abstract public function get_rank();
Línea 155... Línea 155...
155
 
155
 
156
    /**
-
 
157
     * @deprecated since Moodle 3.2
-
 
158
     */
-
 
159
    public function is_enabled() {
-
 
160
        throw new coding_exception('core_media_player::is_enabled() can not be used anymore.');
-
 
161
    }
-
 
162
 
-
 
163
    /**
156
    /**
164
     * Given a list of URLs, returns a reduced array containing only those URLs
157
     * Given a list of URLs, returns a reduced array containing only those URLs
165
     * which are supported by this player. (Empty if none.)
158
     * which are supported by this player. (Empty if none.)
166
     * @param array $urls Array of moodle_url
159
     * @param array $urls Array of moodle_url
167
     * @param array $options Options (same as will be passed to embed)
160
     * @param array $options Options (same as will be passed to embed)
Línea 204... Línea 197...
204
 
197
 
205
        return $name;
198
        return $name;
Línea 206... Línea 199...
206
    }
199
    }
207
 
-
 
208
    /**
-
 
209
     * @deprecated since Moodle 3.2
-
 
210
     */
-
 
211
    public static function compare_by_rank() {
-
 
212
        throw new coding_exception('core_media_player::compare_by_rank() can not be used anymore.');
-
 
213
    }
-
 
214
 
200
 
215
    /**
201
    /**
216
     * Utility function that sets width and height to defaults if not specified
202
     * Utility function that sets width and height to defaults if not specified
217
     * as a parameter to the function (will be specified either if, (a) the calling
203
     * as a parameter to the function (will be specified either if, (a) the calling
218
     * code passed it, or (b) the URL included it).
204
     * code passed it, or (b) the URL included it).