Skip to content

Instantly share code, notes, and snippets.

View azamouchi's full-sized avatar

Ayoub Zamouchi azamouchi

  • YASSIR
  • Algeria, Blida
View GitHub Profile
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(