Development

Changeset 1411

You must first sign up to be able to contribute.

Changeset 1411

Show
Ignore:
Timestamp:
06/09/06 15:39:22 (2 years ago)
Author:
fabien
Message:

fixed getRawObject method on sfOutputEscaperObjectDecorator (closes #481 - patch from Mike Squire)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/view/escaper/sfOutputEscaper.class.php

    r1321 r1411  
    115115    throw new sfException(sprintf('Unable to escape value "%s"', print_r($value, true))); 
    116116  } 
     117 
     118  /** 
     119   * Return the raw value associated with this instance. 
     120   * 
     121   * Concrete instances of sfOutputEscaper classes decorate a value which is 
     122   * stored by the constructor. This returns that original, unescaped, value. 
     123   * 
     124   * @return mixed the original value used to construct the decorator 
     125   */ 
     126  public function getRawValue() 
     127  { 
     128    return $this->value; 
     129  } 
    117130} 
    118131