Gdn_Plugin::__construct PHP Method

__construct() public method

Initialize a new instance of the {@link Gdn_Plugin} class.
public __construct ( )
    public function __construct()
    {
        parent::__construct();
    }

Usage Example

 public function __construct()
 {
     parent::__construct();
     if (!C('Garden.Locales.DeveloperMode', FALSE)) {
         SaveToConfig('Garden.Locales.DeveloperMode', TRUE);
     }
 }
All Usage Examples Of Gdn_Plugin::__construct