Pimcore\Model\Object\ClassDefinition\Dao::updateClassNameInObjects PHP Метод

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

Update the class name in all object
public updateClassNameInObjects ( $newName ) : void
Результат void
    public function updateClassNameInObjects($newName)
    {
        $this->db->update("objects", ["o_className" => $newName], $this->db->quoteInto("o_classId = ?", $this->model->getId()));
        $this->db->update("object_query_" . $this->model->getId(), ["oo_className" => $newName]);
    }