Development

Changeset 5735

You must first sign up to be able to contribute.

Changeset 5735

Show
Ignore:
Timestamp:
10/29/07 07:16:43 (2 years ago)
Author:
dwhittle
Message:

fixed typo in sfWebResponse

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/response/sfWebResponse.class.php

    r5707 r5735  
    44 * This file is part of the symfony package. 
    55 * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> 
    6  *  
     6 * 
    77 * For the full copyright and license information, please view the LICENSE 
    88 * file that was distributed with this source code. 
     
    1313 * 
    1414 * This class manages web reponses. It supports cookies and headers management. 
    15  *  
     15 * 
    1616 * @package    symfony 
    1717 * @subpackage response 
     
    588588    } 
    589589 
    590     return isset($this->javascript[$position]) ? $this->javascript[$position] : array(); 
     590    return isset($this->javascripts[$position]) ? $this->javascripts[$position] : array(); 
    591591  } 
    592592 
     
    600600  public function addJavascript($js, $position = '', $options = array()) 
    601601  { 
    602     if (!isset($this->javascript[$position])) 
    603     { 
    604       $this->javascript[$position] = array(); 
    605     } 
    606  
    607     $this->javascript[$position][$js] = $options; 
     602    if (!isset($this->javascripts[$position])) 
     603    { 
     604      $this->javascripts[$position] = array(); 
     605    } 
     606 
     607    $this->javascripts[$position][$js] = $options; 
    608608  } 
    609609 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.