original_string: public function pasv($pasv) {
  		$this->connectIfNeeded();
  		$this->param = $pasv;
  
  		if (!ftp_pasv($this->handle, $pasv === true)) {
  			throw new FtpException(
  					Yii::t('gftp', 'Could not {set} passive mode on server "{host}": {message}', [
  						'host' => $this->host, 'set' => $pasv ? "set" : "unset"
  					])
  			);
  		}
  	}
code: public function pasv($pasv) {
  		$this->connectIfNeeded();
  		$this->param = $pasv;
  
  		if (!ftp_pasv($this->handle, $pasv === true)) {
  			throw new FtpException(
  					Yii::t('gftp', 'Could not {set} passive mode on server "{host}": {message}', [
  						'host' => $this->host, 'set' => $pasv ? "set" : "unset"
  					])
  			);
  		}
  	}
code_tokens: public function pasv ( $ pasv ) { $ this -> connectIfNeeded ( ) ; $ this -> param = $ pasv ; if ( ! ftp_pasv ( $ this -> handle , $ pasv === true ) ) { throw new FtpException ( Yii :: t ( 'gftp' , 'Could not {set} passive mode on server "{host}": {message}' , [ 'host' => $ this -> host , 'set' => $ pasv ? "set" : "unset" ] ) ) ; } }
docstring: Turns on or off passive mode.
  
  @param bool      $pasv          If <strong>TRUE</strong>, the passive mode is turned on, else it's turned off.
docstring_tokens: Turns on or off passive mode .