Version: current

     1 <?php
     2 /**
     3  * A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
     4  *
     5  * @package sapphire
     6  * @subpackage security
     7  */
     8 class PermissionRoleCode extends DataObject {
     9     static $db = array(
    10         "Code" => "Varchar",
    11     );
    12
    13     static $has_one = array(
    14         "Role" => "PermissionRole",
    15     );
    16 }

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -