public function confirmDeleteCollection($args)
    {
        // Get dependencies
        $collectionMapper = ($this->container->dataMapper)('CollectionMapper');
        $pageMapper = ($this->container->dataMapper)('PageMapper');

        $data = $collectionMapper->findById($args['id']);
        $data->pages = $pageMapper->findCollectionPagesById($args['id'], false);

        return $this->render('confirmDeleteCollection.html', $data);
    }
public function confirmDeleteCollection($args)
    {
        // Get dependencies
        $collectionMapper = ($this->container->dataMapper)('CollectionMapper');
        $pageMapper = ($this->container->dataMapper)('PageMapper');

        $data = $collectionMapper->findById($args['id']);
        $data->pages = $pageMapper->findCollectionPagesById($args['id'], false);

        return $this->render('confirmDeleteCollection.html', $data);
    }
public function confirmDeleteCollection ( $ args ) { // Get dependencies $ collectionMapper = ( $ this -> container -> dataMapper ) ( 'CollectionMapper' ) ; $ pageMapper = ( $ this -> container -> dataMapper ) ( 'PageMapper' ) ; $ data = $ collectionMapper -> findById ( $ args [ 'id' ] ) ; $ data -> pages = $ pageMapper -> findCollectionPagesById ( $ args [ 'id' ] , false ) ; return $ this -> render ( 'confirmDeleteCollection.html' , $ data ) ; }
Confirm Delete Collection

Shows all pages to be deleted
Confirm Delete Collection