Class Pxxo_Buffer_Resource

Description

Classe permet de gérer l'accès à des flux de données comme des ressources WEB

Un flux de type ressource renvoit une url vers un fichier contenant le flux.

Located in /Pxxo/Buffer/Resource.php (line 49)

Pxxo
   |
   --Pxxo_Buffer
      |
      --Pxxo_Buffer_Resource
Direct descendents
Class Description
Pxxo_Buffer_Resource_CSS Classe permet de gérer l'accès à des flux de données comme des ressources CSS
Pxxo_Buffer_Resource_Javascript Classe permet de gérer l'accès à des flux de données comme des ressources Javascript
Variable Summary
string $disposition
array $file
string $path
string $type
string $url
Method Summary
Pxxo_Buffer_Resource __construct (string $p)
string comment (string $s)
string compress (string $s)
string get ()
mixed getContent ()
string getDisposition ()
string getExtendedType ()
string getHTML ()
Pxxo_Buffer merge (Pxxo_Buffer $o, [boolean $c = true])
void setDisposition (string $s)
Variables
string $disposition = 'file' (line 70)
  • var: file or inline : sous fomre de fichier ou de lignes de code inserées
  • access: protected
array $file = array() (line 66)
  • var: chemin physique et chemin logique de la resource
  • access: public
string $path = '.' (line 62)
  • var: chemin physique correspondant à l'url
  • access: public
string $type = 'rsc' (line 54)
  • var: type du contenu du flux
  • access: protected

Redefinition of:
Pxxo_Buffer::$type

Redefined in descendants as:
string $url = './' (line 58)
  • var: url d'accès à la ressource
  • access: public

Inherited Variables

Inherited from Pxxo_Buffer

Pxxo_Buffer::$content
Pxxo_Buffer::$id
Pxxo_Buffer::$scheme
Pxxo_Buffer::$uri
Pxxo_Buffer::$weight
Pxxo_Buffer::$_func

Inherited from Pxxo

Pxxo::$_bench
Pxxo::$_cache
Pxxo::$_cache_options
Pxxo::$_cache_options_default
Pxxo::$_caching
Pxxo::$_debugging
Pxxo::$_debug_options
Pxxo::$_debug_options_default
Pxxo::$_idcache
Pxxo::$_ids
Pxxo::$_levelcache
Methods
Constructor __construct (line 76)

Constructeur PHP5

Pxxo_Buffer_Resource __construct (string $p)
  • string $p: localisation du flux

Redefinition of:
Pxxo_Buffer::__construct()
Constructeur PHP5

Redefined in descendants as:
comment (line 208)

fabrique un commentaire à partir de la chaine donnée en paramètre

  • access: public
string comment (string $s)
  • string $s
compress (line 160)

Filtre permettant de minimiser une flux

  • return: chaine de caractère compressées
  • abstract:
  • access: public
string compress (string $s)
  • string $s: chaine de caractère

Redefined in descendants as:
get (line 94)

On stocke le contenu du flux dans un fichier accessible via $this->url

  • return: l'url d'accès au contenu du flux
  • access: public
string get ()

Redefinition of:
Pxxo_Buffer::get()
On récupère le contenu du flux
getContent (line 85)

On récupere le contenu de la ressource

  • return: Description
  • access: public
mixed getContent ()
getDisposition (line 179)

Retourne le mode d'utilisation du code Javascript

  • access: public
string getDisposition ()
getExtendedType (line 198)

Renvoi le type étendu du Buffer

  • access: public
string getExtendedType ()

Redefinition of:
Pxxo_Buffer::getExtendedType()
Renvoi le type étendu du Buffer

Redefined in descendants as:
getHTML (line 189)

Retrourne une chaine en HTML permettant de charger la ressource

  • return: chaine de caractère en HTML
  • abstract:
  • access: public
string getHTML ()

Redefined in descendants as:
merge (line 137)

Merge un buffer avec le buffer courant

  • access: public
Pxxo_Buffer merge (Pxxo_Buffer $o, [boolean $c = true])
  • Pxxo_Buffer $o
  • boolean $c: ajout ou non un commentaire

Redefinition of:
Pxxo_Buffer::merge()
Merge un buffer avec le buffer courant
setDisposition (line 169)

Fixe comme on utilisera le code Javascript

  • access: public
void setDisposition (string $s)
  • string $s

Inherited Methods

Inherited From Pxxo_Buffer

Pxxo_Buffer::__construct()
Pxxo_Buffer::addFilter()
Pxxo_Buffer::factory()
Pxxo_Buffer::filter()
Pxxo_Buffer::get()
Pxxo_Buffer::getExtendedType()
Pxxo_Buffer::getID()
Pxxo_Buffer::getType()
Pxxo_Buffer::getWeight()
Pxxo_Buffer::isType()
Pxxo_Buffer::merge()
Pxxo_Buffer::set()
Pxxo_Buffer::setID()
Pxxo_Buffer::setWeight()

Inherited From Pxxo

Pxxo::__construct()
Pxxo::addCacheID()
Pxxo::addCacheLevel()
Pxxo::cleanCache()
Pxxo::copyto()
Pxxo::delinCache()
Pxxo::disableCache()
Pxxo::disableDebug()
Pxxo::enableCache()
Pxxo::enableDebug()
Pxxo::getCacheID()
Pxxo::getCacheLevel()
Pxxo::getCacheObject()
Pxxo::getCacheOption()
Pxxo::getDebugOption()
Pxxo::getinCache()
Pxxo::initCache()
Pxxo::isCaching()
Pxxo::isDebugging()
Pxxo::resetCache()
Pxxo::resetCacheID()
Pxxo::setBenchmarkProfiler()
Pxxo::setBenchmarkTimer()
Pxxo::setCacheID()
Pxxo::setCacheLevel()
Pxxo::setCacheObject()
Pxxo::setCacheOption()
Pxxo::setCacheOptions()
Pxxo::setDebugOption()
Pxxo::setinCache()
Pxxo::testCacheLevel()
Pxxo::testinCache()
Pxxo::traceDebug()

Documentation generated on Thu, 13 Mar 2008 22:03:20 +0100 by phpDocumentor 1.4.1