| @@ 328-335 (lines=8) @@ | ||
| 325 | return (string) $this->getStat(4); |
|
| 326 | } |
|
| 327 | ||
| 328 | public function getOwner() |
|
| 329 | { |
|
| 330 | if (!isset($this->_stat['owner'])) { |
|
| 331 | $this->_stat['owner'] = posix_getpwuid($this->getUid()); |
|
| 332 | } |
|
| 333 | ||
| 334 | return $this->getStat('owner')['name']; |
|
| 335 | } |
|
| 336 | ||
| 337 | public function getGid() |
|
| 338 | { |
|
| @@ 342-349 (lines=8) @@ | ||
| 339 | return (string) $this->getStat(5); |
|
| 340 | } |
|
| 341 | ||
| 342 | public function getGroup() |
|
| 343 | { |
|
| 344 | if (!isset($this->_stat['group'])) { |
|
| 345 | $this->_stat['group'] = posix_getgrgid($this->getGid()); |
|
| 346 | } |
|
| 347 | ||
| 348 | return $this->getStat('group')['name']; |
|
| 349 | } |
|
| 350 | ||
| 351 | public function getPermissions() |
|
| 352 | { |
|