本文整理汇总了PHP中HtmlInput::button_action_add_concerned_card方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlInput::button_action_add_concerned_card方法的具体用法?PHP HtmlInput::button_action_add_concerned_card怎么用?PHP HtmlInput::button_action_add_concerned_card使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlInput
的用法示例。
在下文中一共展示了HtmlInput::button_action_add_concerned_card方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _
</td>
</Tr>
<?php
if ($this->ag_id > 0) {
?>
<tr>
<td>
<?php
echo _('Autres concernés');
?>
</td>
<td id="concerned_card_td">
<?php
echo $this->display_linked();
if ($g_user->can_write_action($this->ag_id) == true) {
echo HtmlInput::button_action_add_concerned_card($this->ag_id);
}
?>
</td>
<td>
</td>
</tr>
<?php
}
?>
</table>
<?php
if ($p_view != 'READ') {
echo $str_add_button;
}
示例2: die
* You should have received a copy of the GNU General Public License
* along with NOALYSS; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
// Copyright 2014 Author Dany De Bontridder danydb@aevalys.eu
if (!defined('ALLOWED')) {
die('Appel direct ne sont pas permis');
}
$ag_id = HtmlInput::default_value_get("ag_id", "0");
$f_id = HtmlInput::default_value_get("f_id", "0");
if ($ag_id == 0 || $f_id == 0) {
throw new Exception("Invalid values", 0);
}
require_once 'class_follow_up.php';
$follow = new Follow_Up($cn, $ag_id);
ob_start();
$follow->remove_linked_card($f_id);
echo $follow->display_linked();
HtmlInput::button_action_add_concerned_card($follow->ag_id);
$response = ob_get_clean();
$html = escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF
<?xml version="1.0" encoding="UTF-8"?>
<data>
<ctl>unused</ctl>
<code>{$html}</code>
</data>
EOF;
?>