Location: PHPKode > projects > Aukyla Platform > doc/html/a00121.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>Aukyla PHP Framework</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="StyleSheet" href="auton.css" type="text/css" media="screen">
  </head>

  <body>
    <div id="mainmenu">
      <a href="http://www.auton.nl/" class="home">Home</a>
    </div>
    <div id="submenu">
      <a class="logo" href="http://www.auton.nl/"></a>

      <div class="head">Ads</div>
      <a href="http://sourceforge.net/"><img src="http://sourceforge.net/sflogo.php?group_id=116358&amp;type=1" alt="SourceForge.net Logo" style="padding: 2px 4px; width: 88px; height: 31px; border: 0px"></a>
      <a href="http://getfirefox.com/" title="Get Firefox - The Browser, Reloaded."><img src="http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png" alt="Get Firefox" style="width: 110px; height: 32px; border: 0px"></a>
    </div>
    <div id="main">
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>LocalURINamespace Class Reference</h1><a href="a00073.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
A namespace to be used with the <a class="el" href="a00120.html">LocalURIManager</a>. 
<p>
You should subclass this class to implement your own <a class="el" href="a00163.html">URI</a> namespaces. You may either use <a class="el" href="a00120.html#e0">LocalURIManager::registerURINamespace()</a> to register your namespace with the <a class="el" href="a00163.html">URI</a> manager after which it may be used, or you can put a symlink to the file in which the namespace is declared in <code>plugins/URINamespaces</code> and the namespace will be registered automatically when needed. Note that your class should be named something like <code>FooURINamespace</code> and the symlink should have the name of the class, with <code></code>(.php) extension.<p>
<dl compact><dt><b>Note:</b></dt><dd>Besides using this class for <a class="el" href="a00163.html">URI</a> namespaces, you may also implement your own class as long as you strictly follow the rules for <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrappers</a>, but be aware PHP URL wrappers are less flexible and lack some features, like access permissions and meta-data.<p>
With the exception of <a class="el" href="a00121.html#a0">stream_open()</a> and <a class="el" href="a00121.html#a1">stream_close()</a> all functions have a default implementation. If you do not reimplement some or all of these functions, your namespace will simply not support the features provided by those functions and no errors will be raised. </dd></dl>

<p>

<p>
Definition at line <a class="el" href="a00237.html#l01174">1174</a> of file <a class="el" href="a00237.html">URI.php</a>.<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a0">stream_open</a> ($path, $mode, $options=0, &amp;$opened_path= '')</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a1">stream_close</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a2">stream_read</a> ($count)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a3">stream_write</a> ($data)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a4">stream_eof</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a5">stream_tell</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a6">stream_seek</a> ($offset, $whence)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a7">stream_flush</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a8">stream_stat</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a9">unlink</a> ($path)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a10">rename</a> ($path_from, $path_to)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a11">mkdir</a> ($path, $mode, $options)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a12">rmdir</a> ($path, $options)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a13">dir_opendir</a> ($path, $options)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a14">url_stat</a> ($path, $flags)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a15">dir_readdir</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a16">dir_rewinddir</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a17">dir_closedir</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a18">uniquePath</a> ($path, $suggestion)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a19">permissions</a> ($path)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a20">permissionsArray</a> ($path)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a21">setPermissionsArray</a> ($path, $permissions)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a22">metaData</a> ($path, $key)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00121.html#a23">setMetaData</a> ($path, $key, $value)</td></tr>

</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a17" doxytag="LocalURINamespace::dir_closedir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::dir_closedir           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01347">1347</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a13" doxytag="LocalURINamespace::dir_opendir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::dir_opendir           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>options</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01303">1303</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a15" doxytag="LocalURINamespace::dir_readdir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::dir_readdir           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01331">1331</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a16" doxytag="LocalURINamespace::dir_rewinddir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::dir_rewinddir           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01339">1339</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a22" doxytag="LocalURINamespace::metaData"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::metaData           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>key</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns meta-data about the given path.<p>
<dl compact><dt><b>Note:</b></dt><dd>Many namespaces use the "name" meta-data key to identify the display name of the file or directory. This display name should take precedence over the real name when showing the path to the user.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path to the file or directory to get the meta-data from. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>The meta-data key to request. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The meta-data associated with the path under the given key, or <code>false</code> if the key does not exist.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00121.html#a23">setMetaData()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01489">1489</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a11" doxytag="LocalURINamespace::mkdir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::mkdir           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>options</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01287">1287</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a19" doxytag="LocalURINamespace::permissions"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::permissions           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the access permissions for the current user to the given path. See <a class="el" href="a00121.html#a20">permissionsArray()</a> for a detailed explanation about how permissions should be interpreted.<p>
<dl compact><dt><b>Warning:</b></dt><dd>The default implementation does not support access permissions and thus grants the user all permissions.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path to the file or directory to get the access permissions from. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The permissions using the predefined PERMISSION_* constants, OR'd together, or <code>false</code> if the path doesn't exist.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00121.html#a20">permissionsArray()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01382">1382</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a20" doxytag="LocalURINamespace::permissionsArray"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::permissionsArray           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns all access permissions set on the given path in an array.<p>
<dl compact><dt><b>Warning:</b></dt><dd>The default implementation does not support access permissions and thus grants everyone all permissions.</dd></dl>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path to the file or directory to get the access permissions from. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The current permissions. This is an array containing any out of three keys: "ip", "user", "group" and "other", where ip, user and group are arrays containing ip/user/group =&gt; permissions pairs and where other contains the permissions for other users. Permissions are specified with the PERMISSION_* constants, OR'd together. Returns <code>false</code> on error.</dd></dl>
<b>Example array: </b> <div class="fragment"><pre class="fragment"> Array
 (
     [ip] =&gt; Array
             (
                 [<span class="stringliteral">"192.168.0.*"</span>] =&gt; PERMISSION_READ
             )
     [user] =&gt; Array
               (
                   [junior] =&gt; PERMISSION_READ |
                               PERMISSION_APPEND |
                               PERMISSION_MODIFY |
                               PERMISSION_DELETE |
                               PERMISSION_ADMINISTRATE
               )
     [group] =&gt; Array
                (
                    [users] =&gt; PERMISSION_READ
                )
     [other] =&gt; PERMISSION_NONE
 )
