Свойство | Тип | Описание | |
---|---|---|---|
$client |
Свойство | Тип | Описание | |
---|---|---|---|
$adminPath | string | ||
$config | array | ||
$dependencyMessage | string | ||
$isMockRequest | boolean | ||
$lastRequestWasAdmin | boolean | ||
$requiredFields | array | ||
$siteUrl | string | ||
$wpdbModule |
Метод | Описание | |
---|---|---|
__construct ( Codeception\Lib\ModuleContainer $moduleContainer, array $config = [], |
WordPress constructor. | |
_after ( Codeception\TestInterface $test ) | ||
_afterStep ( Codeception\Step $step ) | ||
_afterSuite ( ) | ||
_before ( Codeception\TestInterface $test ) | ||
_beforeStep ( Codeception\Step $step ) | ||
_beforeSuite ( $settings = [] ) | ||
_cleanup ( ) | ||
_depends ( ) : array | Specifies class or module which is required for current one. | |
_failed ( Codeception\TestInterface $test, $fail ) | ||
_initialize ( ) | ||
_inject ( |
||
_isMockRequest ( $isMockRequest = false ) | ||
_lastRequestWasAdmin ( ) | ||
_setClient ( $client ) | ||
amEditingPostWithId ( $id ) | ||
amOnAdminAjaxPage ( ) | ||
amOnAdminPage ( $page ) | ||
amOnCronPage ( ) | ||
amOnPage ( string $page ) : null | string | ||
getInternalDomains ( ) : array | Returns a list of recognized domain names | |
loginAs ( $user, $password ) | ||
loginAsAdmin ( ) | ||
setAdminPath ( $adminPath ) |
Метод | Описание | |
---|---|---|
getAbsoluteUrlFor ( $uri ) |
Метод | Описание | |
---|---|---|
ensureWpRoot ( ) | ||
isAdminPageRequest ( $page ) | ||
preparePage ( $page ) : string | ||
setRequestType ( $page ) | ||
setupClient ( $siteDomain ) | ||
untrailslashIt ( $path ) : mixed |
public __construct ( Codeception\Lib\ModuleContainer $moduleContainer, array $config = [], |
||
$moduleContainer | Codeception\Lib\ModuleContainer | |
$config | array | |
$client |
public _after ( Codeception\TestInterface $test ) | ||
$test | Codeception\TestInterface |
public _before ( Codeception\TestInterface $test ) | ||
$test | Codeception\TestInterface |
public _failed ( Codeception\TestInterface $test, $fail ) | ||
$test | Codeception\TestInterface |
public getInternalDomains ( ) : array | ||
Результат | array |
public WordPress,tad\WPBrowser\Connector $client | ||
Результат |