%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/main/webservices/
Upload File :
Create Path :
Current File : //proc/self/root/home/tjamichg/cursos.tjamich.gob.mx/main/webservices/cm_soap_announcements.php

<?php
/* For licensing terms, see /license.txt */

/**
 * @package chamilo.webservices
 */
require_once __DIR__.'/cm_webservice_announcements.php';
require_once __DIR__.'/cm_soap.php';

/**
 * Configures the WSCourse SOAP service.
 */
$s = WSCMSoapServer::singleton();

$s->register(
    'WSCMAnnouncements.get_announcements_id',
    [
        'username' => 'xsd:string',
        'password' => 'xsd:string',
        'course_code' => 'xsd:string',
    ],
    ['return' => 'xsd:string'],
    'urn:WSCMService',
    '',
    '',
    '',
    'Retorna o ID dos anuncios visiveis a um usuario de uma disciplina.'
);

$s->register(
    'WSCMAnnouncements.get_announcement_data',
    [
        'username' => 'xsd:string',
        'password' => 'xsd:string',
        'course_code' => 'xsd:string',
        'announcement_id' => 'xsd:string',
        'field' => 'xsd:string',
    ],
    ['return' => 'xsd:string'],
    'urn:WSCMService',
    '',
    '',
    '',
    'Retorna o conteudo do campo informado de um anuncio de chave ID. Campos retornaveis: sender, date, title e content'
);

Zerion Mini Shell 1.0