</pre></div><p>
In this example, anyone who connects from an internal IP address, in this case an address which starts with "192.168.0.", will at least be granted read permissions. Anyone outside of this IP range will get no permissions by default. Then the user is checked, so if the current user is "junior" all permissions will be granted, regardless from where he connects. If the user is not "junior", the group is checked". If the current user is a member of the group "users", read permissions are granted. This means anyone in this group will also be able to read documents when he's not connecting from the internal network. If the current user is neither "junior", nor a member of the group "users", no more permissions are granted, leaving internal users with only read permissions and external users without any permissions.<p>
<dl compact><dt><b>Note:</b></dt><dd>Support for IP ranges was introduced in Aukyla 1.1.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00121.html#a19">permissions()</a> <a class="el" href="a00121.html#a21">setPermissionsArray()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01448">1448</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a10" doxytag="LocalURINamespace::rename"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::rename           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path_from</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>path_to</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01279">1279</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a12" doxytag="LocalURINamespace::rmdir"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::rmdir           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>options</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01295">1295</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a23" doxytag="LocalURINamespace::setMetaData"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::setMetaData           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>key</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>value</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets meta-data on the given path.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path to the file or directory to set the meta-data on. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>The meta-data key to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value of the meta-data to set. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> on success or <code>false</code> on failure.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00121.html#a22">metaData()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01504">1504</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a21" doxytag="LocalURINamespace::setPermissionsArray"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::setPermissionsArray           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>permissions</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the access permissions on the given path.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path to the file or directory to set the permissions on. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>permissions</em>&nbsp;</td><td>The new permissions. See <a class="el" href="a00121.html#a20">permissionsArray()</a> for a description of the permissions array. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd><code>true</code> on success, <code>false</code> if an error occurred.</dd></dl>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="a00121.html#a20">permissionsArray()</a></dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01469">1469</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="LocalURINamespace::stream_close"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_close           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [abstract]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a4" doxytag="LocalURINamespace::stream_eof"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_eof           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01219">1219</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a7" doxytag="LocalURINamespace::stream_flush"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_flush           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01243">1243</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a0" doxytag="LocalURINamespace::stream_open"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_open           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>options</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&amp;$&nbsp;</td>
          <td class="mdname" nowrap> <em>opened_path</em> = <code>''</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [abstract]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. <p>
<dl compact><dt><b>Note:</b></dt><dd>The PHP documentation tells you to use the <code>include_path</code> if the <code>STREAM_USE_PATH</code> flag is set. However, unless you are implementing a <code>file</code> namespace (which you shouldn't), you can ignore this.</dd></dl>
    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="LocalURINamespace::stream_read"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_read           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>count</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. <p>
<dl compact><dt><b>Warning:</b></dt><dd>When implementing this function, make sure the file you are operating on has actually been opened for reading and return <code>false</code> if it hasn't.</dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01199">1199</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a6" doxytag="LocalURINamespace::stream_seek"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_seek           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>offset</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>whence</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01235">1235</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a8" doxytag="LocalURINamespace::stream_stat"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_stat           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01251">1251</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a5" doxytag="LocalURINamespace::stream_tell"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_tell           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01227">1227</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a3" doxytag="LocalURINamespace::stream_write"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::stream_write           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>data</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. <p>
<dl compact><dt><b>Warning:</b></dt><dd>When implementing this function, make sure the file you are operating on has actually been opened for writing and return <code>false</code> if it hasn't.</dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01211">1211</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a18" doxytag="LocalURINamespace::uniquePath"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::uniquePath           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>suggestion</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a unique path under the given directory.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>path</em>&nbsp;</td><td>Path to the directory in which to find a unique file or directory name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>suggestion</em>&nbsp;</td><td>A suggestion for the pathname. The resulting pathname may include or use this suggestion, but it may also be entirely ignored. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>A unique path or <code>false</code> if an error occurred.</dd></dl>

<p>
Definition at line <a class="el" href="a00237.html#l01362">1362</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a9" doxytag="LocalURINamespace::unlink"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::unlink           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>path</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01271">1271</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a14" doxytag="LocalURINamespace::url_stat"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top">LocalURINamespace::url_stat           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">$&nbsp;</td>
          <td class="mdname" nowrap> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>$&nbsp;</td>
          <td class="mdname" nowrap> <em>flags</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Please refer to the <a href="http://nl2.php.net/manual/en/function.stream-wrapper-register.php">PHP URL wrapper documentation</a>. 
<p>
Definition at line <a class="el" href="a00237.html#l01311">1311</a> of file <a class="el" href="a00237.html">URI.php</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00237.html">URI.php</a></ul>
    </div>
  </body>
</html>
Return current item: Aukyla Platform