<?php
/**
 * Created by PhpStorm.
 * User: Thilina
 * Date: 8/19/17
 * Time: 3:09 PM
 */

namespace Metadata\Common\Model;

use Classes\ModuleAccess;
use Model\BaseModel;

class SupportedLanguage extends BaseModel
{
    public $table = 'SupportedLanguages';

    public function getAdminAccess()
    {
        return array("get","element","save","delete");
    }

    public function getUserAccess()
    {
        return array();
    }

    public function getAnonymousAccess()
    {
        return array("get","element");
    }

    public function getModuleAccess()
    {
        return [
            new ModuleAccess('metadata', 'admin'),
        ];
    }
}
