本文整理汇总了PHP中ilXmlWriter::ilXmlWriter方法的典型用法代码示例。如果您正苦于以下问题:PHP ilXmlWriter::ilXmlWriter方法的具体用法?PHP ilXmlWriter::ilXmlWriter怎么用?PHP ilXmlWriter::ilXmlWriter使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ilXmlWriter
的用法示例。
在下文中一共展示了ilXmlWriter::ilXmlWriter方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: ilExerciseXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilExerciseXMLWriter()
{
// @todo: needs to be revised for multiple assignments per exercise
//die ("Needs revision for ILIAS 4.1");
parent::ilXmlWriter();
$this->attachFileContents = ilExerciseXMLWriter::$CONTENT_ATTACH_NO;
}
示例2: ilObjectXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilObjectXMLWriter()
{
global $ilias, $ilUser;
parent::ilXmlWriter();
$this->ilias =& $ilias;
$this->user_id = $ilUser->getId();
}
示例3: __construct
/**
* Constructor
*
* @access public
* @param
*
*/
public function __construct($a_record_ids)
{
global $ilSetting;
parent::ilXmlWriter();
$this->settings = $ilSetting;
$this->record_ids = $a_record_ids ? $a_record_ids : array();
}
示例4: ilCourseXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilCourseXMLWriter(&$course_obj)
{
global $ilias;
parent::ilXmlWriter();
$this->EXPORT_VERSION = "2";
$this->ilias =& $ilias;
$this->course_obj =& $course_obj;
}
示例5: ilGroupXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilGroupXMLWriter($group_obj)
{
global $ilias;
parent::ilXmlWriter();
$this->EXPORT_VERSION = "3";
$this->ilias =& $ilias;
$this->group_obj =& $group_obj;
$this->participants = ilGroupParticipants::_getInstanceByObjId($this->group_obj->getId());
}
示例6: ilUserXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilUserXMLWriter()
{
global $ilias, $ilUser;
parent::ilXmlWriter();
$this->ilias =& $ilias;
$this->user_id = $ilUser->getId();
$this->attachRoles = false;
/* $this->exportablePrefs = array(
"priv_feed_pass", "language", "style", "skin", 'ilPageEditor_HTMLMode',
'ilPageEditor_JavaScript', 'ilPageEditor_MediaMode', 'tst_javascript',
'tst_lastquestiontype', 'tst_multiline_answers', 'tst_use_previous_answers',
'graphicalAnswerSetting', "weekstart"
);*/
}
示例7: ilnetucateXMLAPI
/**
* Constructor
* @access public
*/
function ilnetucateXMLAPI()
{
global $ilias;
define('ILINC_MEMBER_NOTSET', 'ilinc_notset');
define('ILINC_MEMBER_DOCENT', 'ilinc_docent');
define('ILINC_MEMBER_STUDENT', 'ilinc_student');
parent::ilXmlWriter();
$this->ilias =& $ilias;
$this->reg_login = $this->ilias->getSetting("ilinc_registrar_login");
$this->reg_passwd = $this->ilias->getSetting("ilinc_registrar_passwd");
$this->customer_id = $this->ilias->getSetting("ilinc_customer_id");
$this->server_scheme = $this->ilias->getSetting("ilinc_protocol");
$this->server_addr = $this->ilias->getSetting("ilinc_server");
$this->server_path = $this->ilias->getSetting("ilinc_path");
$this->server_port = $this->ilias->getSetting("ilinc_port");
$this->server_timeout = $this->ilias->getSetting("ilinc_timeout");
$this->user_max_strlen = 32;
// Max string length of full username (title + firstname + lastname)
}
示例8: ilSoapInstallationInfoXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilSoapInstallationInfoXMLWriter()
{
parent::ilXmlWriter();
}
示例9: ilMD
function ilMD2XML($a_rbac_id, $a_obj_id, $a_type)
{
$this->md_obj =& new ilMD($a_rbac_id, $a_obj_id, $a_type);
parent::ilXmlWriter();
}
示例10: ilFileXMLWriter
/**
* constructor
* @param string xml version
* @param string output encoding
* @param string input encoding
* @access public
*/
function ilFileXMLWriter()
{
parent::ilXmlWriter();
$this->attachFileContents = ilFileXMLWriter::$CONTENT_ATTACH_NO;
}
示例11: ilXMLResultSetWriter
function ilXMLResultSetWriter(&$xmlResultSet)
{
parent::ilXmlWriter();
$this->xmlResultSet = $xmlResultSet;
}