本文整理汇总了PHP中fs::_addfile方法的典型用法代码示例。如果您正苦于以下问题:PHP fs::_addfile方法的具体用法?PHP fs::_addfile怎么用?PHP fs::_addfile使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类fs
的用法示例。
在下文中一共展示了fs::_addfile方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: elseif
$text->set_br(0);
$myForm->add_text($text);
$myForm->add_select($mySelect);
$text = new CHAW_text('');
$text->set_br(0);
$myForm->add_text($text);
$theSubmission = new CHAW_submit('Salva', 'camila_save');
$myForm->add_submit($theSubmission);
$_CAMILA['page']->add_form($myForm);
} elseif ($_REQUEST['camila_export_action'] != '' && $_REQUEST['camila_export_action'] != 'download') {
if (!$_CAMILA['page']->camila_export_file_exists || $_REQUEST['camila_export_overwrite'] == 'y') {
if (CAMILA_FM_EXTFS_ENABLED) {
require_once 'fs.class.php';
global $_CAMILA;
$fs = new fs($_CAMILA['adm_user_group']);
$fs->_addfile($_CAMILA['adm_user_group'], $_REQUEST['camila_export_action'], substr($_CAMILA['camila_export_last_filename'], 0, -CAMILA_FM_PREFIX), $_CAMILA['camila_export_last_filename']);
}
if ($_REQUEST['camila_export_action'] == 'sendmail') {
$_CAMILA['page'] = new CHAW_deck(camila_get_translation('camila.export.sendmail.ok'), HAW_ALIGN_LEFT, HAW_OUTPUT_AUTOMATIC);
} else {
$_CAMILA['page'] = new CHAW_deck(camila_get_translation('camila.fm.filecreated'), HAW_ALIGN_LEFT, HAW_OUTPUT_AUTOMATIC);
}
$myImage1 = new HAW_image(CAMILA_IMG_DIR . 'wbmp/accept.wbmp', CAMILA_IMG_DIR . 'png/accept.png', '-');
$myImage1->set_br(0);
$_CAMILA['page']->add_image($myImage1);
if ($_REQUEST['camila_export_action'] == 'sendmail') {
$export_deck_title = new CHAW_text(' ' . camila_get_translation('camila.export.sendmail.ok'));
} else {
$export_deck_title = new CHAW_text(' ' . camila_get_translation('camila.fm.filecreated'));
}
$export_deck_title->set_br(2);