Partition

This subclass is used to create, switch and configure partitions

MphpD::partition(string $name) : Partition

Methods

__construct

This class is not intended for direct usage. Use MphpD::partition() instead to retrieve an instance of this class.

Partition::__construct(FloFaber\MphpD\MphpD $mphpd, string $name) : mixed

Parameters

Returns mixed

switch

Switch the client to the given partition

Partition::switch() : bool

Parameters

Returns bool

bool true on success or false on failure.

create

Create a new partition with the given name.

Partition::create() : bool

Parameters

Returns bool

bool true on success or false on failure.

delete

Delete the given partition

Partition::delete() : bool

Parameters

Returns bool

bool true on success or false on failure.

move_output

Move a specific output to the current partition

Partition::move_output(string $name) : bool

Parameters

Returns bool

bool true on success or false on failure.

© 2023 Florian Faber