public function delete($category)
    {
        if (!is_object($category)) {
            $category = $this->find($category);
        }

        if ($category instanceof category) {
            if ($this->fireEvent('deleting', array($category)) === false) {
                return false;
            }

            $category->setCaller($this);
            $category->delete($this);

            $this->fireEvent('deleted', array($category));
        }
    }