프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 | |