PHP Class yupe\widgets\ActiveForm

Inheritance: extends TbActiveFor\TbActiveForm
Exibir arquivo Open project: yupe/yupe

Public Methods

Method Description
slugFieldGroup ( CModel $model, string $attribute, array $options = [] ) : string Output slug field.

Method Details

slugFieldGroup() public method

Set up $options['sourceModel'] and $options['sourceAttribute'] or just $options['sourceName'] with field name which is the source of slug field
Since: 0.9.4
public slugFieldGroup ( CModel $model, string $attribute, array $options = [] ) : string
$model CModel The data model.
$attribute string The attribute.
$options array
return string