You are here

function cmfcClassesCore::saveToMemento in Calendar Systems 5

memento design pattern will clone the object for adding undo ability. @todo - should become complete

File

calendar/lib/classesCore.class.inc.php, line 333

Class

cmfcClassesCore
all cmf classes inherit from this class

Code

function saveToMemento() {
  return clone $this;
}