You are here

function cmfcClassesCoreStandAlone::cmfcClassesCore in Calendar Systems 8

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

* there is no __construct function in php4 or down , so this function is solution , now it's possible * for all chid of this base class to have __construct functions *

File

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

Class

cmfcClassesCoreStandAlone
all cmf classes inherit from this class

Code

function cmfcClassesCore() {
  $args = func_get_args();
  if (is_callable(array(
    &$this,
    "__construct",
  ))) {
    call_user_func_array(array(
      &$this,
      "__construct",
    ), $args);
  }
}