function cmfcClassesCoreStandAlone::saveToMemento in Calendar Systems 6.3
Same name and namespace in other branches
- 8 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::saveToMemento()
- 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::saveToMemento()
- 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::saveToMemento()
- 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::saveToMemento()
- 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::saveToMemento()
- 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::saveToMemento()
memento design pattern will clone the object for adding undo ability. @todo - should become complete
File
- calendar/
lib/ classesCore.class.inc.php, line 417
Class
- cmfcClassesCoreStandAlone
- all cmf classes inherit from this class
Code
function saveToMemento() {
return clone $this;
}