14 stream_wrapper_register($this->protocol,$this->className);
22 foreach(
$handlers as $handler)
if(!array_key_exists($handler,$this->handlers))
return false;
31 if(!array_key_exists($name,$this->handlers))
throw new \OutOfRangeException(
'Unknown stream handler');
32 if(!array_key_exists(null,$config =& $this->handlers[$name])){
33 $class_name = \Rsi\Record::get($config,
'className',__CLASS__ .
'\\Handler\\' . ucfirst($name));
34 $config[null] =
new $class_name($this,$config);
105 public function delete(
$handlers,$filename,$params = null){
save($handlers, $filename, $params, $data)
Save a file.
read($handlers, $filename, $params=null)
Read a file.
exists($handlers, $filename, $params=null)
Check if a file exists.
handler($name)
Get a stream handler.
handlersExist($handlers)
Check if the handlers exist.
search($handlers, $mask=' *')
Search for files.
time($handlers, $filename, $params=null)
Modification time of a file.