Class FreezableObject (namespace Nette)


Defines an object that has a modifiable state and a read-only (frozen) state.

Object
   |
   --FreezableObject

Direct Known Sub-classes:

Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Abstract:
Located: in /FreezableObject.php (line 35)
Public Method Summary
void
freeze ()
Makes the object unmodifiable.
bool
Is the object unmodifiable?
void
__clone ()
Creates a modifiable clone of the object.
Protected Method Summary
protected void
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()

Method Details

line 46

freeze

public void freeze ()

Makes the object unmodifiable.

Output
void  

line 57

isFrozen

public bool isFrozen ()

Is the object unmodifiable?

Output
bool  

line 78

updating

protected void updating ()

Output
void  

line 68

__clone

public void __clone ()

Creates a modifiable clone of the object.

Output
void