| 1 | <?php |
||
| 9 | class ResqueJob extends ViewableData { |
||
| 10 | |||
| 11 | /** |
||
| 12 | * @var array |
||
| 13 | */ |
||
| 14 | protected $record = array(); |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param array $data |
||
| 18 | */ |
||
| 19 | public function __construct($data = array()) { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public function i18n_singular_name() { |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @return boolean |
||
| 32 | */ |
||
| 33 | public function canView() { |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function canEdit() { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return bool |
||
| 46 | */ |
||
| 47 | public function candelete() { |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return bool |
||
| 53 | */ |
||
| 54 | public function cancreate() { |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param string $property |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | public function __get($property) { |
||
| 68 | |||
| 69 | } |
||
| 70 |