/** * Create a new album. * * @param int $parentAlbumId the id of the parent album * @param string $name the name of the new album * @param string $title the title of the new album * @param string $summary the summary of the new album * @param string $description the description of the new album * @param string $keywords the keywords of the new album * @return array GalleryStatus a status code * GalleryAlbumItem a new album */ function createAlbum($parentAlbumId, $name, $title, $summary, $description, $keywords) { MyOOS_CoreApi::requireOnce('modules/core/classes/helpers/GalleryItemHelper_advanced.class'); return GalleryItemHelper_advanced::createAlbum($parentAlbumId, $name, $title, $summary, $description, $keywords); }