PHP 클래스 yupe\widgets\ActiveForm

상속: extends TbActiveFor\TbActiveForm
파일 보기 프로젝트 열기: yupe/yupe

공개 메소드들

메소드 설명
slugFieldGroup ( CModel $model, string $attribute, array $options = [] ) : string Output slug field.

메소드 상세

slugFieldGroup() 공개 메소드

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