widgets/DefaultBehaviorDesignTimeProvider.php
public function renderBehaviorBody($class, $properties, $controllerBuilder)
    {
        if (!array_key_exists($class, $this->defaultBehaviorClasses)) {
            return $this->renderUnknownBehavior($class, $properties);
        }

        $partial = $this->defaultBehaviorClasses[$class];

        return $this->makePartial('behavior-'.$partial, [
            'properties'=>$properties,
            'controllerBuilder' => $controllerBuilder
        ]);
    }
public function renderBehaviorBody($class, $properties, $controllerBuilder)
    {
        if (!array_key_exists($class, $this->defaultBehaviorClasses)) {
            return $this->renderUnknownBehavior($class, $properties);
        }

        $partial = $this->defaultBehaviorClasses[$class];

        return $this->makePartial('behavior-'.$partial, [
            'properties'=>$properties,
            'controllerBuilder' => $controllerBuilder
        ]);
    }
public function renderBehaviorBody ( $ class , $ properties , $ controllerBuilder ) { if ( ! array_key_exists ( $ class , $ this -> defaultBehaviorClasses ) ) { return $ this -> renderUnknownBehavior ( $ class , $ properties ) ; } $ partial = $ this -> defaultBehaviorClasses [ $ class ] ; return $ this -> makePartial ( 'behavior-' . $ partial , [ 'properties' => $ properties , 'controllerBuilder' => $ controllerBuilder ] ) ; }
Renders behaivor body.
@param string $class Specifies the behavior class to render.
@param array $properties Behavior property values.
@param  \RainLab\Builder\FormWidgets\ControllerBuilder $controllerBuilder ControllerBuilder widget instance.
@return string Returns HTML markup string.
Renders behaivor body .