public static function fromArray(array $array)
 {
     $parameters = new PlanningParameters();
     $parameters->name = PlanningParameters::get($array, 'name');
     $parameters->backlog_title = PlanningParameters::get($array, 'backlog_title');
     $parameters->plan_title = PlanningParameters::get($array, 'plan_title');
     $parameters->backlog_tracker_id = PlanningParameters::get($array, 'backlog_tracker_id');
     $parameters->planning_tracker_id = PlanningParameters::get($array, 'planning_tracker_id');
     return $parameters;
 }
 public static function fromArray(array $array)
 {
     $parameters = new PlanningParameters();
     $backlog_ids = PlanningParameters::get($array, self::BACKLOG_TRACKER_IDS);
     $parameters->name = PlanningParameters::get($array, self::NAME);
     $parameters->backlog_title = PlanningParameters::get($array, self::BACKLOG_TITLE);
     $parameters->plan_title = PlanningParameters::get($array, self::PLANNING_TITLE);
     $parameters->backlog_tracker_ids = $backlog_ids ? $backlog_ids : array();
     $parameters->planning_tracker_id = PlanningParameters::get($array, self::PLANNING_TRACKER_ID);
     $parameters->priority_change_permission = PlanningParameters::get($array, PlanningPermissionsManager::PERM_PRIORITY_CHANGE);
     return $parameters;
 }