Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Lars Wichmann
Added: Nov 5, 2018 10:01 AM
Views: 19
Tags: pimcore tag
  1.  $tag = new Tag();
  2.         $tag->setName($name);
  3.         $tag->setParentId($parentId);
  4.         $tag->save();