| @@ 116-123 (lines=8) @@ | ||
| 113 | return $path; |
|
| 114 | } |
|
| 115 | ||
| 116 | public static function currentProject( $path = '' ) { |
|
| 117 | $path = (string) $path; |
|
| 118 | $me = ar::context()->getObject(); |
|
| 119 | if ($me) { |
|
| 120 | $path = $me->currentproject( $path ); |
|
| 121 | } |
|
| 122 | return $path; |
|
| 123 | } |
|
| 124 | ||
| 125 | public static function parentProject( $path = '' ) { |
|
| 126 | $path = (string) $path; |
|
| @@ 125-132 (lines=8) @@ | ||
| 122 | return $path; |
|
| 123 | } |
|
| 124 | ||
| 125 | public static function parentProject( $path = '' ) { |
|
| 126 | $path = (string) $path; |
|
| 127 | $me = ar::context()->getObject(); |
|
| 128 | if ($me) { |
|
| 129 | $path = $me->parentproject( $path ); |
|
| 130 | } |
|
| 131 | return $path; |
|
| 132 | } |
|
| 133 | ||
| 134 | public static function makePath( $path = '' ) { |
|
| 135 | $path = (string) $path; |
|