[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/js/jsolait/doc/ -> codecs.xhtml (source)

   1  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
   2  <html xmlns="http://www.w3.org/1999/xhtml">
   3    <head>
   4      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   5      <title>.: jsolait :. | documentation | codecs</title>
   6      <link rel="stylesheet" type="text/css" href="./html.css" />
   7      <meta name="author" content="Jan-Klaas Kollhof" />
   8      <meta name="keywords" content="jsolait.codecs" />
   9    </head>
  10    <body>
  11      <a name="top" id="top"></a>
  12      <div class="navigationBar"><a href="./index.xhtml">documentation</a> | 
  13                      codecs</div>
  14      <div class="menu">
  15        <ul></ul>
  16        <div class="copyright">copyright © 2004, Jan-Klaas Kollhof</div>
  17      </div>
  18      <div class="content">
  19          <h1>Module codecs</h1>
  20          This module extends the String class with encoding and decoding functionalities.<br />
  21          
  22          <br />
  23          
  24          <div class="contentItem"><h2>public methods:<a class="bttop" href="#top">â–²</a></h2><div>
  25            
  26               <h3>listEncoders()</h3><div class="indent">
  27                      Returns an Array with all encoder names.<br />
  28               </div>
  29               <h3>listDecoders()</h3><div class="indent">
  30                      Returns an Arra with all decoder names.<br />
  31               </div>
  32          </div></div>
  33          
  34          <div class="contentItem"><h2>globals:<a class="bttop" href="#top">â–²</a></h2><div>
  35            
  36               <h3>String::decode(codec)</h3><div class="indent">
  37                            Decodes an encoded string using the codec specified by the <code>codec</code>parameter .<br />
  38                            All parameters but the <code>codec</code> parameter are forwarded to the codec.<br />
  39               </div>
  40               <h3>String::encode(codec)</h3><div class="indent">
  41                          Encodes a string using the codec specified by the <code>codec</code> parameter.<br />
  42                          All Parameters but the <code>codec</code> parameter are forwarded to the codec.<br />
  43               </div>
  44               <h3>String::decode_base64()</h3><div class="indent">
  45                            Decodes a Base64 encoded string to a byte string.<br />
  46               </div>
  47               <h3>String::encode_base64()</h3><div class="indent">
  48                            Encodes a string using Base64.<br />
  49               </div>
  50               <h3>String::decode_uri()</h3><div class="indent">
  51                            Decodes a URI using decodeURI.<br />
  52               </div>
  53               <h3>String::encode_uri()</h3><div class="indent">
  54                            Encodes a URI using encodeURI.<br />
  55               </div>
  56          </div></div>
  57          
  58          <div class="contentItem"><h2>codecs<a class="bttop" href="#top">â–²</a></h2><div>
  59              
  60              Currently there are only two codecs <b>base64</b> and <b>uri</b>.<br />
  61              If you want to add your own codecs at runtime just extend the Stringl class by adding a 
  62              <code>String.prototype.encode_yourCodec</code> or
  63              <code>String.prototype.decode_yourCodec</code> method.
  64          </div></div>
  65      </div>
  66    </body>
  67  </html>


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7