Drupal 8  8.0.2
Tasks Class Reference
Inheritance diagram for Tasks:

Public Member Functions

 __construct ()
 
 name ()
 
 minimumVersion ()
 
 getFormOptions (array $database)
 
 ensureInnoDbAvailable ()
 
- Public Member Functions inherited from Tasks
 installable ()
 
 name ()
 
 minimumVersion ()
 
 runTasks ()
 
 getFormOptions (array $database)
 
 validateDatabaseSettings ($database)
 

Data Fields

const MYSQLND_MINIMUM_VERSION = '5.0.9'
 
const LIBMYSQLCLIENT_MINIMUM_VERSION = '5.5.3'
 

Protected Member Functions

 connect ()
 
 checkEngineVersion ()
 
- Protected Member Functions inherited from Tasks
 hasPdoDriver ()
 
 fail ($message)
 
 pass ($message)
 
 connect ()
 
 runTestQuery ($query, $pass, $fail, $fatal=FALSE)
 
 checkEngineVersion ()
 

Protected Attributes

 $pdoDriver = 'mysql'
 
- Protected Attributes inherited from Tasks
 $pdoDriver
 
 $tasks
 
 $results
 

Detailed Description

Specifies installation tasks for MySQL and equivalent databases.

Constructor & Destructor Documentation

__construct ( )

Constructs a object.

Member Function Documentation

checkEngineVersion ( )
protected

{}

References Tasks\fail(), Database\getConnection(), and t().

Here is the call graph for this function:

connect ( )
protected

{}

References Database\addConnectionInfo(), Connection\DATABASE_NOT_FOUND, db_set_active(), Tasks\fail(), Database\getConnection(), Database\getConnectionInfo(), Tasks\pass(), Database\removeConnection(), Connection\SQLSTATE_SYNTAX_ERROR, t(), Connection\UNKNOWN_CHARSET, and Connection\UNSUPPORTED_CHARSET.

Here is the call graph for this function:

ensureInnoDbAvailable ( )

Ensure that InnoDB is available.

References Tasks\fail(), Database\getConnection(), and t().

Here is the call graph for this function:

getFormOptions ( array  $database)

{}

minimumVersion ( )

{}

name ( )

{}

References t().

Here is the call graph for this function:

Field Documentation

const LIBMYSQLCLIENT_MINIMUM_VERSION = '5.5.3'

Minimum required libmysqlclient version.

const MYSQLND_MINIMUM_VERSION = '5.0.9'

Minimum required MySQLnd version.


The documentation for this class was generated from the following file: