Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401]

(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

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

getStyle()   X-Ref

return: string

setStyle($style)   X-Ref

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

getColor()   X-Ref

return: string

setColor($color)   X-Ref

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

getWidth()   X-Ref

return: string

setWidth($width)   X-Ref

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

getAllowedStyles()   X-Ref

return: array

getAllowedNames()   X-Ref

return: array

getAllowedWidths()   X-Ref

return: array