[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Form/ -> ValueElement.php (summary)

Class ValueElement Just like an Element but it's value is not part of its attributes

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

Defines 2 functions

  __construct()
  val()

Functions
Functions that are not part of a class:

__construct($type, $value, $attributes = [])   X-Ref

param: string $type
param: string $value
param: array $attributes

val($value = null)   X-Ref
Get or set the element's value

return: string|$this
param: null|string $value