Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/21f5102cb136107e#

Method kBase::makeClass is calling ref_call_user_func_array no matter if he
has only class name or class name + constructor arguments passed. This slows
downs the things a little bit. I propose to use code, mentioned above, that
was called from kFactory class to optimize things.

Code Block
if ( func_num_args() == 1 )

...

 { 
    $class = new $real_class();

...

 
}

Related Tasks

Jira Legacy
serverSystem Jira
serverId513b375f-8291-3313-9d9f-704c39b1f915
keyINP-392