protected function Gardener::isNew in Backup and migrate prune 7
Same name and namespace in other branches
- 7.2 class/Gardener.php \Gardener::isNew()
This method tells if the gardener is new and has not yet been persisted in the database
Return value
Boolean indicating if the gardener is new.
1 call to Gardener::isNew()
- Gardener::save in class/
Gardener.php - Persist the settings for this gardener
File
- class/
Gardener.php, line 441 - Gardener class implementation file
Class
- Gardener
- Gardener class implementation
Code
protected function isNew() {
return !is_numeric($this
->getId());
}