You are here

function cmfcClassesCore::cmfcClassesCore in Calendar Systems 5

* 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 72

Class

cmfcClassesCore
all cmf classes inherit from this class

Code

function cmfcClassesCore() {

  //$this->PEAR(get_class($this));
  $args = func_get_args();
  if (is_callable(array(
    &$this,
    "__construct",
  ))) {
    call_user_func_array(array(
      &$this,
      "__construct",
    ), $args);
  }
}