HumHub Documentation (unofficial)

Group
in package
uses Namespaces, Classname

Table of Contents

Properties

$name  : mixed
$namespace  : mixed
$settings  : mixed
$template  : mixed

Methods

__construct()  : mixed
produce()  : mixed
breakParts()  : mixed
getNamespaceHeader()  : mixed
getNamespaces()  : mixed
getNamespaceString()  : mixed
getShortClassName()  : mixed
removeSuffix()  : mixed

Properties

$namespace

protected mixed $namespace

$settings

protected mixed $settings

$template

protected mixed $template = <<<EOF <?php namespace {{namespace}}; use \\Codeception\\Event\\TestEvent; /** * Group class is Codeception Extension which is allowed to handle to all internal events. * This class itself can be used to listen events for test execution of one particular group. * It may be especially useful to create fixtures data, prepare server, etc. * * INSTALLATION: * * To use this group extension, include it to "extensions" option of global Codeception config. */ class {{class}} extends \\Codeception\\Platform\\Group { public static \$group = '{{groupName}}'; public function _before(TestEvent \$e) { } public function _after(TestEvent \$e) { } } EOF

Methods

__construct()

public __construct(mixed $settings, mixed $name) : mixed
Parameters
$settings : mixed
$name : mixed

produce()

public produce() : mixed

breakParts()

protected breakParts(mixed $class) : mixed
Parameters
$class : mixed

getNamespaceHeader()

protected getNamespaceHeader(mixed $class) : mixed
Parameters
$class : mixed

getNamespaces()

protected getNamespaces(mixed $class) : mixed
Parameters
$class : mixed

getNamespaceString()

protected getNamespaceString(mixed $class) : mixed
Parameters
$class : mixed

getShortClassName()

protected getShortClassName(mixed $class) : mixed
Parameters
$class : mixed

removeSuffix()

protected removeSuffix(mixed $classname, mixed $suffix) : mixed
Parameters
$classname : mixed
$suffix : mixed

        
On this page

Search results