Yaf_View_Simple::clear

(Ingen versionsoplysninger tilgængelige, findes måske kun i SVN)

Yaf_View_Simple::clearClear Assigned values

Beskrivelse

public bool Yaf_View_Simple::clear ([ string $name ] )

Advarsel

This function is currently not documented; only its argument list is available.

Parametre

name

assigned variable name

if empty, will clear all assigned variables

Returnerings Værdier

Eksempler

Eksempel #1 Yaf_View_Simple::clear()example

<?php
class IndexController extends Yaf_Controller_Abstract {
    public function 
indexAction() {
        
$this->getView()->clear("foo")->clear("bar"); // clear "foo" and "bar"
        
$this->_view->clear(); //clear all assigned variables
    
}
?>

Se også

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top