/** * Creates all the pages that the user specified. */ function generatePages( $categoryName, $selectedPageList ) { $pageSchema = new PSSchema( $categoryName ); $pageSchema->generateAllPages( $selectedPageList ); }