source: Dev/trunk/src/client/util/docscripts/modules/util.module @ 529

Last change on this file since 529 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

  • Property svn:executable set to *
File size: 531 bytes
Line 
1<?php
2
3function util_code_location() {
4  return '../../util/';
5}
6
7function util_project_name() {
8  return 'util';
9}
10
11function util_resource_name($namespace, $file) {
12  return $file;
13}
14
15function util_package_name($namespace, $file) {
16  //return;
17  $parts = explode('/', $file);
18  if ($parts[0] == '_base') {
19    return $namespace;
20  }
21  $file_parts = explode('.', array_pop($parts));
22  array_pop($file_parts);
23  array_push($parts, implode('.', $file_parts));
24  array_unshift($parts, $namespace);
25  return implode('.', $parts);
26}
27
28?>
Note: See TracBrowser for help on using the repository browser.