本文整理汇总了PHP中message::cp方法的典型用法代码示例。如果您正苦于以下问题:PHP message::cp方法的具体用法?PHP message::cp怎么用?PHP message::cp使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类message
的用法示例。
在下文中一共展示了message::cp方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: form
/**
* Menssages
* @author Rene Faustino Gabriel Junior (Analista-Desenvolvedor)
* @copyright © Pan American Health Organization, 2013. All rights reserved.
* @access public
* @version v.0.13.46
* @package Proethos
* @subpackage Menssages
*/
require 'cab.php';
require $include . 'sisdoc_debug.php';
global $acao, $dd, $cp, $tabela;
require $include . '_class_form.php';
$form = new form();
$cl = new message();
$cp = $cl->cp();
$tabela = $cl->tabela;
$http_edit = 'message_ed.php';
$http_redirect = '';
$tit = msg("titulo");
/** Comandos de Edicao */
echo '<CENTER><font class=lt5>' . msg($tabela) . '</font></CENTER>';
$tela = $form->editar($cp, $tabela);
/** Caso o registro seja validado */
if ($form->saved > 0) {
echo 'Salvo';
$cl->updatex();
redirecina('message.php');
} else {
echo '<table width="100%" class="lt1">';
echo '<tr valign="top">';
示例2: message
* @package Proethos
* @subpackage Menssages
*/
require "cab.php";
$file = '../messages/msg_message.php';
if (file_exists($file)) {
require $file;
}
$tp = new message();
//$tp->language_set('pt_BR');
global $acao, $dd, $cp, $tabela;
require $include . 'sisdoc_colunas.php';
//$sql = "delete from _messages where 1=1";
//$rlt = db_query($sql);
$clx = new message();
$cp = $clx->cp();
$tabela = $clx->tabela;
$label = msg("mensagens");
$http_edit = 'message_ed.php';
$http_ver = 'message_ed.php';
$editar = True;
//$http_ver = 'cliente_ver.php';
$http_redirect = 'message.php?dd98=' . $dd[98] . '&dd97=' . $dd[97];
$cdf = array('id_msg', 'msg_field', 'msg_language', 'msg_content');
$cdm = array('cod', msg('field'), msg('language'), msg('content'));
$masc = array('', '', '', '', '', '', '');
$busca = true;
$offset = 20;
//$pre_where = " e_mailing = '".$cl->mail_codigo."' ";
//$dd[97] = 'pt_BR';
if (strlen($dd[98]) > 0) {