[ Index ]
 

Code source de Claroline 188

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/claroline/inc/lib/ -> fileDisplay.lib.php (sommaire)

CLAROLINE

Author: Claro Team <cvs@claroline.net>
Copyright: (c) 2001-2006 Universite catholique de Louvain (UCL)
License: http://www.gnu.org/copyleft/gpl.html (GPL) GENERAL PUBLIC LICENSE
Version: 1.8 $Revision: 1.27 $
Poids: 356 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 10 fonctions

  choose_image()
  format_file_size()
  format_date()
  url_already_encoded()
  format_url()
  format_url_path()
  format_url_query()
  query_make_part()
  claro_disp_document_breadcrumb()
  claro_html_document_breadcrumb()

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

choose_image($fileName)   X-Ref
Define the image to display for each file extension
This needs an existing image repository to works

author: - Hugues Peeters <peeters@ipm.ucl.ac.be>
param: - fileName (string) - name of a file

format_file_size($fileSize)   X-Ref
Transform the file size in a human readable format

author: - ???
param: - fileSize (int) - size of the file in bytes

format_date($fileDate)   X-Ref
Transform a UNIX time stamp in human readable format date

author: - Hugues Peeters <peeters@ipm.ucl.ac.be>
param: - date - UNIX time stamp

url_already_encoded( $url )   X-Ref
Transform the file path in a url

param: - url (string) - relative local path of the file on the Hard disk
return: - relative url

format_url($url)   X-Ref
Pas de description

format_url_path( $path )   X-Ref
Enter description here...

param: string $path
return: string

format_url_query( $query )   X-Ref
Enter description here...

param: string $query
return: string

query_make_part( $matches )   X-Ref
Callbacked function

param: array $matches
return: string

claro_disp_document_breadcrumb($curDirPath)   X-Ref

author: Hugues Peeters <peeters@ipm.ucl.ac.be>
param: string $curDirPath current path in the documents tree navugation
return: string breadcrumb trail

claro_html_document_breadcrumb($curDirPath)   X-Ref
Pas de description



Généré le : Thu Nov 29 14:38:42 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics