Added DMSDocument->delete() implemenetation to adhere to interface

Teamcity's PHP complained about it being inherited from DataObject
and declared abstract through the interface
This commit is contained in:
Ingo Schommer 2012-07-16 21:34:52 +02:00
parent 2068a6d590
commit e28fb439a6
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ class DMSDocument extends DataObject implements DMSDocumentInterface {
"Filename" => "Text",
);
function delete() {
parent::delete();
}
/**
* Associates this document with a Page. This method does nothing if the association already exists.
* This could be a simple wrapper around $myDoc->Pages()->add($myPage) to add a has_many relation