[ Index ] |
PHP Cross Reference of PHK Manager |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | Francois Laupretre <phk@tekwire.net> |
License: | http://www.apache.org/licenses/LICENSE-2.0 Apache License, V 2.0 |
File Size: | 413 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Wrapper:: (14 methods):
raiseWarning()
getFile()
stream_open()
stream_read()
stream_eof()
stream_tell()
stream_seek()
dir_opendir()
dir_readdir()
dir_rewinddir()
statArray()
stream_stat()
url_stat()
parseURI()
raiseWarning($msg) X-Ref |
No description |
getFile($dir,$uri,$mnt,$command,$params,$path,$cache=null) X-Ref |
No description |
stream_open($uri,$mode,$options,&$opened_path) X-Ref |
No description |
stream_read($nb) X-Ref |
No description |
stream_eof() X-Ref |
No description |
stream_tell() X-Ref |
No description |
stream_seek($offset,$whence) X-Ref |
No description |
dir_opendir($uri,$options) X-Ref |
No description |
dir_readdir() X-Ref |
No description |
dir_rewinddir() X-Ref |
No description |
statArray($mode,$size,$mtime) X-Ref |
No description |
stream_stat() X-Ref |
No description |
url_stat($uri,$flags,$fstat=false) X-Ref |
No description |
parseURI($uri,&$command,&$params,&$mnt,&$path) X-Ref |
Parses an URI and splits it into four sub-parts : mount point, command name, command parameters, and path. Each of these components is optional. URI syntax: phk://[<mnt>[/path]][?command[&par=val&...]] On return, if no command: command=params=null Global command: phk://?command[&par=val&...] => path=mnt=null mnt=null => global command Test cases : phk:// Error phk://mnt1 mnt=mnt1, path='', command=params=null phk://mnt1/p1/p2 mnt=mnt1, path=p1/p2, command=params=null phk://mnt1/p1/p2?cmd&par1=2&par2=3 mnt=mnt1, path=p1/p2, command=cmd, params=array(par1 => 2, par2 => 3) phk://?gcmd mnt=path=null, command=gcmd, params=null param: string $uri param: string|null $command Return value param: array|null $params Return value param: string|null $mnt Return value - Null only if global command param: string|null $path Return value - Null only if global command return: void |
Generated: Thu Jun 4 18:33:15 2015 | Cross-referenced by PHPXref 0.7.1 |