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