doc.silverstripe.org/sapphire/security/PermissionRoleCode.php
2011-04-10 21:53:26 +00:00

16 lines
318 B
PHP

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