Lines Matching defs:mode
57 private $mode;
238 * @param string $mode
243 private function _stream_open($path, $mode, $options, &$opened_path)
253 $this->mode = preg_replace('#[bt]$#', '', $mode);
257 if ($this->mode[0] == 'r') {
264 switch ($this->mode[0]) {
273 $this->pos = $this->mode[0] != 'a' ? 0 : $this->size;
286 switch ($this->mode) {
327 switch ($this->mode) {
506 * The only $options is "whether or not to enforce safe_mode (0x04)". Since safe mode was deprecated in 5.3 and
577 * @param int $mode
581 private function _mkdir($path, $mode, $options)
588 return $this->sftp->mkdir($path, $mode, $options & STREAM_MKDIR_RECURSIVE);
659 * might be worthwhile to reconstruct bits 12-16 (ie. the file type) if mode doesn't have them but we'll