rename 'label' to 'name'.

Warning : this commit require to rename some table column, but the
original Version file has been update.

If you do not care to loose your date, you may run :

```
php app/console doctrine:migrations:execute --down 20160318111334
php app/console doctrine:migrations:execute --up 20160318111334
php app/console doctrine:cache:metadata #(if you have a cache for
doctrine meta date)
```
close #20
This commit is contained in:
2016-03-24 23:27:39 +01:00
parent 20c49d5bd0
commit d8de53ca3c
30 changed files with 71 additions and 71 deletions

View File

@@ -18,7 +18,7 @@ class Event implements HasCenterInterface, HasScopeInterface
/**
* @var string
*/
private $label;
private $name;
/**
* @var \DateTime
@@ -74,9 +74,9 @@ class Event implements HasCenterInterface, HasScopeInterface
*
* @return Event
*/
public function setLabel($label)
public function setName($label)
{
$this->label = $label;
$this->name = $label;
return $this;
}
@@ -86,9 +86,9 @@ class Event implements HasCenterInterface, HasScopeInterface
*
* @return string
*/
public function getLabel()
public function getName()
{
return $this->label;
return $this->name;
}
/**

View File

@@ -15,7 +15,7 @@ class EventType
/**
* @var array
*/
private $label;
private $name;
/**
* @var boolean
@@ -58,9 +58,9 @@ class EventType
*
* @return EventType
*/
public function setLabel($label)
public function setName($label)
{
$this->label = $label;
$this->name = $label;
return $this;
}
@@ -70,9 +70,9 @@ class EventType
*
* @return array
*/
public function getLabel()
public function getName()
{
return $this->label;
return $this->name;
}
/**

View File

@@ -15,7 +15,7 @@ class Role
/**
* @var array
*/
private $label;
private $name;
/**
* @var boolean
@@ -45,9 +45,9 @@ class Role
*
* @return Role
*/
public function setLabel($label)
public function setName($label)
{
$this->label = $label;
$this->name = $label;
return $this;
}
@@ -57,9 +57,9 @@ class Role
*
* @return array
*/
public function getLabel()
public function getName()
{
return $this->label;
return $this->name;
}
/**

View File

@@ -15,7 +15,7 @@ class Status
/**
* @var array
*/
private $label;
private $name;
/**
* @var boolean
@@ -41,13 +41,13 @@ class Status
/**
* Set label
*
* @param array $label
* @param array $name
*
* @return Status
*/
public function setLabel($label)
public function setName($name)
{
$this->label = $label;
$this->name = $name;
return $this;
}
@@ -57,9 +57,9 @@ class Status
*
* @return array
*/
public function getLabel()
public function getName()
{
return $this->label;
return $this->name;
}