本文整理汇总了PHP中Tasks::EditTask方法的典型用法代码示例。如果您正苦于以下问题:PHP Tasks::EditTask方法的具体用法?PHP Tasks::EditTask怎么用?PHP Tasks::EditTask使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Tasks
的用法示例。
在下文中一共展示了Tasks::EditTask方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<div class="profile_box1" ><?php
echo $em->erpContactScreenCustom($em->GetContactID());
?>
</div>
<?php
echo $secure->creditcard_box('contacts', $em->GetContactID());
?>
<h4>Tasks</h4>
<div class="form_main">
<div id="task_area" class="small_text">
<?php
echo $task->GetTaskForProjectProfile('', '', '', '', '', '', '', 1, 'TBL_CONTACT', $em->GetContactID());
if ($_POST['save_edit'] == 'Save') {
$task->EditTask('server', $_POST['task_id'], 'task', $em->GetContactID());
}
?>
</div>
</div>
<div class="data_box">
<?php
echo $em->GetContactProfile($em->GetContactID());
?>
</div>
<?php
if ($open_task == "yes") {
?>
<script type="text/javascript">
示例2:
</div>
</div>
<?php
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
// **********************Start code for Info Column ****************************//
?>
<div id="Add_Edit_Task" class="form_bg">
<?
//print_r($_POST);
$task->AddTask('server');
if($_POST['Save']=='Add this Task')
$task->AddTask('server');
else
$task->AddTask('local');
if($_POST['save_edit']=='Save')
$task->EditTask('server',$_POST['task_id']);
?>
<div class="Clear "> </div>
</div>
<?php
$page->displayPageBottom();
示例3:
}});">add Todo</a><br />
<?php
if ($_REQUEST['Save_ORDER'] == 'Add this Task') {
echo $workorder->addTodo('ORDER', 'order.php', 'order_id', $_REQUEST[order_id], '', 'server');
}
?>
</div>
<div class="form_bg" style="display:none;" id="task_form"></div>
<div id="task_area" style="background-color:#CCCCCC">
<?php
echo $task->GetTaskForProjectProfile('', '', '', '', '', '', '', 1, 'ORDER', $_REQUEST[order_id]);
if ($_REQUEST['save_edit'] == 'Save') {
echo $task->EditTask('server', $_SESSION['task_id'], 'task', 'order_profile');
}
?>
</div>
<div style="background-color:#CCCCCC">
<?php
echo $workorder->FlowChartDiv("order", $_REQUEST[order_id]);
?>
</div>
</div>
<div id="div_list_global_task"><?php
//echo $global_task->taskPreviewUser($project_id,'Project',$page->auth->Get_user_id());
?>
</div>
<div style="background-color:#E9E9E9">
示例4:
// $task->Get_Tag($_REQUEST[module_id],'display_tag');
?>
</div>
</div>
<div class="form_main">
<div class="textb" id="task_area"><?php
echo $task->GetTask();
?>
</div>
</div>
<?php
// **********************Closes the Content Column and begins Info Column ****************************//
$page->printContentColumnEnd();
// **********************Start code for Info Column ****************************//
?>
<div class="form_bg">
<?
if($_POST['Save']=='Save')
$task->EditTask('server',$_REQUEST[task_id]);
else
$task->EditTask('local',$_REQUEST[task_id]);
?>
<div class="Clear "> </div>
</div>
<?php
$page->displayPageBottom();