Refactoring
This commit is contained in:
32
src/Employees/Common/Model/EmploymentStatus.php
Normal file
32
src/Employees/Common/Model/EmploymentStatus.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Thilina
|
||||
* Date: 8/19/17
|
||||
* Time: 10:40 AM
|
||||
*/
|
||||
|
||||
namespace Employees\Common\Model;
|
||||
|
||||
use Model\BaseModel;
|
||||
|
||||
class EmploymentStatus extends BaseModel
|
||||
{
|
||||
|
||||
var $_table = 'EmploymentStatus';
|
||||
|
||||
public function getAdminAccess()
|
||||
{
|
||||
return array("get","element","save","delete");
|
||||
}
|
||||
|
||||
public function getManagerAccess()
|
||||
{
|
||||
return array("get","element","save");
|
||||
}
|
||||
|
||||
public function getUserAccess()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user