Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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.

if ( func_num_args() == 1 ) { 
    $class = new $real_class(); 
}

Related Tasks

INP-392 - Getting issue details... STATUS

  • No labels