Sulu\Bundle\CategoryBundle\Category\CategoryManagerInterface::save PHP 메소드

save() 공개 메소드

If data.id is set, the category which is assigned to the given id is overwritten. If patch is set, the category which is assigned to the given id is updated partially.
public save ( $data, $userId, $locale, boolean $patch = false ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
$data
$userId int Id of the user which is set as creator/changer. If null, the user of the request is set
$locale
$patch boolean
리턴 Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
    public function save($data, $userId, $locale, $patch = false);