| API | Package | Subpackage | Class | Method | Reference | Last reviewed | Doc status |
|---|---|---|---|---|---|---|---|
Home |
Joomla.Framework |
FileSystem |
JPath |
isOwner |
isOwner() |
Never | Work in Progress |
This method determines if the current script owns the path.
boolean isOwner ( $path )
| $path | string | is a string containing the path to check the ownership of. |
Example
jimport( 'joomla.filesystem.path' ); echo "Ownership: "; echo JPath::isOwner( JPATH_ROOT . '/robots.txt' ) ? 'true' : 'false';
might produce:
Result
Ownership: true