.. include:: ../../Includes.txt .. _developerManual-php-behaviour: Behaviour ========= .. only:: html To know what a behaviour is, read the chapter “:ref:`usersManual-typoScript-configurationBehaviours`”. Behaviour example: lower case ----------------------------- .. code-block:: php $val) { $value[$key] = $this->applyBehaviour($val); } } else { $value = $this->applyBehaviourInternal($value); } return $value; } /** * Transforms the given value in lower case. * * @param mixed $value The value. * @return string */ protected function applyBehaviourInternal($value) { return mb_strtolower($value, 'UTF-8'); } }