PHP Interface Stevemo\Cpanel\Permission\Form\PermissionFormInterface

显示文件 Open project: stevemo/cpanel Interface Usage Examples

Public Methods

Method Description
create ( array $data ) : StdClass Create a new set of permissions
getErrors ( ) : array Get the validation errors
update ( array $data ) : StdClass Update a current set of permissions

Method Details

create() public method

Create a new set of permissions
Author: Steve Montambeault
public create ( array $data ) : StdClass
$data array
return StdClass

getErrors() public method

Get the validation errors
Author: Steve Montambeault
public getErrors ( ) : array
return array

update() public method

Update a current set of permissions
Author: Steve Montambeault
public update ( array $data ) : StdClass
$data array
return StdClass