sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
531 B

<?php
function util_code_location() {
return '../../util/';
}
function util_project_name() {
return 'util';
}
function util_resource_name($namespace, $file) {
return $file;
}
function util_package_name($namespace, $file) {
//return;
$parts = explode('/', $file);
if ($parts[0] == '_base') {
return $namespace;
}
$file_parts = explode('.', array_pop($parts));
array_pop($file_parts);
array_push($parts, implode('.', $file_parts));
array_unshift($parts, $namespace);
return implode('.', $parts);
}
?>