src/Chamilo/PageBundle/Entity/User.php 1 location
|
@@ 2232-2241 (lines=10) @@
|
| 2229 |
|
return $this; |
| 2230 |
|
} |
| 2231 |
|
|
| 2232 |
|
public function setSuperAdmin($boolean) |
| 2233 |
|
{ |
| 2234 |
|
if (true === $boolean) { |
| 2235 |
|
$this->addRole(static::ROLE_SUPER_ADMIN); |
| 2236 |
|
} else { |
| 2237 |
|
$this->removeRole(static::ROLE_SUPER_ADMIN); |
| 2238 |
|
} |
| 2239 |
|
|
| 2240 |
|
return $this; |
| 2241 |
|
} |
| 2242 |
|
|
| 2243 |
|
public function setPlainPassword($password) |
| 2244 |
|
{ |
src/Chamilo/UserBundle/Entity/User.php 1 location
|
@@ 2306-2315 (lines=10) @@
|
| 2303 |
|
return $this; |
| 2304 |
|
} |
| 2305 |
|
|
| 2306 |
|
public function setSuperAdmin($boolean) |
| 2307 |
|
{ |
| 2308 |
|
if (true === $boolean) { |
| 2309 |
|
$this->addRole(static::ROLE_SUPER_ADMIN); |
| 2310 |
|
} else { |
| 2311 |
|
$this->removeRole(static::ROLE_SUPER_ADMIN); |
| 2312 |
|
} |
| 2313 |
|
|
| 2314 |
|
return $this; |
| 2315 |
|
} |
| 2316 |
|
|
| 2317 |
|
public function setPlainPassword($password) |
| 2318 |
|
{ |