本文整理汇总了PHP中path::findAll_massUplodPaths方法的典型用法代码示例。如果您正苦于以下问题:PHP path::findAll_massUplodPaths方法的具体用法?PHP path::findAll_massUplodPaths怎么用?PHP path::findAll_massUplodPaths使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类path
的用法示例。
在下文中一共展示了path::findAll_massUplodPaths方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: path
<?php
ini_set('display_errors', 1);
ini_set('max_execution_time', 300);
error_reporting(E_ALL);
if (!empty($_GET['class_name'])) {
$class_names = $_GET['class_name'];
} else {
$class_names[] = 'path';
include_once "includes/functions/loader.inc";
$path = new path();
$all_search_paths = $path->findAll_massUplodPaths();
$search_result_statement = "";
$search_result_statement .= "<table class=\"normal\"><thead><tr>";
$search_result_statement .= '<th> Search Name </th>';
$search_result_statement .= '<th> Description </th>';
$search_result_statement .= '<th> Module </th>';
$search_result_statement .= '<th> Link </th>';
$search_result_statement .= '</tr></thead>';
if (!empty($all_search_paths)) {
$search_result_statement .= '<tbody>';
foreach ($all_search_paths as $record) {
$search_result_statement .= '<tr>';
$search_result_statement .= '<td>' . $record->name . '</td>';
$search_result_statement .= '<td>' . $record->description . '</td>';
$search_result_statement .= '<td>' . $record->module_code . '</td>';
$search_result_statement .= '<td><a href="' . HOME_URL . $record->path_link . '">' . HOME_URL . $record->path_link . '</a></td>';
$search_result_statement .= '</tr>';
}
$search_result_statement .= '</tbody>';
}