Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 126... Línea 126...
126
     * @param string $method The method name.
126
     * @param string $method The method name.
127
     * @param array $args The arguments.
127
     * @param array $args The arguments.
128
     * @param string $interface The interface to use. By default uses the logstore_provider.
128
     * @param string $interface The interface to use. By default uses the logstore_provider.
129
     * @return void
129
     * @return void
130
     */
130
     */
131
    protected static function call_subplugins_method_with_args($method, array $args = [], string $interface = null) {
131
    protected static function call_subplugins_method_with_args($method, array $args = [], ?string $interface = null) {
132
        if (!isset($interface)) {
132
        if (!isset($interface)) {
133
            $interface = \tool_log\local\privacy\logstore_provider::class;
133
            $interface = \tool_log\local\privacy\logstore_provider::class;
134
        }
134
        }
135
        \core_privacy\manager::plugintype_class_callback('logstore', $interface, $method, $args);
135
        \core_privacy\manager::plugintype_class_callback('logstore', $interface, $method, $args);
136
    }
136
    }