[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/phing/tasks/ext/ -> CreoleTask.php (sommaire)

Handles Creole configuration needed by SQL type tasks.

Author: Hans Lellelid <hans@xmpl.org> (Phing)
Author: Nick Chalko <nick@chalko.com> (Ant)
Author: Jeff Martin <jeff@custommonkey.org> (Ant)
Author: Michael McCallum <gholam@xtra.co.nz> (Ant)
Author: Tim Stephenson <tim.stephenson@sybase.com> (Ant)
Version: $Revision: 1.13 $
Poids: 242 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 15 fonctions

  init()
  setCaching()
  setUrl()
  setDriver()
  setPassword()
  setAutocommit()
  setVersion()
  getLoaderMap()
  getConnection()
  isCaching()
  isAutocommit()
  getUrl()
  getUserId()
  setUserid()
  getPassword()

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

init()   X-Ref
Initialize CreoleTask.
This method includes any necessary Creole libraries and triggers
appropriate error if they cannot be found.  This is not done in header
because we may want this class to be loaded w/o triggering an error.


setCaching($enable)   X-Ref
Caching loaders / driver. This is to avoid
getting an OutOfMemoryError when calling this task
multiple times in a row; default: true

param: $enable

setUrl($url)   X-Ref
Sets the database connection URL; required.

param: url The url to set

setDriver($driver)   X-Ref
Set the Creole driver to be used.

param: string $driver driver class name

setPassword($password)   X-Ref
Sets the password; required.

param: password The password to set

setAutocommit($autocommit)   X-Ref
Auto commit flag for database connection;
optional, default false.

param: autocommit The autocommit to set

setVersion($version)   X-Ref
Sets the version string, execute task only if
rdbms version match; optional.

param: version The version to set

getLoaderMap()   X-Ref
Pas de description

getConnection()   X-Ref
Creates a new Connection as using the driver, url, userid and password specified.
The calling method is responsible for closing the connection.

return: Connection the newly created connection.

isCaching($value)   X-Ref
Pas de description

isAutocommit()   X-Ref
Gets the autocommit.

return: Returns a boolean

getUrl()   X-Ref
Gets the url.

return: Returns a String

getUserId()   X-Ref
Gets the userId.

return: Returns a String

setUserid($userId)   X-Ref
Set the user name for the connection; required.

param: userId The userId to set

getPassword()   X-Ref
Gets the password.

return: Returns a String



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7