silverstripe-framework/security/PermissionRoleCode.php

14 lines
270 B
PHP
Raw Normal View History

<?php
/**
* A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
*/
class PermissionRoleCode extends DataObject {
static $db = array(
"Code" => "Varchar",
);
static $has_one = array(
"Role" => "PermissionRole",
);
}