本文整理匯總了PHP中path::findAll_searchPaths方法的典型用法代碼示例。如果您正苦於以下問題:PHP path::findAll_searchPaths方法的具體用法?PHP path::findAll_searchPaths怎麽用?PHP path::findAll_searchPaths使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類path
的用法示例。
在下文中一共展示了path::findAll_searchPaths方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: path
<?php
$hideContextMenu = true;
global $s;
if (!empty($_GET['class_name']) && !empty($_GET['report_name'])) {
$class_names = $_GET['class_name'];
$report_name = $_GET['report_name'];
// $label = $_GET['label'];
$_GET['mode'] = 2;
} else {
$class_names[] = 'path';
include_once "includes/functions/loader.inc";
$path = new path();
$all_search_paths = $path->findAll_searchPaths();
$search_result_statement = "";
$search_result_statement .= "<table class=\"first_table normal\"><thead><tr>";
$search_result_statement .= '<th> Module </th>';
$search_result_statement .= '<th> Search Details </th>';
$search_result_statement .= '</tr></thead>';
if (!empty($all_search_paths)) {
$search_result_statement .= '<tbody>';
foreach ($all_search_paths as $key => $module_group) {
$search_result_statement .= ' <tr class="major_row"><td>' . $key . '</td><td><table class="second">';
foreach ($module_group as $paths) {
$search_result_statement .= '<tr class="minor_row">';
$search_result_statement .= '<td>' . $paths->name . '</td>';
$search_result_statement .= '<td>' . $paths->description . '</td>';
$search_result_statement .= '<td><a href="' . HOME_URL . $paths->path_link . '">' . HOME_URL . $paths->path_link . '</a></td>';
$search_result_statement .= '</tr>';
}
$search_result_statement .= '</table></td></tr>';