Moodle PHP Documentation 4.1
Moodle 4.1.19+ (Build: 20250711) (5f47dc23ffc)
Box\Spout\Writer\XLSX\Manager\OptionsManager Class Reference
Inheritance diagram for Box\Spout\Writer\XLSX\Manager\OptionsManager:
Box\Spout\Common\Manager\OptionsManagerAbstract Box\Spout\Common\Manager\OptionsManagerInterface

Public Member Functions

 __construct (StyleBuilder $styleBuilder)
 OptionsManager constructor.
 
 getOption ($optionName)
 
 setOption ($optionName, $optionValue)
 Sets the given option, if this option is supported.
 

Public Attributes

const DEFAULT_FONT_NAME = 'Calibri'
 
const DEFAULT_FONT_SIZE = 12
 Default style font values.
 
const PREFIX_OPTION = 'OPTION_'
 

Protected Member Functions

 getSupportedOptions ()
 {
Return values
arrayList of supported options
}
 
 setDefaultOptions ()
 {Sets the default options.To be overriden by child classes
Return values
void
}
 

Protected Attributes

StyleBuilder $styleBuilder
 Style builder.
 

Constructor & Destructor Documentation

◆ __construct()

Box\Spout\Writer\XLSX\Manager\OptionsManager::__construct ( StyleBuilder $styleBuilder)

OptionsManager constructor.

Parameters
StyleBuilder$styleBuilder

Member Function Documentation

◆ getOption()

Box\Spout\Common\Manager\OptionsManagerAbstract::getOption ( $optionName)
inherited
Parameters
string$optionName
Return values
mixed|nullThe set option or NULL if no option with given name found

Implements Box\Spout\Common\Manager\OptionsManagerInterface.

◆ getSupportedOptions()

Box\Spout\Writer\XLSX\Manager\OptionsManager::getSupportedOptions ( )
protected

{

Return values
arrayList of supported options
}

Reimplemented from Box\Spout\Common\Manager\OptionsManagerAbstract.

◆ setDefaultOptions()

Box\Spout\Writer\XLSX\Manager\OptionsManager::setDefaultOptions ( )
protected

{Sets the default options.To be overriden by child classes

Return values
void
}

Reimplemented from Box\Spout\Common\Manager\OptionsManagerAbstract.

◆ setOption()

Box\Spout\Common\Manager\OptionsManagerAbstract::setOption ( $optionName,
$optionValue )
inherited

Sets the given option, if this option is supported.

Parameters
string$optionName
mixed$optionValue
Return values
void

Implements Box\Spout\Common\Manager\OptionsManagerInterface.


The documentation for this class was generated from the following file: