Generating an Asset-folder in pimcore -


i can generate object-folder in pimcore via pimcore\model\object\folder::create(). unfortunately there no such function in asset\folder.
has idea how generate asset-folder without hacking db?

take how admin ui in:

/pimcore/modules/admin/controllers/assetcontroller.php / addfolderaction() line 331:

            $asset = asset::create($this->getparam("parentid"), array(                 "filename" => $this->getparam("name"),                 "type" => "folder",                 "userowner" => $this->user->getid(),                 "usermodification" => $this->user->getid()             )); 

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -