/**
* Delete this entity.
*
+ * @param bool $recursive Whether to delete all the entities contained by this entity
+ *
* @return bool
*/
- public function delete() {
- return delete_entity($this->get('guid'));
+ public function delete($recursive = true) {
+ return delete_entity($this->get('guid'), $recursive);
}
/*
return $this->get('geo:long');
}
- /**
- * Return the entity's location
- *
- * @return string
- */
- public function getLocation() {
- return $this->get('location');
- }
-
/*
* NOTABLE INTERFACE
*/