mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-23 02:14:16 +00:00
Add a utility IsCreate() method opposite to IsUpdate().
This commit is contained in:
parent
bbbe16aebd
commit
a55bb84057
@ -222,6 +222,10 @@ class Editor
|
|||||||
return $is_update;
|
return $is_update;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function IsCreate() {
|
||||||
|
return ! $this->IsUpdate();
|
||||||
|
}
|
||||||
|
|
||||||
function SetWhere( $where_clause ) {
|
function SetWhere( $where_clause ) {
|
||||||
$this->Where = $where_clause;
|
$this->Where = $where_clause;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user