PHP 클래스 Devise\Users\Groups\GroupManager

파일 보기 프로젝트 열기: devisephp/cms

공개 프로퍼티들

프로퍼티 타입 설명
$errors array Errors are kept in an array and can be used later if validation fails and we want to know why
$messages Validation messages

보호된 프로퍼티들

프로퍼티 타입 설명
$Framework Devise\Support\Framework Framework components being used from Laravel's framework
$Group DvsGroup

공개 메소드들

메소드 설명
__construct ( DvsGroup $Group, Framework $Framework ) Construct a new Group manager
createGroup ( array $input ) : DvsGroup Create a new Group
createRules ( ) : array Create validation rules
destroyGroup ( integer $id ) : DvsGroup Delete a Group
updateGroup ( integer $id, array $input ) : DvsGroup Update a new Group
updateRules ( integer $id, array $input ) : array Update validation rules

메소드 상세

__construct() 공개 메소드

Construct a new Group manager
public __construct ( DvsGroup $Group, Framework $Framework )
$Group DvsGroup
$Framework Devise\Support\Framework

createGroup() 공개 메소드

Create a new Group
public createGroup ( array $input ) : DvsGroup
$input array
리턴 DvsGroup $Group

createRules() 공개 메소드

Create validation rules
public createRules ( ) : array
리턴 array

destroyGroup() 공개 메소드

Delete a Group
public destroyGroup ( integer $id ) : DvsGroup
$id integer
리턴 DvsGroup $Group

updateGroup() 공개 메소드

Update a new Group
public updateGroup ( integer $id, array $input ) : DvsGroup
$id integer
$input array
리턴 DvsGroup $Group

updateRules() 공개 메소드

Update validation rules
public updateRules ( integer $id, array $input ) : array
$id integer
$input array
리턴 array

프로퍼티 상세

$Framework 보호되어 있는 프로퍼티

Framework components being used from Laravel's framework
protected Framework,Devise\Support $Framework
리턴 Devise\Support\Framework

$Group 보호되어 있는 프로퍼티

protected DvsGroup $Group
리턴 DvsGroup

$errors 공개적으로 프로퍼티

Errors are kept in an array and can be used later if validation fails and we want to know why
public array $errors
리턴 array

$messages 공개적으로 프로퍼티

Validation messages
public $messages