CiteProc - PHP
A PHP implementation of the CSL citation processor "CiteProc"
|
Public Member Functions | |
__construct ($csl=NULL, $lang= 'en') | |
init ($csl, $lang) | |
render ($data) | |
render_macro ($name, $data, $mode) | |
get_locale ($type, $arg1, $arg2=NULL, $arg3=NULL) | |
map_field ($field) | |
map_type ($field) | |
Data Fields | |
$bibliography | |
$citation | |
$style | |
Protected Attributes | |
$macros | |
$locale | |
$style_locale |
CiteProc-PHP
Copyright (C) 2010 Ron Jerome, all rights reserved
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Definition at line 23 of file CiteProc.php.
__construct | ( | $ | csl = NULL , |
$ | lang = 'en' |
||
) |
Definition at line 33 of file CiteProc.php.
get_locale | ( | $ | type, |
$ | arg1, | ||
$ | arg2 = NULL , |
||
$ | arg3 = NULL |
||
) |
Definition at line 92 of file CiteProc.php.
init | ( | $ | csl, |
$ | lang | ||
) |
Definition at line 39 of file CiteProc.php.
map_field | ( | $ | field | ) |
Definition at line 96 of file CiteProc.php.
map_type | ( | $ | field | ) |
Definition at line 102 of file CiteProc.php.
render | ( | $ | data | ) |
Definition at line 81 of file CiteProc.php.
render_macro | ( | $ | name, |
$ | data, | ||
$ | mode | ||
) |
Definition at line 88 of file CiteProc.php.
$bibliography |
Definition at line 24 of file CiteProc.php.
$citation |
Definition at line 25 of file CiteProc.php.
$locale [protected] |
Definition at line 29 of file CiteProc.php.
$macros [protected] |
Definition at line 27 of file CiteProc.php.
$style |
Definition at line 26 of file CiteProc.php.
$style_locale [protected] |
Definition at line 30 of file CiteProc.php.