本文整理汇总了PHP中Note::Create_Note方法的典型用法代码示例。如果您正苦于以下问题:PHP Note::Create_Note方法的具体用法?PHP Note::Create_Note怎么用?PHP Note::Create_Note使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Note
的用法示例。
在下文中一共展示了Note::Create_Note方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: if
<div class="contact_form">
<div class="profile_box1" id="div_doc" style="font-weight:bold;">
<a style="color:#FF0000; font-size:15px;" onclick="javascript: if(this.innerHTML=='-'){
this.innerHTML = '+';
document.getElementById('note_div').style.visibility = 'hidden';
}
else {
this.innerHTML = '+';
document.getElementById('note_div').style.visibility = 'visible';
this.innerHTML = '-';
} ">-</a> Note</div></div>
<?php
?>
<div class="Clear" id="note_div" style="visibility:visible"><?php
if ($_POST[submit] == 'add message') {
$note->Create_Note('server', $_REQUEST[project_id], 'Project', $page->auth->Get_user_id());
exit;
} else {
$note->Create_Note('local', $_REQUEST[project_id], 'Project', $page->auth->Get_user_id());
}
?>
</div>
</div>
<?php
echo $note->Get_Note($_REQUEST[project_id], 'Project');
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
// **********************Start code for Info Column ****************************//
/*?><a href="javascript:void(0);" id="task_link" onclick="document.getElementById('task_form').style.display=''; this.style.display='none'; return false;"><img src="images/add_task.png" class="action_links" /></a><br />
<div class="form_bg" style="display:none;" id="task_form">
示例2:
<?php */
?>
<?php
if (PHONE_SYSTEM == "asterisk") {
$asterisk->display_call_rec($em->get_contact_phone($em->GetContactID()), "5");
}
?>
</div></div></div>
<?php
?>
<div class="Clear"><?php
if ($_POST[submit] == 'add message') {
$note->Create_Note('server', $em->GetContactID(), $contact->module, $page->auth->Get_user_id());
exit;
} else {
$note->Create_Note('local', $em->GetContactID(), $contact->module, $page->auth->Get_user_id());
}
?>
</div>
<div>
<?php
echo $note->Get_Note($em->GetContactID(), $contact->module);
?>
</div>
<?php
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
示例3:
?>
" />
<div id="div_event" class="" style="display:none;"></div>
<div id="div_event" class="" style="display:none;"></div>
<div id="prl" style="visibility:hidden;"><img id="prl_image" src="images/spinner.gif" /></div>
<div id="content_column_header" >Projects</div>
<div class="form_main">
<div>My Projects</div>
<div id="basic"></div>
</div>
<div>Project Notes</div>
<?php
if ($_POST["submit"] == 'add message') {
$note->Create_Note('server', $project_id, "PROJECTS", $page->auth->Get_user_id());
exit;
} else {
$note->Create_Note('local', $project_id, "PROJECTS", $page->auth->Get_user_id());
}
echo $note->Get_Note($project_id, "PROJECTS");
$page->printContentColumnEnd();
?>
<div>Project Users <a href="#" onclick="<?php
echo $yui->show_panel('addUser');
?>
" >Edit Users</a></div>
<div id="projectUsers"></div>
<div style="height: 15px"> </div>
<div>Project Links<a href="#" onclick="<?php
echo $yui->show_panel('addLink');
示例4:
<div id="task_area" class="small_text"><?php echo $task->GetTaskForProjectProfile('','','','','','','',1,'TBL_CONTACT','11059'); ?></div>
</div>
<h4>Task Stats</h4>
<div class="form_main">
<div id="task_area" class="small_text"><?php //echo $global_task->show_predict(); ?></div>
</div>
<h4>Documents</h4><div style="height:auto" id="show_doc">
<iframe src="upload_doc.php?action=show" frameborder="0" scrolling="yes" height="100%" width="100%" style="padding: 0px 0px 0px 0px"></iframe>
</div>
<?php */
?>
<div style="width:68%;">
<?php
if ($_POST[submit] == 'add message') {
$note->Create_Note('server', $_SESSION['order_id'], 'ORDER', $page->auth->Get_user_id());
exit;
} else {
$note->Create_Note('local', $_SESSION['order_id'], 'ORDER', $page->auth->Get_user_id());
}
?>
</div>
<div><?php
echo $note->Get_Note($_SESSION['order_id'], 'ORDER');
?>
</div>
<?php
$page->displayPageBottom();
} else {
?>
示例5: secure
require_once 'app_code/config.inc.php';
require_once 'class/class.contacts.php';
require_once 'app_code/zipcode.class.php';
require_once 'app_code/class.Event_Contacts.php';
require_once 'class/class.note.php';
require_once 'class/class.tasks.php';
require_once 'app_code/global.config.php';
require_once 'app_code/class.CertificationType.php';
require_once 'app_code/class.application.php';
require_once 'app_code/class.Event.php';
require_once 'class/class.securenote.php';
$secure = new secure();
if (PHONE_SYSTEM == "asterisk") {
require_once 'class/class.asterisk.php';
$asterisk = new Asterisk();
}
$contact_id = $vars['contact_id'];
$em = new Event_Contacts();
$em->SetContactID($contact_id);
$contact = new Contacts();
$evt = new Event();
$page = new basic_page();
$note = new Note();
$task = new Tasks();
$notify = new Notification();
$cert = new Certification_Type();
$app = new Application();
$dynamic_page = new dynamic_page();
$note->Create_Note('server', '', '', $_SESSION['user_id']);