| @@ 299-306 (lines=8) @@ | ||
| 296 | return (string) $this->getStat(4); |
|
| 297 | } |
|
| 298 | ||
| 299 | public function getOwner() |
|
| 300 | { |
|
| 301 | if (!isset($this->_stat['owner'])) { |
|
| 302 | $this->_stat['owner'] = posix_getpwuid($this->getUid()); |
|
| 303 | } |
|
| 304 | ||
| 305 | return $this->getStat('owner')['name']; |
|
| 306 | } |
|
| 307 | ||
| 308 | public function getGid() |
|
| 309 | { |
|
| @@ 313-320 (lines=8) @@ | ||
| 310 | return (string) $this->getStat(5); |
|
| 311 | } |
|
| 312 | ||
| 313 | public function getGroup() |
|
| 314 | { |
|
| 315 | if (!isset($this->_stat['group'])) { |
|
| 316 | $this->_stat['group'] = posix_getgrgid($this->getGid()); |
|
| 317 | } |
|
| 318 | ||
| 319 | return $this->getStat('group')['name']; |
|
| 320 | } |
|
| 321 | ||
| 322 | public function getPermissions() |
|
| 323 | { |
|