ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ComponentHelper.php File Reference

Go to the source code of this file.

Namespaces

 ILIAS\UI\Implementation\Component
 

Functions

 ILIAS\UI\Implementation\Component::getCanonicalName ()
 Default implementation uses the namespace of the component up to and excluding "Component", reverses the order and adds spaces. More...
 
 ILIAS\UI\Implementation\Component::getCanonicalNameByFullyQualifiedName ()
 Does the calculation required for getCanonicalName. More...
 
 ILIAS\UI\Implementation\Component::checkArg ($which, $check, $message)
 /** Throw an InvalidArgumentException containing the message if $check is false. More...
 
 ILIAS\UI\Implementation\Component::checkIntArg ($which, $value)
 Throw an InvalidArgumentException if $value is no int. More...
 
 ILIAS\UI\Implementation\Component::checkStringArg ($which, $value)
 Throw an InvalidArgumentException if $value is no string. More...
 
 ILIAS\UI\Implementation\Component::checkStringOrSignalArg ($which, $value)
 Throw an InvalidArgumentException if $value is no string or Signal. More...
 
 ILIAS\UI\Implementation\Component::checkFloatArg ($which, $value)
 Throw an InvalidArgumentException if $value is not a float. More...
 
 ILIAS\UI\Implementation\Component::checkBoolArg ($which, $value)
 Throw an InvalidArgumentException if $value is not a bool. More...
 
 ILIAS\UI\Implementation\Component::checkArgInstanceOf ($which, $value, $class)
 Throw an InvalidArgumentException if $value is not an instance of $class. More...
 
 ILIAS\UI\Implementation\Component::checkArgIsElement ($which, $value, $array, $name)
 Throw an InvalidArgumentException if $value is not an element of array. More...
 
 ILIAS\UI\Implementation\Component::checkArgList ($which, array &$values, \Closure $check, \Closure $message)
 Check every key and value of the list with a supplied closure. More...
 
 ILIAS\UI\Implementation\Component::checkArgListElements ($which, array &$values, &$classes)
 Check every element of the list if it is an instance of one of the given classes. More...
 
 ILIAS\UI\Implementation\Component::toArray ($value)
 Wrap the given value in an array if it is no array. More...
 
 ILIAS\UI\Implementation\Component::wrongTypeMessage ($expected, $value)
 

Variables

trait ILIAS\UI\Implementation\Component::ComponentHelper
 Provides common functionality for component implementations. More...