/** * Execute the deletion handling * * @return boolean Success/failure of delete */ public function execute() { $args = $this->getArguments(); $name = $this->getName(); $model = g::buildModel('delete', $name, $args); return $this->getDb()->delete($model); }