[ Index ]
 

Code source de Phorum 5.1.25

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/include/ -> format_functions.php (sommaire)

(pas de description)

Poids: 212 lignes (9 kb)
Inclus ou requis: 21 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 4 fonctions

  phorum_format_messages()
  phorum_date()
  phorum_strip_body()
  phorum_filesize()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

phorum_format_messages($data)   X-Ref
Formats forum messages.

param: data - An array containing a messages to be formatted.
return: data - The formatted messages.

phorum_date( $picture, $ts )   X-Ref
Formats an epoch timestamp to a date/time for displaying on screen.

param: picture - The time formatting to use, in strftime() format
param: ts - The epoch timestamp to format
return: datetime - The formatted date/time string

phorum_strip_body( $body )   X-Ref
Strips HTML <tags> and BBcode [tags] from the body.

param: body - The block of body text to strip
return: stripped - The stripped body

phorum_filesize( $bytes )   X-Ref
Formats a file size in bytes to a human readable format. Human
readable formats are MB (MegaByte), KB (KiloByte) and byte.

param: bytes - The number of bytes
param: formatted - The formatted size



Généré le : Thu Nov 29 12:22:27 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics