Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.334 kB
<?php
class Model_Module extends RedBean_SimpleModel {
public function update() {
if (R::find('module', 'name = :name', array(':name' => $this->name))) {
throw new Exception('Module with name already exists.');
}
}
}
class Model_Resource extends RedBean_SimpleModel {
// TODO Implemnt.
}
?>
Jump to Line
Something went wrong with that request. Please try again.