| @@ 131-138 (lines=8) @@ | ||
| 128 | return $path; |
|
| 129 | } |
|
| 130 | ||
| 131 | public static function currentProject( $path = '' ) { |
|
| 132 | $path = (string) $path; |
|
| 133 | $me = ar::context()->getObject(); |
|
| 134 | if ($me) { |
|
| 135 | $path = $me->currentproject( $path ); |
|
| 136 | } |
|
| 137 | return $path; |
|
| 138 | } |
|
| 139 | ||
| 140 | public static function parentProject( $path = '' ) { |
|
| 141 | $path = (string) $path; |
|
| @@ 140-147 (lines=8) @@ | ||
| 137 | return $path; |
|
| 138 | } |
|
| 139 | ||
| 140 | public static function parentProject( $path = '' ) { |
|
| 141 | $path = (string) $path; |
|
| 142 | $me = ar::context()->getObject(); |
|
| 143 | if ($me) { |
|
| 144 | $path = $me->parentproject( $path ); |
|
| 145 | } |
|
| 146 | return $path; |
|
| 147 | } |
|
| 148 | ||
| 149 | public static function makePath( $path = '' ) { |
|
| 150 | $path = (string) $path; |
|