ILIAS
Release_4_2_x_branch Revision 61807
|
Soap methods for adminstrating web links. More...
Public Member Functions | |
__construct () | |
Constructor. | |
readWebLink ($sid, $ref_id) | |
Get Weblink xml. | |
createWebLink ($sid, $target_id, $weblink_xml) | |
add an exercise with id. | |
updateWebLink ($sid, $ref_id, $weblink_xml) | |
update a weblink with id. | |
Public Member Functions inherited from ilSoapAdministration | |
ilSoapAdministration ($use_nusoap=true) | |
__checkSession ($sid) | |
initErrorWriter () | |
Overwrite error handler. | |
__explodeSid ($sid) | |
__setMessage ($a_str) | |
__getMessage () | |
__appendMessage ($a_str) | |
__setMessageCode ($a_code) | |
__getMessageCode () | |
initAuth ($sid) | |
initIlias () | |
__initAuthenticationObject ($a_auth_mode=AUTH_LOCAL) | |
__raiseError ($a_message, $a_code) | |
getNIC ($sid) | |
get client information from current as xml result set | |
isFault ($object) | |
checkObjectAccess ($ref_id, $expected_type, $permission, $returnObject=false) | |
check access for ref id: expected type, permission, return object instance if returnobject is true | |
getInstallationInfoXML () | |
getClientInfoXML ($clientid) |
Additional Inherited Members | |
Static Public Member Functions inherited from ilSoapAdministration | |
static | return_bytes ($val) |
calculate bytes from K,M,G modifiers e.g: 8M = 8 * 1024 * 1024 bytes | |
Data Fields inherited from ilSoapAdministration | |
$sauth = null | |
$error_method = null | |
Protected Attributes inherited from ilSoapAdministration | |
$soap_check = true |
Soap methods for adminstrating web links.
Definition at line 13 of file class.ilSoapWebLinkAdministration.php.
ilSoapWebLinkAdministration::__construct | ( | ) |
Constructor.
Definition at line 18 of file class.ilSoapWebLinkAdministration.php.
ilSoapWebLinkAdministration::createWebLink | ( | $sid, | |
$target_id, | |||
$weblink_xml | |||
) |
add an exercise with id.
string | $session_id | current session |
int | $target_id | refid of parent in repository |
string | $weblink_xml | xml description of weblink |
Definition at line 105 of file class.ilSoapWebLinkAdministration.php.
References $ilLog, $target_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_isInTrash(), ilObjectFactory\getInstanceByRefId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilWebLinkXmlParser\MODE_CREATE.
ilSoapWebLinkAdministration::readWebLink | ( | $sid, | |
$ref_id | |||
) |
Get Weblink xml.
string | $a_sid | |
int | $a_ref_id |
Definition at line 29 of file class.ilSoapWebLinkAdministration.php.
References $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilSoapAdministration\initAuth(), and ilSoapAdministration\initIlias().
ilSoapWebLinkAdministration::updateWebLink | ( | $sid, | |
$ref_id, | |||
$weblink_xml | |||
) |
update a weblink with id.
string | $session_id | current session |
int | $ref_id | refid id of weblink in repository |
string | $weblink_xml | xml description |
Definition at line 179 of file class.ilSoapWebLinkAdministration.php.
References $ilLog, $ref_id, ilSoapAdministration\__checkSession(), ilSoapAdministration\__getMessage(), ilSoapAdministration\__getMessageCode(), ilSoapAdministration\__raiseError(), ilObject\_getAllReferences(), ilObject\_isInTrash(), ilObject\_lookupObjectId(), ilObjectFactory\getInstanceByObjId(), ilSoapAdministration\initAuth(), ilSoapAdministration\initIlias(), and ilWebLinkXmlParser\MODE_UPDATE.