Method Protocols.LysKOM.Session()->create_text()
- Method
create_text
objectcreate_text(stringsubject,stringbody,mappingoptions)
objectcreate_text(stringsubject,stringbody,mappingoptions,function(:void)callback,mixed...extra)- Description
Creates a new text.
if
callbackis given, the function will be called when the text has been created, with the text as first argument. Otherwise, the new text is returned.optionsis a mapping that may contain:"recpt":Conference|array(Conference)recipient conferences.
"cc":Conference|array(Conference)cc-recipient conferences.
"bcc":Conference|array(Conference)bcc-recipient conferences*.
"comm_to":Text|array(Text)The text(s) to be commented.
"foot_to":Text|array(Text)The text(s) to be footnoted.
"anonymous":boolsend text anonymously.
"aux_items":array(AuxItemInput)AuxItems you want to set for the text*.
- Note
The items above marked with '*' are only available on protocol 10 servers. A LysKOM error will be thrown if the call fails.
- See also
Conference.create_text(),Text.comment(),Text.footnote()