Skip to content
Snippets Groups Projects
Select Git revision
  • b83c512d20ae1d6343ade6c67761f5cb6212b6da
  • master default
  • next_version
  • laurent-change.log
  • Documentation_homogeneisation
  • HEAD
  • 2021.02.02
  • 2021.02.01
  • 2021.02.00
  • 2021.01.00
  • 2020.02.02
  • 2020.02.01
  • 2020.02.00
  • 2020.01.05
  • 2020.01.04
  • 2020.01.03
  • 2020.01.02
  • 2020.01.01
  • 2020.01.00
  • 2019.03.00
  • 2019.02.07
  • 2019.02.06
  • 2019.02.05
  • 2019.02.04
  • 2019.02.03
  • 2019.02.02
26 results

post-merge

Blame
  • Param_admins.class.inc 8.42 KiB
    <?php
    
    /**
     * \file Param_admins.class.inc
     * \class Param_admins
     *
     * \author WAB <support.wab@veremes.com>.
     *
     * 	\brief This file contains the Param_admins php class
     *
     * This class defines Rest Api to Vitis Param_admins
     * 
     */
    require_once __DIR__ . '/Anc.class.inc';
    require_once 'Param_admin.class.inc';
    
    
    class Param_admins extends Anc {
        /**
         * @SWG\Definition(
         *   definition="/param_admins",
         *   allOf={
         *     @SWG\Schema(ref="#/definitions/param_admins")
         *   }
         * )
         * * @SWG\Tag(
         *   name="Param_admins",
         *   description="Operations about Param_admins"
         * )
         */
    
        /**
         * construct
         * @param type $aPath url of the request
         * @param type $aValues parameters of the request
         * @param type $properties properties
         */
        function __construct($aPath, $aValues, $properties) {
            $this->aValues = $aValues;
            $this->aPath = $aPath;
            $this->aProperties = $properties;
            $this->oConnection = new Connection($this->aValues, $this->aProperties);
        }
    
        /**
         * @SWG\Get(path="/param_admins",
         *   tags={"Param_admins"},
         *   summary="Get Param_admins",
         *   description="Request to get Param_admins",
         *   operationId="GET",
         *   produces={"application/xml", "application/json", "application/x-vm-json"},
         *   @SWG\Parameter(
         *     name="token",
         *     in="query",
         *     description="user token",
         *     required=true,
         *     type="string"
         *   ),
         * @SWG\Parameter(
         *     name="order_by",
         *     in="query",
         *     description="list of ordering fields",
         *     required=false,
         *     type="string"
         *   ),
         * @SWG\Parameter(
         *     name="sort_order",
         *     in="query",
         *     description="sort_order",
         *     required=false,