本文整理汇总了PHP中include_lan函数的典型用法代码示例。如果您正苦于以下问题:PHP include_lan函数的具体用法?PHP include_lan怎么用?PHP include_lan使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了include_lan函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: __construct
function __construct()
{
include_lan(e_LANGUAGEDIR . e_LANGUAGE . '/lan_notify.php');
if (empty($this->notify_prefs)) {
$this->notify_prefs = e107::getConfig('notify')->getPref();
}
}
开发者ID:armpit,项目名称:e107,代码行数:7,代码来源:notify_class.php
示例2: listclass
/**
* constructor
*
* @param string $mode the mode of the caller (default, admin)
* @return void
*
*/
function listclass($mode = '')
{
global $TEMPLATE_LIST_NEW, $list_shortcodes;
$this->plugin_dir = e_PLUGIN . "list_new/";
$this->e107 = e107::getInstance();
//language
include_lan($this->plugin_dir . "languages/" . e_LANGUAGE . ".php");
//template
if (is_readable(THEME . "list_template.php")) {
require_once THEME . "list_template.php";
} else {
require_once $this->plugin_dir . "list_template.php";
}
$this->template = $TEMPLATE_LIST_NEW;
//shortcodes
require_once $this->plugin_dir . "list_shortcodes.php";
// $this->shortcodes = $list_shortcodes;
$this->shortcodes = new list_shortcodes();
$this->shortcodes->rc = $this;
if ($mode == 'admin') {
require_once $this->plugin_dir . "list_admin_class.php";
$this->admin = new list_admin($this);
}
//default sections (present in this list plugin)
$this->defaultArray = array("news", "comment", "members");
}
开发者ID:armpit,项目名称:e107,代码行数:33,代码来源:list_class.php
示例3: config
function config()
{
include_lan(e_PLUGIN . "download/languages/" . e_LANGUAGE . "/admin_download.php");
$cron = array();
$cron[] = array('name' => "Prune Download Log older than 12 months", 'function' => "pruneLog", 'category' => '', 'description' => "Non functional at the moment");
return $cron;
}
开发者ID:notzen,项目名称:e107,代码行数:7,代码来源:e_cron.php
示例4: e_linkwords
function e_linkwords()
{
global $pref, $admin_log;
/* constructor */
// Do an auto-update on the variable used to hook parsers - so we should only be called once
include_lan(e_PLUGIN . "linkwords/languages/" . e_LANGUAGE . ".php");
$hooks = explode(",", $pref['tohtml_hook']);
if (($key = array_search('linkwords', $hooks)) !== FALSE) {
unset($hooks[$key]);
}
if (count($hooks) == 0) {
unset($pref['tohtml_hook']);
} else {
$pref['tohtml_hook'] = implode(',', $hooks);
}
if (!isset($pref['e_tohtml_list'])) {
$pref['e_tohtml_list'] = array();
}
if (!in_array('linkwords', $pref['e_tohtml_list'])) {
$pref['e_tohtml_list'][] = 'linkwords';
}
save_prefs();
$admin_log->log_event('LINKWD_05', LWLAN_58 . '[!br!]' . $pref['tohtml_hook'], '');
// Log that the update was done
return;
}
开发者ID:notzen,项目名称:e107,代码行数:26,代码来源:linkwords.php
示例5: forum_post_rep
function forum_post_rep($data)
{
$e107 = e107::getInstance();
include_lan(e_PLUGIN . 'forum/languages/' . e_LANGUAGE . '/lan_forum_notify.php');
$message = 'todo';
$e107->notify->send('forum_post_rep', FORUM_NT_9, $message);
}
开发者ID:notzen,项目名称:e107,代码行数:7,代码来源:e_notify.php
示例6: __construct
function __construct()
{
if (E107_DEBUG_LEVEL > 0) {
$this->logging = true;
}
include_lan(e_LANGUAGEDIR . e_LANGUAGE . '/admin/lan_image.php');
}
开发者ID:KonzolozZ,项目名称:e107,代码行数:7,代码来源:media_class.php
示例7: print_item
function print_item($id)
{
global $tp, $pref;
global $content_pref, $mainparent, $aa, $row, $content_image_path;
$con = new convert();
require_once e_PLUGIN . "content/handlers/content_class.php";
$aa = new content();
require_once e_PLUGIN . "content/content_shortcodes.php";
include_lan(e_PLUGIN . "content/languages/" . e_LANGUAGE . "/lan_content.php");
if (!is_object($sql)) {
$sql = new db();
}
$sql->db_Select($plugintable, "content_id, content_heading, content_subheading, content_text, content_author, content_image, content_parent, content_datestamp, content_class", "content_id='" . intval($id) . "' ");
$row = $sql->db_Fetch();
if (!check_class($row['content_class'])) {
header("location:" . e_PLUGIN . "content/content.php");
exit;
}
$row['content_heading'] = $tp->toHTML($row['content_heading']);
$row['content_subheading'] = $tp->toHTML($row['content_subheading']);
$row['content_text'] = $tp->replaceConstants($row['content_text']);
$row['content_text'] = preg_replace("/\\{EMAILPRINT\\}|\\[newpage(?:\\=.*?){0,1}\\]/", "", $tp->toHTML($row['content_text'], TRUE));
$authordetails = $aa->getAuthor($row['content_author']);
$row['content_datestamp'] = $con->convert_date($row['content_datestamp'], "long");
$mainparent = $aa->getMainParent($id);
$content_pref = $aa->getContentPref($mainparent);
$content_icon_path = $tp->replaceConstants($content_pref["content_icon_path"]);
$content_image_path = $tp->replaceConstants($content_pref["content_image_path"]);
$img = $tp->parseTemplate('{CONTENT_PRINT_IMAGES}', FALSE, $content_shortcodes);
$text = "\n\t\t<b>" . $row['content_heading'] . "</b>\n\t\t<br />\n\t\t" . $row['content_subheading'] . "\n\t\t<br />\n\t\t" . $authordetails[1] . ", " . $row['content_datestamp'] . "\n\t\t<br /><br />\n\t\t<div style='float:left; padding-right:10px;'>" . $img . "</div>\n\t\t" . $row['content_text'] . "\n\t\t<br /><br /><hr />\n\t\t" . CONTENT_EMAILPRINT_LAN_1 . " " . SITENAME . "\n\t\t<br />\n\t\t( " . SITEURLBASE . e_PLUGIN_ABS . "content/content.php?content." . $row['content_id'] . " ) \n\t\t";
require_once e_HANDLER . 'bbcode_handler.php';
$e_bb = new e_bbcode();
$text = $e_bb->parseBBCodes($text, '');
return $text;
}
开发者ID:Jimmi08,项目名称:content,代码行数:35,代码来源:e_emailprint.php
示例8: notify_cboxpost
function notify_cboxpost($data)
{
global $nt;
include_lan(e_PLUGIN . "chatbox_menu/languages/" . e_LANGUAGE . "/" . e_LANGUAGE . ".php");
$message = NT_LAN_CB_3 . ': ' . USERNAME . ' (' . NT_LAN_CB_4 . ': ' . $data['ip'] . ' )<br />';
$message .= NT_LAN_CB_5 . ':<br />' . $data['cmessage'] . '<br /><br />';
$nt->send('cboxpost', NT_LAN_CB_6, $message);
}
开发者ID:notzen,项目名称:e107,代码行数:8,代码来源:e_notify.php
示例9: notify_ecaledit
function notify_ecaledit($data)
{
global $nt;
include_lan(e_PLUGIN . 'calendar_menu/languages/' . e_LANGUAGE . '.php');
$message = NT_LAN_EC_3 . ': ' . USERNAME . ' (' . NT_LAN_EC_4 . ': ' . $data['ip'] . ' )<br />';
$message .= NT_LAN_EC_5 . ':<br />' . $data['cmessage'] . '<br /><br />';
$nt->send('ecaledit', NT_LAN_EC_8, $message);
}
开发者ID:notzen,项目名称:e107,代码行数:8,代码来源:e_notify.php
示例10: notify_linksub
function notify_linksub($data)
{
global $nt, $_lanfile;
include_lan(e_PLUGIN . "links_page/languages/" . e_LANGUAGE . ".php");
foreach ($data as $key => $value) {
$message .= $key . ': ' . $value . '<br />';
}
$nt->send('linksub', NT_LAN_LP_3, $message);
}
开发者ID:notzen,项目名称:e107,代码行数:9,代码来源:e_notify.php
示例11: notify
function notify()
{
global $e_event;
$this->notify_prefs = e107::getConfig("notify")->getPref();
if (varset($this->notify_prefs['event'])) {
foreach ($this->notify_prefs['event'] as $id => $status) {
if ($status['class'] != 255) {
$e_event->register($id, 'notify_' . $id);
}
}
}
include_lan(e_LANGUAGEDIR . e_LANGUAGE . '/lan_notify.php');
}
开发者ID:notzen,项目名称:e107,代码行数:13,代码来源:notify_class.php
示例12: e_userprofile_links_page
function e_userprofile_links_page()
{
global $qs, $sql, $tp;
$id = intval($qs[1]);
include_lan(e_PLUGIN . "links_page/languages/" . e_LANGUAGE . ".php");
// Need the LAN file in some places even if no links found
$qry = "\n\t\tSELECT l.*, lc.*\n\t\tFROM #links_page AS l\n\t\tLEFT JOIN #links_page_cat AS lc ON lc.link_category_id = l.link_category\n\t\tWHERE l.link_author = '" . $id . "'\n\t\tORDER BY l.link_name";
$qry1 = $qry . " LIMIT 0,3";
$text = '';
$total = $sql->db_Select_gen($qry);
if ($sql->db_Select_gen($qry1)) {
while ($row = $sql->db_Fetch()) {
$LINK_APPEND = "<a class='linkspage_url' href='" . $row['link_url'] . "' onclick=\"open_window('" . e_PLUGIN . "links_page/links.php?view." . $row['link_id'] . "','full');return false;\" >";
$icon = $LINK_APPEND . "<img class='linkspage_button' style='width:50px; height:50px;' src='" . e_PLUGIN . "links_page/images/blank.gif' alt='' /></a>";
if ($row['link_button']) {
if (strpos($row['link_button'], "http://") !== FALSE) {
$icon = $LINK_APPEND . "<img class='linkspage_button' src='" . $row['link_button'] . "' alt='' /></a>";
} else {
if (strstr($row['link_button'], "/")) {
if (is_readable(e_BASE . $row['link_button'])) {
$icon = $LINK_APPEND . "<img class='linkspage_button' style='width:50px; height:50px;' src='" . e_BASE . $row['link_button'] . "' alt='' /></a>";
}
} else {
if (is_readable(e_PLUGIN . "links_page/link_images/" . $row['link_button'])) {
$icon = $LINK_APPEND . "<img class='linkspage_button' style='width:50px; height:50px;' src='" . e_PLUGIN . "links_page/link_images/" . $row['link_button'] . "' alt='' /></a>";
}
}
}
}
$date = strftime("%d %b %Y", $row['link_datestamp']);
$heading = $row['link_name'] ? $LINK_APPEND . $tp->toHTML($row['link_name'], TRUE) . "</a><br />" : '';
$text .= "\n\t\t\t\t<div style='clear:both; padding-bottom:10px;'>\n\t\t\t\t\t<div style='float:left; padding-bottom:10px;'>" . $icon . "</div> \n\t\t\t\t\t<div style='margin-left:60px; padding-bottom:10px;'>\n\t\t\t\t\t\t" . $heading . "\n\t\t\t\t\t\t<span class='smalltext'>" . $date . "</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>";
}
$text .= "<div style='clear:both; padding-bottom:10px;'><a href='" . e_PLUGIN . "links_page/links.php'>" . LCLAN_USERPROFILE_1 . "</a></div>";
}
$caption = str_replace('{total}', $total, LCLAN_USERPROFILE_2);
return array('caption' => $caption, 'text' => $text);
}
开发者ID:notzen,项目名称:e107,代码行数:38,代码来源:e_userprofile.php
示例13: include_lan
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $URL$
* $Id$
*/
$eplug_admin = true;
require_once '../../class2.php';
include_lan(e_PLUGIN . 'forum/languages/' . e_LANGUAGE . '/lan_forum_admin.php');
if (!getperms('P')) {
header('location:' . e_BASE . 'index.php');
exit;
}
$e_sub_cat = 'forum';
require_once e_ADMIN . 'auth.php';
require_once e_HANDLER . 'userclass_class.php';
require_once e_HANDLER . 'form_handler.php';
require_once e_HANDLER . 'ren_help.php';
require_once e_PLUGIN . 'forum/forum_class.php';
require_once e_PLUGIN . 'forum/forum_admin_class.php';
$emessage = eMessage::getInstance();
$rs = new form();
$for = new e107forum();
$forum = new forumAdmin();
开发者ID:notzen,项目名称:e107,代码行数:30,代码来源:forum_admin.php
示例14: include_lan
*/
/**
* @package e107
* @subpackage admin
* @version $Id$;
*
* Update routines from older e107 versions to current.
*
* Also links to plugin update routines.
*
* 2-stage process - routines identify whether update is required, and then execute as instructed.
*/
// [debug=8] shows the operations on major table update
require_once '../class2.php';
require_once e_HANDLER . 'db_table_admin_class.php';
include_lan(e_LANGUAGEDIR . e_LANGUAGE . '/admin/lan_e107_update.php');
// Modified update routine - combines checking and update code into one block per function
// - reduces code size typically 30%.
// - keeping check and update code together should improve clarity/reduce mis-types etc
// @todo: how do we handle update of multi-language tables?
// If following line uncommented, enables a test routine
// define('TEST_UPDATE',TRUE);
$update_debug = TRUE;
// TRUE gives extra messages in places
//$update_debug = TRUE; // TRUE gives extra messages in places
if (defined('TEST_UPDATE')) {
$update_debug = TRUE;
}
if (!defined('LAN_UPDATE_8')) {
define('LAN_UPDATE_8', '');
}
开发者ID:hgz5w,项目名称:e107,代码行数:31,代码来源:update_routines.php
示例15: show_tools
function show_tools()
{
$frm = e107::getForm();
$mes = e107::getMessage();
include_lan(e_LANGUAGEDIR . e_LANGUAGE . "/admin/lan_lancheck.php");
show_packs();
//return;
if (e_DEVELOPER !== true) {
return false;
}
lanDeveloper::form();
/*
$text = "
<form id='core-language-lancheck-form' method='post' action='".e_SELF."?tools'>
<fieldset id='core-language-lancheck'>
<legend class='e-hideme'>".LAN_CHECK_1."</legend>
<table class='table adminform'>
<colgroup>
<col class='col-label' />
<col class='col-control' />
</colgroup>
<tbody>
<tr>
<td>".LAN_CHECK_1."</td>
<td class='form-inline'>
<select name='language'>
<option value=''>".LAN_SELECT."</option>";
$languages = explode(",", e_LANLIST);
sort($languages);
foreach ($languages as $lang)
{
if ($lang != "English")
{
$text .= "
<option value='{$lang}' >{$lang}</option>
";
}
}
$text .= "</select>".
$frm->admin_button('language_sel','no-value','other',LAN_CHECK_2)."
</td>
</tr>
</tbody>
</table>
</fieldset>
</form>";
*/
}
开发者ID:gitye,项目名称:e107,代码行数:48,代码来源:language.php
示例16: include_lan
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* Plugin - newsfeeds
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/newsfeed/e_frontpage.php,v $
* $Revision$
* $Date$
* $Author$
*
*/
if (!defined('e107_INIT')) {
exit;
}
if (!plugInstalled('newsfeed')) {
return;
}
include_lan(e_PLUGIN . 'newsfeed/languages/' . e_LANGUAGE . '_frontpage.php');
$front_page['newsfeed']['title'] = NWSF_FP_1 . ': ' . $row['content_heading'];
$front_page['newsfeed']['page'][] = array('page' => $PLUGINS_DIRECTORY . 'newsfeed/newsfeed.php', 'title' => NWSF_FP_2);
if ($sql->db_Select("newsfeed", "newsfeed_id, newsfeed_name")) {
while ($row = $sql->db_Fetch()) {
$front_page['newsfeed']['page'][] = array('page' => $PLUGINS_DIRECTORY . 'newsfeed/newsfeed.php?show.' . $row['newsfeed_id'], 'title' => $row['newsfeed_name']);
}
}
开发者ID:notzen,项目名称:e107,代码行数:31,代码来源:e_frontpage.php
示例17: Bouve
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/blogcalendar_menu/archive.php,v $
* $Revision$
* $Date$
* $Author$
*/
/*
| Based on code by: Thomas Bouve ([email protected])
*/
require_once "../../class2.php";
require_once e_HANDLER . "userclass_class.php";
include_lan(e_PLUGIN . "blogcalendar_menu/languages/" . e_LANGUAGE . ".php");
require_once "calendar.php";
require_once "functions.php";
require_once HEADERF;
// ---------------------
// initialize some cruft
// ---------------------
$bcSql = new db();
$prefix = e_PLUGIN_ABS . "blogcalendar_menu";
$marray = e107::getDate()->terms('month');
// if nr of rows per month is not set, default to 3
$months_per_row = !empty($pref['blogcal_mpr']) ? $pref['blogcal_mpr'] : "3";
$pref['blogcal_ws'] = "monday";
// -------------------------------------
// what year are we supposed to display?
// -------------------------------------
开发者ID:armpit,项目名称:e107,代码行数:31,代码来源:archive.php
示例18: header
//define('CSV_DEBUG', TRUE);
require_once '../../class2.php';
if (!getperms('P')) {
header('Location: ' . e_BASE . 'index.php');
exit;
}
if (e_QUERY) {
$sl_qs = explode('.', e_QUERY);
}
$action = varset($sl_qs[0], 'config');
$params = varset($sl_qs[1], '');
if ($action != 'export' || $params) {
header('Location: ' . e_BASE . 'index.php');
exit;
}
include_lan(e_PLUGIN . 'log/languages/' . e_LANGUAGE . '_admin_log.php');
// LANs may be needed for error messages
// List of the non-page-based info which is gathered - historically only 'all-time' stats, now we support monthly as well. (Here, only keys are used for validation)
$stats_list = array('statBrowser' => ADSTAT_L6, 'statOs' => ADSTAT_L7, 'statScreen' => ADSTAT_L8, 'statDomain' => ADSTAT_L9, 'statReferer' => ADSTAT_L10, 'statQuery' => ADSTAT_L11);
$separator_char = array(1 => ',', 2 => '|');
$quote_char = array(1 => '', 2 => "'", 3 => '"');
//---------------------------------------------
// Export data file
//---------------------------------------------
$export_filter = '';
// can be 'LIKE', 'REGEX', or simple equality
$export_type = $tp->toDB(varset($_POST['export_type'], 'page'));
// Page data or one of the other bits of info
$export_date = intval(varset($_POST['export_date'], 1));
$export2_date = intval(varset($_POST['export2_date'], 3));
$export_year = intval(varset($_POST['export_year'], date('Y')));
开发者ID:armpit,项目名称:e107,代码行数:31,代码来源:stats_csv.php
示例19: header
/*
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*/
require_once '../../class2.php';
if (!getperms('1')) {
header('location:' . e_BASE . 'index.php');
exit;
}
require_once e_HANDLER . 'userclass_class.php';
include_lan(e_PLUGIN . 'newforumposts_main/languages/' . e_LANGUAGE . '.php');
require_once e_ADMIN . 'auth.php';
$frm = e107::getForm();
$mes = e107::getMessage();
if (isset($_POST['updatesettings'])) {
$pref['nfp_display'] = intval($_POST['nfp_display']);
$pref['nfp_caption'] = $tp->toDB($_POST['nfp_caption']);
$pref['nfp_amount'] = intval($_POST['nfp_amount']);
$pref['nfp_layer'] = intval(vartrue($_POST['nfp_layer']));
$pref['nfp_posts'] = intval(vartrue($_POST['nfp_posts']));
$pref['nfp_layer_height'] = intval($_POST['nfp_layer_height'] ? $_POST['nfp_layer_height'] : 200);
save_prefs();
}
$ns->tablerender($caption, $mes->render() . $text);
$text = "\n\t<form method='post' action='" . e_SELF . "?" . e_QUERY . "' id='menu_conf_form'>\n\t<table class='table adminform'>\t \n\t<colgroup span='2'>\n\t\t<col class='col-label' />\n\t\t<col class='col-control' />\n\t</colgroup>\n\t<tr>\n\t\t<td>" . NFPM_L4 . "</td>\n\t\t<td>" . $frm->select('nfp_display', array(0 => NFPM_L5, 1 => NFPM_L6, 2 => NFPM_L7), $pref['nfp_display']) . "</td>\n\t</tr>\n\t<tr>\n\t\t<td>" . NFPM_L8 . ":</td>\n\t\t<td>" . $frm->text('nfp_caption', $pref['nfp_caption'], '100', array('class' => 'tbox input-text span3')) . "</td>\n\t</tr>\n\t<tr>\n\t\t<td>" . NFPM_L9 . ": </td>\n\t\t<td>" . $frm->text('nfp_amount', $pref['nfp_amount'], '3') . "</td>\n\t</tr>\t \n\t<tr>\n\t\t<td>" . NFPM_L14 . "</td>\n\t\t<td>" . $frm->radio_switch('nfp_posts', $pref['nfp_posts'], LAN_YES, LAN_NO) . "<span class='field-help'>" . NFPM_L15 . "</span></td>\n\t</tr>\t \n\t<tr>\n\t\t<td>" . NFPM_L10 . "</td>\n\t\t<td>" . $frm->radio_switch('nfp_layer', $pref['nfp_layer'], LAN_YES, LAN_NO) . "<br />\n\t\t" . NFPM_L11 . ": " . $frm->text('nfp_layer_height', $pref['nfp_layer_height'], '3') . "</td>\n\t</tr>\n\t</table>\n\t<div class='buttons-bar center'>\n\t\t" . $frm->admin_button('updatesettings', LAN_UPDATE, 'update') . "\n\t</div>\n\t</form>";
$ns->tablerender(NFPM_L12, $text);
开发者ID:armpit,项目名称:e107,代码行数:30,代码来源:admin_config.php
示例20: define
1. Look at using disc cache
2. More detailed check on image paths
*/
// Debug option - adds entries to rolling log (only works in 0.8)
//define ('PDF_DEBUG', TRUE);
define('PDF_DEBUG', FALSE);
define('K_PATH_MAIN', '');
define('K_PATH_URL', SITEURL);
// Used with forms (TODO: check validity)
/*
The full tcpdf distribution includes a utility to generate new fonts, as well as lots of other fonts.
It can be downloaded from: http://sourceforge.net/projects/tcpdf/
*/
require_once e_PLUGIN . 'pdf/tcpdf.php';
//require the ufpdf class
include_lan(e_PLUGIN . 'pdf/languages/' . e_LANGUAGE . '_admin_pdf.php');
//extend tcpdf class from package with custom functions
class e107PDF extends TCPDF
{
protected $pdfPrefs = array();
// Prefs - loaded before creating a pdf
/**
* Constructor
* @param string $orientation page orientation. Possible values are (case insensitive):<ul><li>P or Portrait (default)</li><li>L or Landscape</li></ul>
* @param string $unit User measure unit. Possible values are:<ul><li>pt: point</li><li>mm: millimeter (default)</li><li>cm: centimeter</li><li>in: inch</li></ul><br />A point equals 1/72 of inch, that is to say about 0.35 mm (an inch being 2.54 cm). This is a very common unit in typography; font sizes are expressed in that unit.
* @param mixed $format The format used for pages. It can be either one of the following values (case insensitive) or a custom format in the form of a two-element array containing the width and the height (expressed in the unit given by unit).<ul><li>4A0</li><li>2A0</li><li>A0</li><li>A1</li><li>A2</li><li>A3</li><li>A4 (default)</li><li>A5</li><li>A6</li><li>A7</li><li>A8</li><li>A9</li><li>A10</li><li>B0</li><li>B1</li><li>B2</li><li>B3</li><li>B4</li><li>B5</li><li>B6</li><li>B7</li><li>B8</li><li>B9</li><li>B10</li><li>C0</li><li>C1</li><li>C2</li><li>C3</li><li>C4</li><li>C5</li><li>C6</li><li>C7</li><li>C8</li><li>C9</li><li>C10</li><li>RA0</li><li>RA1</li><li>RA2</li><li>RA3</li><li>RA4</li><li>SRA0</li><li>SRA1</li><li>SRA2</li><li>SRA3</li><li>SRA4</li><li>LETTER</li><li>LEGAL</li><li>EXECUTIVE</li><li>FOLIO</li></ul>
* @param boolean $unicode TRUE means that the input text is unicode (default = true)
* @param boolean $diskcache if TRUE reduce the RAM memory usage by caching temporary data on filesystem (slower).
* @param String $encoding charset encoding; default is UTF-8
*/
public function __construct($orientation = 'P', $unit = 'mm', $format = 'A4', $unicode = true, $encoding = 'UTF-8', $diskcache = false)
开发者ID:notzen,项目名称:e107,代码行数:31,代码来源:e107pdf.php
注:本文中的include_lan函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论