Development

Changeset 5955

You must first sign up to be able to contribute.

Changeset 5955

Show
Ignore:
Timestamp:
11/10/07 16:08:58 (1 year ago)
Author:
fabien
Message:

added sfView::isAttributeHolderEscaped() method

Files:

Legend:

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

    r5025 r5955  
    137137 
    138138  /** 
     139   * Returns true if the current attribute holder automatically escapes attributes. 
     140   * 
     141   * @return Boolean true if the attribute holder escapes attributes, false otherwise 
     142   */ 
     143  public function isAttributeHolderEscaped() 
     144  { 
     145    return $this->attributeHolder instanceof sfEscapedViewParameterHolder; 
     146  } 
     147 
     148  /** 
    139149   * Executes any presentation logic and set template attributes. 
    140150   */