Skip to content

Instantly share code, notes, and snippets.

Avatar

Ayoub Zamouchi azamouchi

View GitHub Profile
View gist:1fe45307e180b885ba21
function get_archives($app,$bbapp, $site) {
$response = array();
$page = $app->request->post('page') != null ? $app->request->post('page') : 0 ;
$root = $bbapp->getEntityManager()->getRepository('BackBuilder\NestedNode\Page')->getRoot($site);
// Construction du sélecteur de contenu
$selector = array(
You can’t perform that action at this time.