public function actionDisplayNextPlans()
 {
     if (isset($_GET['p']) && $_GET['p'] && isset($_GET['i']) && $_GET['i'] && ControleurRights::canDisplayPlans()) {
         $id_plan = $_GET['p'];
         $plan = new Plan();
         $plan->setId($id_plan);
         $order[] = Plan::getSorter(PlanColumns::created_timestamp, true);
         $filter[] = Plan::getFilter(PlanColumns::id_project, $_GET['i']);
         $from = $plan->getEntityPosition(array(), $order);
         return Plan::getEntitySet($filter, $order, $from, $from + $this::PLANS_NUMBER);
     }
 }
 public function setId($id)
 {
     $this->_load();
     return parent::setId($id);
 }