本文整理匯總了PHP中project::get_selectable_projects方法的典型用法代碼示例。如果您正苦於以下問題:PHP project::get_selectable_projects方法的具體用法?PHP project::get_selectable_projects怎麽用?PHP project::get_selectable_projects使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類project
的用法示例。
在下文中一共展示了project::get_selectable_projects方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: tep_draw_form
echo TEXT_ACTIVITY_ENTRY_NO_DATE_SELECTED;
}
?>
</td>
</tr>
<tr>
<td class="item_entry">
<?php
echo TEXT_ACTIVITY_PROJECTNAME;
?>
</td>
<td class="item_entry">
<?php
echo tep_draw_form('project_selection', tep_href_link(FILENAME_TIMEREGISTRATION)) . tep_create_parameters(array('action' => 'select_role'), array('mPath', 'period', 'sort_order', 'selected_date', 'activity_id'), 'hidden_field');
if ($_POST['action'] == 'select_project' || $_POST['action'] == 'select_role' || $_POST['action'] == 'enter_data' || $_POST['action'] == 'save_data') {
echo tep_html_select('projects_id', tep_get_partial_array(project::get_selectable_projects($_SESSION['employee']->id, tep_strftime('%Y-%m-%d', $_POST['selected_date'])), 'projects_id', 'projects_name'), TRUE, $_POST['projects_id']);
} else {
echo tep_html_select('projects_id', array(), FALSE);
}
?>
</form>
</td>
</tr>
<tr>
<td class="item_entry">
<?php
echo TEXT_ACTIVITY_ROLENAME;
?>
</td>
<td class="item_entry">
<?php