Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 39 and 400]

(no description)

File Size: 184 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BorderPart:: (12 methods):
  __construct()
  getName()
  setName()
  getStyle()
  setStyle()
  getColor()
  setColor()
  getWidth()
  setWidth()
  getAllowedStyles()
  getAllowedNames()
  getAllowedWidths()


Class: BorderPart  - X-Ref

Class BorderPart

__construct($name, $color = Color::BLACK, $width = Border::WIDTH_MEDIUM, $style = Border::STYLE_SOLID)   X-Ref

param: string $name @see  BorderPart::$allowedNames
param: string $color A RGB color code
param: string $width @see BorderPart::$allowedWidths
param: string $style @see BorderPart::$allowedStyles

getName()   X-Ref

return: string

setName($name)   X-Ref

return: void
param: string $name The name of the border part @see BorderPart::$allowedNames

getStyle()   X-Ref

return: string

setStyle($style)   X-Ref

return: void
param: string $style The style of the border part @see BorderPart::$allowedStyles

getColor()   X-Ref

return: string

setColor($color)   X-Ref

return: void
param: string $color The color of the border part @see Color::rgb()

getWidth()   X-Ref

return: string

setWidth($width)   X-Ref

return: void
param: string $width The width of the border part @see BorderPart::$allowedWidths

getAllowedStyles()   X-Ref

return: array

getAllowedNames()   X-Ref

return: array

getAllowedWidths()   X-Ref

return: array