__Obj

Navigation:  Development > Architecture and Standard > App Factory >

__Obj

Previous pageReturn to chapter overviewNext page

Create object of a class.
 
App::__Obj(ClassName);

 

This method used if to create a class object directly but by default we use App Factory convention to load it.
 

Parameter

Description

ClassName

Class Name based on the path

 

See below example:

 

$Mail = App::__Obj('Development_Plugin_Mailing_Phpmailer');