Private GIT

Skip to content
Snippets Groups Projects
Commit 31ee4174 authored by Lionel Assepo's avatar Lionel Assepo
Browse files

* Fix issue wit Options Form

parent 83299009
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class Full extends Generator
/**
*
* @param boolean $advanced
* @throws Exception
*/
public function getFormFromDatabase()
{
......
......@@ -36,7 +36,7 @@
namespace CentreonAdministration\Controllers;
use Centreon\Internal\Form;
use Centreon\Internal\Form\Generator;
use Centreon\Internal\Form\Generator\Web\Full;
use CentreonAdministration\Repository\AclactionRepository;
use Centreon\Internal\Di;
use Centreon\Controllers\FormController;
......
......@@ -36,7 +36,7 @@
namespace CentreonAdministration\Controllers;
use Centreon\Internal\Form;
use Centreon\Internal\Form\Generator;
use Centreon\Internal\Form\Generator\Web\Full;
use CentreonAdministration\Models\Options;
use CentreonAdministration\Repository\OptionRepository;
use Centreon\Internal\Controller;
......
......@@ -44,6 +44,10 @@ use Centreon\Internal\Di;
*/
class Options
{
/**
*
* @return type
*/
public static function getOptionsKeysList()
{
$db = Di::getDefault()->get('db_centreon');
......@@ -58,6 +62,12 @@ class Options
return $finalList;
}
/**
*
* @param type $group
* @param array $options
* @return type
*/
public static function getList($group = null, array $options = array())
{
$db = Di::getDefault()->get('db_centreon');
......@@ -109,6 +119,7 @@ class Options
/**
*
* @param type $values
* @param type $group
*/
public static function insert($values, $group = "default")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment