/
var
/
www
/
html
/
poli
/
blocks
/
exaport
/
db
/
Upload File
HOME
<?php $services = array( 'exaportservices' => array( //the name of the web service 'functions' => array ( 'block_exaport_get_items', 'block_exaport_get_item', 'block_exaport_add_item', 'block_exaport_update_item', //test für fileupload fehlt noch!! 'block_exaport_delete_item', 'block_exaport_list_competencies', 'block_exaport_set_item_competence', 'block_exaport_get_views', 'block_exaport_get_view', 'block_exaport_add_view', 'block_exaport_update_view', 'block_exaport_delete_view', 'block_exaport_get_all_items', 'block_exaport_add_view_item', 'block_exaport_delete_view_item', 'block_exaport_view_grant_external_access', 'block_exaport_view_get_available_users', 'block_exaport_view_grant_internal_access_all', 'block_exaport_view_grant_internal_access', 'block_exaport_get_category', 'block_exaport_delete_category', 'block_exaport_get_competencies_by_item', 'block_exaport_get_users_by_view' ), 'restrictedusers' =>0, //if enabled, the Moodle administrator must link some user to this service //into the administration 'enabled'=>1, //if enabled, the service can be reachable on a default installation ) ); $functions = array( 'block_exaport_get_items' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_items', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Returns categories and items for a particular level', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_get_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Returns detailed information for a particular item', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_add_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'add_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Adds a new item to the users portfolio', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_update_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'update_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Edit an item from the users portfolio', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_delete_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'delete_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Delete an item from the users portfolio', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_list_competencies' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'list_competencies', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'List all available competencies', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_set_item_competence'=> array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'set_item_competence', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'assign a competence to an item', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_get_views' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_views', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Return available views', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_get_view' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_view', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Return detailed view', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_add_view' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'add_view', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Add a new view to the users portfolio', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_update_view' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'update_view', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Edit a view from the users portfolio', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_delete_view' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'delete_view', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Delete a view from the users portfolio', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_get_all_items' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_all_items', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Return all items, independent from level', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_add_view_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'add_view_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Add item to a view', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_delete_view_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'delete_view_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Remove item from a view', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_view_grant_external_access' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'view_grant_external_access', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Grant external access to a view', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_view_get_available_users' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'view_get_available_users', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Get users who can get access', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_view_grant_internal_access_all' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'view_grant_internal_access_all', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Grant internal access to a view to all users', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_view_grant_internal_access' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'view_grant_internal_access', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Grant internal access to a view to one user', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_get_category' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_category', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Get category infor', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_delete_category' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'delete_category', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Delete category', //human readable description of the web service function 'type' => 'write' //database rights of the web service function (read, write) ), 'block_exaport_get_competencies_by_item' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_competencies_by_item', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Get competence ids for a ePortfolio item', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ), 'block_exaport_get_users_by_view' => array( //web service function name 'classname' => 'block_exaport_external', //class containing the external function 'methodname' => 'get_users_by_view', //external function name 'classpath' => 'blocks/exaport/externallib.php', //file containing the class/external function 'description' => 'Get view users', //human readable description of the web service function 'type' => 'read' //database rights of the web service function (read, write) ) ); ?>