You are here

function cmfcClassesCoreStandAlone::restoreFromMemento in Calendar Systems 8

Same name and namespace in other branches
  1. 8.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::restoreFromMemento()
  2. 6.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::restoreFromMemento()
  3. 6 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::restoreFromMemento()
  4. 7.3 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::restoreFromMemento()
  5. 7 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::restoreFromMemento()
  6. 7.2 calendar/lib/classesCore.class.inc.php \cmfcClassesCoreStandAlone::restoreFromMemento()

memento design pattern will load the object previous state @todo - should become complete

File

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

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

function restoreFromMemento($object) {

  //commented duo to incopatiblility with php5

  //$this=$object;
}