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