kartik\grid\ExpandRowColumn::setProp PHP Метод

setProp() защищенный Метод

Sets property for the object instance if not set
protected setProp ( string $prop, string $val )
$prop string the property name
$val string the property value
    protected function setProp($prop, $val)
    {
        if (!isset($this->{$prop})) {
            $this->{$prop} = $val;
        }
    }