Project

General

Profile

Revision ad6689da

IDad6689dab313422a6e82633e880db45853e85c67
Parent 077e4de7
Child 1be75264

Added by Francois POIROTTE about 7 years ago

Davantage de correction liƩes aux conventions

Change-Id: I7680cf42d0b10ac300d44085d695e15064d33094
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2369
Tested-by: Build system <>
Reviewed-by: Francois POIROTTE <>

View differences:

src/Vigilo/VigiloGroups.php
3 3
class VigiloGroups extends VigiloXml
4 4
{
5 5
    protected $name;
6
    protected $grps;
6
    protected $groups;
7 7

  
8 8
    public function __construct($name)
9 9
    {
10
        $this->name = $name;
11
        $this->grps=array();
10
        $this->name     = $name;
11
        $this->groups   = array();
12 12
    }
13 13
    
14 14
    public function getName()
......
18 18

  
19 19
    public function addSubGroup(VigiloGroups $subGroup)
20 20
    {
21
        $this->grps[$subGroup->getName()] = $subGroup;
21
        $this->groups[$subGroup->getName()] = $subGroup;
22 22
    }
23 23

  
24 24
    public function __toString()
......
26 26
        return self::sprintf(
27 27
            '<group name="%s">%s</group>',
28 28
            $this->name,
29
            $this->grps
29
            $this->groups
30 30
        );
31 31
    }
32 32
}

Also available in: Unified diff