2009-10-16 00:27:56 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* A PermissionRoleCode represents a single permission code assigned to a {@link PermissionRole}.
|
2010-04-23 03:04:16 +02:00
|
|
|
*
|
2012-04-12 08:02:46 +02:00
|
|
|
* @package framework
|
2010-04-23 03:04:16 +02:00
|
|
|
* @subpackage security
|
2009-10-16 00:27:56 +02:00
|
|
|
*/
|
|
|
|
class PermissionRoleCode extends DataObject {
|
2013-03-21 19:48:54 +01:00
|
|
|
private static $db = array(
|
2009-10-16 00:27:56 +02:00
|
|
|
"Code" => "Varchar",
|
|
|
|
);
|
|
|
|
|
2013-03-21 19:48:54 +01:00
|
|
|
private static $has_one = array(
|
2009-10-16 00:27:56 +02:00
|
|
|
"Role" => "PermissionRole",
|
|
|
|
);
|
2012-03-24 04:04:52 +01:00
|
|
|
}
|