Class FreezableObject (namespace Nette)


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

Object
   |
   --FreezableObject

Direct Known Sub-classes:

Copyright: Copyright (c) 2004, 2010 David Grudl
Abstract:
Located: in /FreezableObject.php (line 23)
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 34

freeze

public void freeze ()

Makes the object unmodifiable.

Output
void  

line 45

isFrozen

public bool isFrozen ()

Is the object unmodifiable?

Output
bool  

line 66

updating

protected void updating ()

Output
void  

line 56

__clone

public void __clone ()

Creates a modifiable clone of the object.

Output
void