Add a utility IsCreate() method opposite to IsUpdate().

This commit is contained in:
Andrew McMillan 2010-01-11 10:16:07 +13:00
parent bbbe16aebd
commit a55bb84057

View File

@ -222,6 +222,10 @@ class Editor
return $is_update;
}
function IsCreate() {
return ! $this->IsUpdate();
}
function SetWhere( $where_clause ) {
$this->Where = $where_clause;
}