Свойство | Тип | Описание | |
---|---|---|---|
$_connection | PDO | ||
$_tables | array | ||
$dbSettings | array | |
||
$isSocketConnect | boolean |
Метод | Описание | |
---|---|---|
createDatabase ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
detectDbSettings ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
dropDatabase ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
dropTables ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
dsn ( ) : string | Creates a PDO DSN for the adapter from $this->_config settings. | |
getConnection ( Symfony\Component\Console\Output\OutputInterface $output = null ) : PDO | Connects to the database without initializing magento | |
getDbSettings ( Symfony\Component\Console\Output\OutputInterface $output = null ) : array | |
||
getGlobalStatus ( string | null $variable = null ) : array | ||
getGlobalVariables ( string | null $variable = null ) : array | ||
getIsSocketConnect ( ) : boolean | ||
getMysqlClientToolConnectionString ( ) : string | ||
getMysqlVariable ( string $name, string $type = null ) : string | obtain mysql variable value from the database connection. | |
getMysqlVariableValue ( string $variable ) : boolean | array | Get mysql variable value | |
getName ( ) : string | Returns the canonical name of this helper. | |
getTableDefinitions ( array $commandConfig ) : array | ||
getTables ( boolean $withoutPrefix = null ) : array | Get list of database tables | |
getTablesStatus ( boolean $withoutPrefix = false ) : array | Get list of db tables status | |
mysqlUserHasPrivilege ( string $privilege ) : boolean | Check whether current mysql user has $privilege privilege | |
resolveTables ( array $list, array $definitions = [], array $resolved = [] ) : array |
Метод | Описание | |
---|---|---|
fallbackOutput ( Symfony\Component\Console\Output\OutputInterface $output = null ) : Symfony\Component\Console\Output\OutputInterface | small helper method to obtain an object of type OutputInterface | |
getApplication ( ) : |
||
quoteLike ( string $string, string $escape = '=' ) : string | quote a string so that it is safe to use in a LIKE | |
runShowCommand ( string $command, string | null $variable = null ) : array | ||
throwRuntimeException ( PDOStatement $statement, string $message = "" ) | throw a runtime exception and provide error info for the statement if available |
public createDatabase ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
public detectDbSettings ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
public dropDatabase ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
public dropTables ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
public getConnection ( Symfony\Component\Console\Output\OutputInterface $output = null ) : PDO | ||
$output | Symfony\Component\Console\Output\OutputInterface | = null |
Результат | PDO |
public getDbSettings ( Symfony\Component\Console\Output\OutputInterface $output = null ) : array | |
||
$output | Symfony\Component\Console\Output\OutputInterface | [optional] |
Результат | array | |
public getMysqlClientToolConnectionString ( ) : string | ||
Результат | string |
public getTableDefinitions ( array $commandConfig ) : array | ||
$commandConfig | array | |
Результат | array |
public getTablesStatus ( boolean $withoutPrefix = false ) : array | ||
$withoutPrefix | boolean | |
Результат | array |
public mysqlUserHasPrivilege ( string $privilege ) : boolean | ||
$privilege | string | |
Результат | boolean |
protected array|DbSettings,N98\Magento $dbSettings | ||
Результат | array | |