[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/inc/files/model/ -> _fileroot.class.php (sommaire)

This file implements the FileRoot class. This file is part of the evoCore framework - {@link http://evocore.net/} See also {@link http://sourceforge.net/projects/evocms/}.

Author: fplanque: Francois PLANQUE.
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}
Version: $Id: _fileroot.class.php,v 1.2 2007/11/01 04:31:25 fplanque Exp $
Poids: 204 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

FileRoot:: (3 méthodes):
  FileRoot()
  get_typegroupname()
  gen_ID()


Classe: FileRoot  - X-Ref

This class provides info about a File Root.

A FileRoot describes a directory available for media file storage, under access permission.

FileRoot( $root_type, $root_in_type_ID, $create = true )   X-Ref
Constructor

Will fail if non existent User or Blog is requested.
But specific access permissions on (threfore existence of) this User or Blog should have been tested before anyway.

param: string Root type: 'user', 'group' or 'collection'
param: integer ID of the user, the group or the collection the file belongs to...
param: boolean Create the directory, if it does not exist yet?

get_typegroupname()   X-Ref


gen_ID( $root_type, $root_in_type_ID )   X-Ref




Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics