ILIAS
release_4-3 Revision
|
Public Member Functions | |
ilBibItem ($content_obj=0) | |
Constructor public. | |
setBibliographyAttributes ($a_data) | |
setAbstract ($a_data) | |
setBibItemData ($a_key, $a_value, $a_bib_item_nr) | |
appendBibItemData ($a_key, $a_value, $a_bib_item_nr) | |
getBibItemData () | |
getBibliographyAttributes () | |
getAbstract () | |
getTitle () | |
getXML () | |
readXML () | |
setXMLContent ($a_xml, $a_encoding="UTF-8") | |
set xml content of BibItem, start with <BibItem...>, end with </BibItemt>, comply with ILIAS DTD, use utf-8! | |
appendXMLContent ($a_xml) | |
append xml content to BibItem setXMLContent must be called before and the same encoding must be used | |
getXMLContent () | |
get xml content of BibItem | |
__initNestedSet () | |
setBooktitle ($a_booktitle) | |
getBooktitle () | |
setEdition ($a_edition) | |
getEdition () | |
setPublisher ($a_publisher) | |
getPublisher () | |
setYear ($a_year) | |
getYear () | |
setMeta ($a_data) | |
set (posted) meta data | |
getMeta () | |
get meta data | |
setID ($a_id) | |
set id | |
getID () | |
setType ($a_type) | |
getType () | |
setElement ($a_name, $a_data) | |
set identifier catalog value note: only one value implemented currently | |
getElement ($a_name, $a_path="", $a_index=0) | |
get identifier catalog value note: only one value implemented currently | |
read () | |
create () | |
create bib data object in db | |
delete ($a_name, $a_path, $a_index) | |
delete bibitem data node | |
add ($a_name, $a_path, $a_index=0) | |
add meta data node | |
getCountries () | |
setLanguage ($a_lang) | |
getLanguage () | |
getLanguages () | |
get iso conform languages see http://www.oasis-open.org/cover/iso639a.html |
Data Fields | |
$nested_obj | |
$content_obj | |
$xml | |
$bibliography_attr | |
$abstract | |
$id = 0 | |
$type = "bib" | |
$meta | |
$language |
Class ilBibItem.
Handles Bib-Items of ILIAS DigiLib-Books (see ILIAS DTD)
Definition at line 36 of file class.ilBibItem.php.
ilBibItem::__initNestedSet | ( | ) |
Definition at line 232 of file class.ilBibItem.php.
References getID().
Referenced by add(), create(), delete(), getElement(), read(), and readXML().
ilBibItem::add | ( | $a_name, | |
$a_path, | |||
$a_index = 0 |
|||
) |
add meta data node
Definition at line 447 of file class.ilBibItem.php.
References $xml, __initNestedSet(), getID(), and getType().
ilBibItem::appendBibItemData | ( | $a_key, | |
$a_value, | |||
$a_bib_item_nr | |||
) |
@access | public |
Definition at line 124 of file class.ilBibItem.php.
ilBibItem::appendXMLContent | ( | $a_xml | ) |
append xml content to BibItem setXMLContent must be called before and the same encoding must be used
string | $a_xml | xml content |
Definition at line 216 of file class.ilBibItem.php.
ilBibItem::create | ( | ) |
create bib data object in db
Definition at line 387 of file class.ilBibItem.php.
References $xml, __initNestedSet(), getID(), and getType().
Referenced by read().
ilBibItem::delete | ( | $a_name, | |
$a_path, | |||
$a_index | |||
) |
delete bibitem data node
Definition at line 425 of file class.ilBibItem.php.
References __initNestedSet().
ilBibItem::getAbstract | ( | ) |
Definition at line 149 of file class.ilBibItem.php.
References $abstract.
ilBibItem::getBibItemData | ( | ) |
Definition at line 130 of file class.ilBibItem.php.
ilBibItem::getBibliographyAttributes | ( | ) |
Definition at line 140 of file class.ilBibItem.php.
ilBibItem::getBooktitle | ( | ) |
Definition at line 252 of file class.ilBibItem.php.
ilBibItem::getCountries | ( | ) |
Definition at line 514 of file class.ilBibItem.php.
References $lng.
ilBibItem::getEdition | ( | ) |
Definition at line 262 of file class.ilBibItem.php.
ilBibItem::getElement | ( | $a_name, | |
$a_path = "" , |
|||
$a_index = 0 |
|||
) |
get identifier catalog value note: only one value implemented currently
Definition at line 338 of file class.ilBibItem.php.
References __initNestedSet(), and setElement().
ilBibItem::getID | ( | ) |
Definition at line 310 of file class.ilBibItem.php.
References $id.
Referenced by __initNestedSet(), add(), and create().
ilBibItem::getLanguage | ( | ) |
Definition at line 554 of file class.ilBibItem.php.
References $language.
ilBibItem::getLanguages | ( | ) |
get iso conform languages see http://www.oasis-open.org/cover/iso639a.html
Definition at line 563 of file class.ilBibItem.php.
References $lng.
ilBibItem::getMeta | ( | ) |
ilBibItem::getPublisher | ( | ) |
Definition at line 272 of file class.ilBibItem.php.
ilBibItem::getTitle | ( | ) |
@access | public |
Definition at line 161 of file class.ilBibItem.php.
References $title.
ilBibItem::getType | ( | ) |
Definition at line 320 of file class.ilBibItem.php.
References $type.
Referenced by add(), and create().
ilBibItem::getXML | ( | ) |
@access | public |
Definition at line 173 of file class.ilBibItem.php.
References $xml.
ilBibItem::getXMLContent | ( | ) |
ilBibItem::getYear | ( | ) |
Definition at line 282 of file class.ilBibItem.php.
ilBibItem::ilBibItem | ( | $content_obj = 0 | ) |
Constructor public.
Definition at line 56 of file class.ilBibItem.php.
References $content_obj, readXML(), and setID().
ilBibItem::read | ( | ) |
Definition at line 364 of file class.ilBibItem.php.
References __initNestedSet(), create(), setBooktitle(), setEdition(), setPublisher(), and setYear().
ilBibItem::readXML | ( | ) |
@access | public |
Definition at line 185 of file class.ilBibItem.php.
References __initNestedSet().
Referenced by ilBibItem().
ilBibItem::setAbstract | ( | $a_data | ) |
@access | public |
Definition at line 98 of file class.ilBibItem.php.
ilBibItem::setBibItemData | ( | $a_key, | |
$a_value, | |||
$a_bib_item_nr | |||
) |
@access | public |
Definition at line 110 of file class.ilBibItem.php.
ilBibItem::setBibliographyAttributes | ( | $a_data | ) |
array | e.g array("version" => 1,...) |
Definition at line 86 of file class.ilBibItem.php.
ilBibItem::setBooktitle | ( | $a_booktitle | ) |
Definition at line 242 of file class.ilBibItem.php.
Referenced by read().
ilBibItem::setEdition | ( | $a_edition | ) |
Definition at line 257 of file class.ilBibItem.php.
Referenced by read().
ilBibItem::setElement | ( | $a_name, | |
$a_data | |||
) |
set identifier catalog value note: only one value implemented currently
Definition at line 329 of file class.ilBibItem.php.
Referenced by getElement().
ilBibItem::setID | ( | $a_id | ) |
set id
Definition at line 305 of file class.ilBibItem.php.
Referenced by ilBibItem().
ilBibItem::setLanguage | ( | $a_lang | ) |
Definition at line 549 of file class.ilBibItem.php.
ilBibItem::setMeta | ( | $a_data | ) |
set (posted) meta data
Definition at line 290 of file class.ilBibItem.php.
ilBibItem::setPublisher | ( | $a_publisher | ) |
Definition at line 267 of file class.ilBibItem.php.
Referenced by read().
ilBibItem::setType | ( | $a_type | ) |
Definition at line 315 of file class.ilBibItem.php.
ilBibItem::setXMLContent | ( | $a_xml, | |
$a_encoding = "UTF-8" |
|||
) |
set xml content of BibItem, start with <BibItem...>, end with </BibItemt>, comply with ILIAS DTD, use utf-8!
string | $a_xml | xml content |
string | $a_encoding | encoding of the content (here is no conversion done! it must be already utf-8 encoded at the time) |
Definition at line 203 of file class.ilBibItem.php.
ilBibItem::setYear | ( | $a_year | ) |
Definition at line 277 of file class.ilBibItem.php.
Referenced by read().
ilBibItem::$abstract |
Definition at line 43 of file class.ilBibItem.php.
Referenced by getAbstract().
ilBibItem::$bibliography_attr |
Definition at line 42 of file class.ilBibItem.php.
ilBibItem::$content_obj |
Definition at line 39 of file class.ilBibItem.php.
Referenced by ilBibItem().
ilBibItem::$id = 0 |
Definition at line 45 of file class.ilBibItem.php.
Referenced by getID().
ilBibItem::$language |
Definition at line 50 of file class.ilBibItem.php.
Referenced by getLanguage().
ilBibItem::$meta |
Definition at line 48 of file class.ilBibItem.php.
Referenced by getMeta().
ilBibItem::$nested_obj |
Definition at line 38 of file class.ilBibItem.php.
ilBibItem::$type = "bib" |
Definition at line 46 of file class.ilBibItem.php.
Referenced by getType().
ilBibItem::$xml |
Definition at line 40 of file class.ilBibItem.php.
Referenced by add(), create(), getXML(), and getXMLContent().