original_string: final public function open(
  		$url              = null,
  		array $paramaters = array(),
  		$replace          = false,
  		$name             = '_blank'
  	)
  	{
  		$specs = [
  			'height'    => 500, // The height of the window. Min. value is 100
  			'width'     => 500, // The width of the window. Min. value is 100
  			'top'       => 0,   // The top position of the window.
  			'left'      => 0,   // The left position of the window.
  			'resizable' => 1,   // Whether or not the window is resizable. IE only
  			'titlebar'  => 0,   // Whether or not to display the title bar
  			'menubar'   => 0,   // Whether or not to display the menu bar
  			'toolbar'   => 0,   // Whether or not to display the browser toolbar. IE and Firefox only
  			'status'    => 0    // Whether or not to add a status bar
  		];
  
  		$specs = array_merge($specs, $paramaters);
  
  		$this->response['open'] = [
  			'url'     => $url,
  			'name'    => $name,
  			'specs'   => $specs,
  			'replace' => $replace
  		];
  
  		return $this;
  	}
code: final public function open(
  		$url              = null,
  		array $paramaters = array(),
  		$replace          = false,
  		$name             = '_blank'
  	)
  	{
  		$specs = [
  			'height'    => 500, // The height of the window. Min. value is 100
  			'width'     => 500, // The width of the window. Min. value is 100
  			'top'       => 0,   // The top position of the window.
  			'left'      => 0,   // The left position of the window.
  			'resizable' => 1,   // Whether or not the window is resizable. IE only
  			'titlebar'  => 0,   // Whether or not to display the title bar
  			'menubar'   => 0,   // Whether or not to display the menu bar
  			'toolbar'   => 0,   // Whether or not to display the browser toolbar. IE and Firefox only
  			'status'    => 0    // Whether or not to add a status bar
  		];
  
  		$specs = array_merge($specs, $paramaters);
  
  		$this->response['open'] = [
  			'url'     => $url,
  			'name'    => $name,
  			'specs'   => $specs,
  			'replace' => $replace
  		];
  
  		return $this;
  	}
code_tokens: final public function open ( $ url = null , array $ paramaters = array ( ) , $ replace = false , $ name = '_blank' ) { $ specs = [ 'height' => 500 , // The height of the window. Min. value is 100 'width' => 500 , // The width of the window. Min. value is 100 'top' => 0 , // The top position of the window. 'left' => 0 , // The left position of the window. 'resizable' => 1 , // Whether or not the window is resizable. IE only 'titlebar' => 0 , // Whether or not to display the title bar 'menubar' => 0 , // Whether or not to display the menu bar 'toolbar' => 0 , // Whether or not to display the browser toolbar. IE and Firefox only 'status' => 0 // Whether or not to add a status bar ] ; $ specs = array_merge ( $ specs , $ paramaters ) ; $ this -> response [ 'open' ] = [ 'url' => $ url , 'name' => $ name , 'specs' => $ specs , 'replace' => $ replace ] ; return $ this ; }
docstring: Open a popup using JavaScript
  
  @param  string $url        Specifies the URL of the page to open
  @param  array  $paramaters See comments on $specs
  @param  bool $replace      Creates a new entry or replaces the current entry in the history list
  @param  string $name       Specifies the target attribute or the name of the window
  @return self
  @see http://www.w3schools.com/jsref/met_win_open.asp
  @example $resp->open('example.com', ['width' => 900], false, '_top')
docstring_tokens: Open a popup using JavaScript