[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/domit/ -> dom_xmlrpc_base64.php (sommaire)

dom_xmlrpc_base64 is a base64 encoding / decoding utility

Author: John Heinstein <johnkarl@nbnet.nb.ca>
Copyright: (C) 2004 John Heinstein. All rights reserved
License: http://www.gnu.org/copyleft/lesser.html LGPL License
Poids: 102 lignes (3 kb)
Inclus ou requis: 7 fois
Référencé: 0 fois
Nécessite: 1 fichier
 includes/domit/php_file_utilities.php

Définit 1 class

dom_xmlrpc_base64:: (8 méthodes):
  fromBinary()
  fromFile()
  fromString()
  convertToRFC2045()
  encode()
  decode()
  getBinary()
  getEncoded()


Classe: dom_xmlrpc_base64  - X-Ref

A base64 encoding / decoding utility

fromBinary($binaryData)   X-Ref
Encodes binary data as a base64 encoded string and stores it in $stringData

param: mixed The binary data

fromFile($fileName)   X-Ref
Imports the specified file, encodes it as a base64 encoded string and stores it in $stringData

param: string The file path

fromString($stringData)   X-Ref
Encodes the specified string as a base64 encoded string and stores it in $stringData

param: string The string input

convertToRFC2045($stringData)   X-Ref
Returns the specified string, chunked according to the RFC2045 specification (\r\n every 76 chars)

param: mixed The string input
return: mixed The RFC2045 chunked string

encode($binaryData)   X-Ref
Returns base64 encoded binary data

param: mixed The binary input
return: mixed The base64 encoded data

decode($stringData)   X-Ref
Returns decoded base64 binary data

param: string The base64 encoded input
return: mixed Base64 decoded data

getBinary()   X-Ref
Returns a base64 decoded representation of $stringData

return: mixed A base64 decoded representation of $stringData

getEncoded()   X-Ref
Returns the (base64 encoded) contents of $stringData

return: string The (base64 encoded) contents of $stringData



Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics