/** * Fetches the numeric column by the column id * @param $key * @return int|null */ public function get_column_by_key($key) { if ($this->keys == null) { return null; } return $this->keys->int($key); }
public function __construct(AccessibleArray $ar) { $this->dev = $ar->int('dev'); $this->ino = $ar->int('ino'); $this->mode = $ar->int('mode'); $this->nlink = $ar->int('nlink'); $this->uid = $ar->int('uid'); $this->gid = $ar->int('gid'); $this->rdev = $ar->int('rdev'); $this->size = $ar->int('size'); $this->atime = $ar->int('atime'); $this->mtime = $ar->int('mtime'); $this->ctime = $ar->int('ctime'); $this->blksize = $ar->int('blksize'); $this->blocks = $ar->int('blocks'); }