HCE Project PHP language client API bindings
1.5.1
Hierarchical Cluster Engine PHP Client Interface API
|
Go to the source code of this file.
Functions | |
if(isset($args['h']) or isset($args['help']) or!$originalFile or!$compareFile) if(!file_exists($originalFile)) if(!file_exists($compareFile)) | errHandle ($errNo, $errStr, $errFile, $errLine) |
checkCrc ($first, $second) | |
checkMd5 ($first, $second) | |
checkText ($first, $second) | |
check ($first, $second) | |
getPathValue ($array) | |
getData4Path ($input_json, $field_path) | |
cli_parse_arguments ($argv) | |
base64Check ($data) | |
csv_to_array ($filename='', $delimiter=',') | |
csv_to_array_simple ($filename='', $delimiter=',') | |
csv_to_array_rss ($filename='', $delimiter=',') | |
htmlParse ($html) | |
exitScript ($msg) | |
prepare ($file, $fieldPath) | |
formatJson ($originalFile, $compareFile, $fieldPath) | |
formatCsv ($originalFile, $compareFile, $fieldPath) | |
formatXml ($originalFile, $compareFile, $fieldPath) | |
formatHtml ($originalFile, $compareFile, $fieldPath) | |
formatSql ($originalFile, $compareFile, $fieldPath) | |
formatText ($originalFile, $compareFile, $fieldPath) |
Variables | |
if(php_sapi_name()!=='cli'||!defined('STDIN')) | $args = cli_parse_arguments($argv) |
$originalFile = isset($args['original']) ? $args['original'] : null | |
$compareFile = isset($args['compare']) ? $args['compare'] : null | |
$format = isset($args['format']) ? $args['format'] : 'json' | |
$type = isset($args['input_type']) ? $args['input_type'] : 'news' | |
$compareType = isset($args['type']) ? $args['type'] : 'text' | |
$fieldPath = isset($args['path']) ? $args['path'] : null | |
$ignoredPaths = array('0:crawler_time', 'crawler_time', '0:scraper_time', 'scraper_time', '0:pubdate', 'pubdate', 'pubdate:', '0:dc_date', 'dc_date:', 'dc_date', 'dbFields:ProcessingTime') |
base64Check | ( | $data | ) |
Definition at line 119 of file formats-standards-comparator.php.
check | ( | $first, | |
$second | |||
) |
Definition at line 61 of file formats-standards-comparator.php.
checkCrc | ( | $first, | |
$second | |||
) |
Definition at line 46 of file formats-standards-comparator.php.
checkMd5 | ( | $first, | |
$second | |||
) |
Definition at line 51 of file formats-standards-comparator.php.
checkText | ( | $first, | |
$second | |||
) |
Definition at line 56 of file formats-standards-comparator.php.
cli_parse_arguments | ( | $argv | ) |
Definition at line 107 of file formats-standards-comparator.php.
csv_to_array | ( | $filename = '' , |
|
$delimiter = ',' |
|||
) |
Definition at line 130 of file formats-standards-comparator.php.
csv_to_array_rss | ( | $filename = '' , |
|
$delimiter = ',' |
|||
) |
Definition at line 161 of file formats-standards-comparator.php.
csv_to_array_simple | ( | $filename = '' , |
|
$delimiter = ',' |
|||
) |
Definition at line 148 of file formats-standards-comparator.php.
if (isset($args['h']) or isset($args['help']) or!$originalFile or!$compareFile) if (!file_exists($originalFile)) if (!file_exists($compareFile)) errHandle | ( | $errNo, | |
$errStr, | |||
$errFile, | |||
$errLine | |||
) |
Definition at line 35 of file formats-standards-comparator.php.
exitScript | ( | $msg | ) |
Definition at line 199 of file formats-standards-comparator.php.
formatCsv | ( | $originalFile, | |
$compareFile, | |||
$fieldPath | |||
) |
Definition at line 254 of file formats-standards-comparator.php.
formatHtml | ( | $originalFile, | |
$compareFile, | |||
$fieldPath | |||
) |
Definition at line 355 of file formats-standards-comparator.php.
formatJson | ( | $originalFile, | |
$compareFile, | |||
$fieldPath | |||
) |
Definition at line 216 of file formats-standards-comparator.php.
formatSql | ( | $originalFile, | |
$compareFile, | |||
$fieldPath | |||
) |
Definition at line 393 of file formats-standards-comparator.php.
formatText | ( | $originalFile, | |
$compareFile, | |||
$fieldPath | |||
) |
Definition at line 434 of file formats-standards-comparator.php.
formatXml | ( | $originalFile, | |
$compareFile, | |||
$fieldPath | |||
) |
Definition at line 317 of file formats-standards-comparator.php.
getData4Path | ( | $input_json, | |
$field_path | |||
) |
Definition at line 93 of file formats-standards-comparator.php.
getPathValue | ( | $array | ) |
Definition at line 79 of file formats-standards-comparator.php.
htmlParse | ( | $html | ) |
Definition at line 177 of file formats-standards-comparator.php.
prepare | ( | $file, | |
$fieldPath | |||
) |
Definition at line 206 of file formats-standards-comparator.php.
if (php_sapi_name()!=='cli'||!defined('STDIN')) $args = cli_parse_arguments($argv) |
Definition at line 9 of file formats-standards-comparator.php.
$compareFile = isset($args['compare']) ? $args['compare'] : null |
Definition at line 12 of file formats-standards-comparator.php.
$compareType = isset($args['type']) ? $args['type'] : 'text' |
Definition at line 15 of file formats-standards-comparator.php.
$fieldPath = isset($args['path']) ? $args['path'] : null |
Definition at line 17 of file formats-standards-comparator.php.
$format = isset($args['format']) ? $args['format'] : 'json' |
Definition at line 13 of file formats-standards-comparator.php.
$ignoredPaths = array('0:crawler_time', 'crawler_time', '0:scraper_time', 'scraper_time', '0:pubdate', 'pubdate', 'pubdate:', '0:dc_date', 'dc_date:', 'dc_date', 'dbFields:ProcessingTime') |
Definition at line 19 of file formats-standards-comparator.php.
$originalFile = isset($args['original']) ? $args['original'] : null |
Definition at line 11 of file formats-standards-comparator.php.
$type = isset($args['input_type']) ? $args['input_type'] : 'news' |
Definition at line 14 of file formats-standards-comparator.php.