ILIAS
Release_4_1_x_branch Revision 61804
|
API to communicate with a the CMSAPI of centra (c) Sascha Hofmann, 2004. More...
Public Member Functions | |
ilnetucateXMLAPI () | |
Constructor public. | |
xmlFormatData ($a_data) | |
Indents text for better reading. | |
setServerAddr ($a_server_addr) | |
getServerAddr () | |
getServerPort () | |
getServerTimeOut () | |
getServerPath () | |
getServerScheme () | |
getCustomerID () | |
setRequest ($a_data) | |
sendRequest ($a_request= '') | |
addUserOLD (&$a_login_data, &$a_user_obj, $a_authority="leader") | |
add user account to iLinc | |
addUser (&$a_ilinc_user_obj, $a_authority="leader") | |
add user account to iLinc | |
editUser (&$a_ilinc_user_obj) | |
change user account in iLinc | |
registerUser ($a_ilinc_course_id, $a_ilinc_user_arr) | |
findRegisteredUsersByRole ($a_ilinc_course_id, $a_instructorflag=false) | |
unregisterUser ($a_ilinc_course_id, $a_ilinc_user_ids) | |
findUser (&$a_id, &$a_login, &$a_fullname) | |
removeUser (&$a_user_obj) | |
addClass ($a_course_id, $a_data) | |
editClass ($a_class_id, $a_data) | |
joinClass (&$a_ilinc_user_obj, $a_ilinc_class_id) | |
userLogin (&$a_ilinc_user_obj) | |
uploadPicture (&$a_ilinc_user_obj) | |
removeClass ($a_icla_id) | |
findCourseClasses ($a_icrs_id) | |
findClass ($a_class_id) | |
addCourse (&$a_icrs_arr) | |
editCourse ($a_icrs_id, $a_icrs_arr) | |
removeCourse ($a_icrs_id) | |
Public Member Functions inherited from ilXmlWriter | |
ilXmlWriter ($version="1.0", $outEnc="utf-8", $inEnc="utf-8") | |
constructor | |
_ilXmlWriter () | |
destructor public | |
xmlSetDtdDef ($dtdDef) | |
Sets dtd definition. | |
xmlSetStSheet ($stSheet) | |
Sets stylesheet. | |
xmlSetGenCmt ($genCmt) | |
Sets generated comment. | |
_xmlEscapeData ($data) | |
Escapes reserved characters. | |
xmlEncodeData ($data) | |
Encodes text from input encoding into output encoding. | |
xmlFormatElement ($array) | |
Callback function for xmlFormatData; do not invoke directly. | |
xmlHeader () | |
Writes xml header public. | |
xmlStartTag ($tag, $attrs=NULL, $empty=FALSE, $encode=TRUE, $escape=TRUE) | |
Writes a starttag. | |
xmlEndTag ($tag) | |
Writes an endtag. | |
xmlComment ($comment) | |
Writes a comment. | |
xmlData ($data, $encode=TRUE, $escape=TRUE) | |
Writes data. | |
xmlElement ($tag, $attrs=NULL, $data=Null, $encode=TRUE, $escape=TRUE) | |
Writes a basic element (no children, just textual content) | |
xmlDumpFile ($file, $format=TRUE) | |
Dumps xml document from memory into a file. | |
xmlDumpMem ($format=TRUE) | |
Returns xml document from memory. | |
appendXML ($a_str) | |
append xml string to document | |
xmlClear () | |
clears xmlStr public |
Additional Inherited Members | |
Data Fields inherited from ilXmlWriter | |
$xmlStr | |
$version | |
$outEnc | |
$inEnc | |
$dtdDef = "" | |
$stSheet = "" | |
$genCmt = "Generated by ILIAS XmlWriter" |
API to communicate with a the CMSAPI of centra (c) Sascha Hofmann, 2004.
Definition at line 15 of file class.ilnetucateXMLAPI.php.
ilnetucateXMLAPI::addClass | ( | $a_course_id, | |
$a_data | |||
) |
Definition at line 448 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::addCourse | ( | & | $a_icrs_arr | ) |
Definition at line 690 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::addUser | ( | & | $a_ilinc_user_obj, |
$a_authority = "leader" |
|||
) |
add user account to iLinc
array | login data |
string | user fullname |
string | permission level (optional) |
Definition at line 196 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::addUserOLD | ( | & | $a_login_data, |
& | $a_user_obj, | ||
$a_authority = "leader" |
|||
) |
add user account to iLinc
array | login data |
string | user fullname |
string | permission level (optional) |
Definition at line 152 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::editClass | ( | $a_class_id, | |
$a_data | |||
) |
Definition at line 500 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::editCourse | ( | $a_icrs_id, | |
$a_icrs_arr | |||
) |
Definition at line 718 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::editUser | ( | & | $a_ilinc_user_obj | ) |
change user account in iLinc
array | login data |
string | user fullname |
string | permission level (optional) |
Definition at line 240 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::findClass | ( | $a_class_id | ) |
Definition at line 665 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::findCourseClasses | ( | $a_icrs_id | ) |
Definition at line 640 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::findRegisteredUsersByRole | ( | $a_ilinc_course_id, | |
$a_instructorflag = false |
|||
) |
Definition at line 317 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::findUser | ( | & | $a_id, |
& | $a_login, | ||
& | $a_fullname | ||
) |
Definition at line 383 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::getCustomerID | ( | ) |
Definition at line 80 of file class.ilnetucateXMLAPI.php.
ilnetucateXMLAPI::getServerAddr | ( | ) |
Definition at line 55 of file class.ilnetucateXMLAPI.php.
ilnetucateXMLAPI::getServerPath | ( | ) |
Definition at line 70 of file class.ilnetucateXMLAPI.php.
References $server_path.
Referenced by sendRequest().
ilnetucateXMLAPI::getServerPort | ( | ) |
Definition at line 60 of file class.ilnetucateXMLAPI.php.
Referenced by sendRequest().
ilnetucateXMLAPI::getServerScheme | ( | ) |
Definition at line 75 of file class.ilnetucateXMLAPI.php.
Referenced by sendRequest().
ilnetucateXMLAPI::getServerTimeOut | ( | ) |
Definition at line 65 of file class.ilnetucateXMLAPI.php.
Referenced by sendRequest().
ilnetucateXMLAPI::ilnetucateXMLAPI | ( | ) |
Constructor public.
Definition at line 21 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\ilXmlWriter().
ilnetucateXMLAPI::joinClass | ( | & | $a_ilinc_user_obj, |
$a_ilinc_class_id | |||
) |
Definition at line 552 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::registerUser | ( | $a_ilinc_course_id, | |
$a_ilinc_user_arr | |||
) |
Definition at line 277 of file class.ilnetucateXMLAPI.php.
References $user, ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::removeClass | ( | $a_icla_id | ) |
Definition at line 611 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::removeCourse | ( | $a_icrs_id | ) |
Definition at line 748 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::removeUser | ( | & | $a_user_obj | ) |
Definition at line 412 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::sendRequest | ( | $a_request = '' | ) |
Definition at line 92 of file class.ilnetucateXMLAPI.php.
References $ilErr, $lng, getServerPath(), getServerPort(), getServerScheme(), getServerTimeOut(), and ilXmlWriter\xmlDumpMem().
ilnetucateXMLAPI::setRequest | ( | $a_data | ) |
Definition at line 85 of file class.ilnetucateXMLAPI.php.
ilnetucateXMLAPI::setServerAddr | ( | $a_server_addr | ) |
Definition at line 50 of file class.ilnetucateXMLAPI.php.
ilnetucateXMLAPI::unregisterUser | ( | $a_ilinc_course_id, | |
$a_ilinc_user_ids | |||
) |
Definition at line 344 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::uploadPicture | ( | & | $a_ilinc_user_obj | ) |
Definition at line 592 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::userLogin | ( | & | $a_ilinc_user_obj | ) |
Definition at line 572 of file class.ilnetucateXMLAPI.php.
References ilXmlWriter\xmlClear(), ilXmlWriter\xmlEndTag(), ilXmlWriter\xmlHeader(), and ilXmlWriter\xmlStartTag().
ilnetucateXMLAPI::xmlFormatData | ( | $data | ) |
Indents text for better reading.
string | input text |
Reimplemented from ilXmlWriter.
Definition at line 45 of file class.ilnetucateXMLAPI.php.