Pimcore\Model\Search\Backend\Data\Dao::save PHP Метод

save() публичный Метод

public save ( )
    public function save()
    {
        try {
            $data = ["id" => $this->model->getId()->getId(), "fullpath" => $this->model->getFullPath(), "maintype" => $this->model->getId()->getType(), "type" => $this->model->getType(), "subtype" => $this->model->getSubtype(), "published" => $this->model->isPublished(), "creationdate" => $this->model->getCreationDate(), "modificationdate" => $this->model->getmodificationDate(), "userowner" => $this->model->getUserOwner(), "usermodification" => $this->model->getUserModification(), "data" => $this->model->getData(), "properties" => $this->model->getProperties()];
            $this->db->insertOrUpdate("search_backend_data", $data);
        } catch (\Exception $e) {
            Logger::error($e);
        }
    }