public function processPluginXML(Plugin $plugin, Errors &$errors, &$log = '', $xml = false)
    {
        if(!$xml)
            $xml = $this->loadXML($plugin->Path);

        $this->processConfig($plugin, $log, $xml);

        $this->processPermissions($plugin, $log, $xml);

        $this->processCMSNavItems($plugin, $log, $xml);

        $this->processElements($plugin, $log, $xml);

    }
public function processPluginXML(Plugin $plugin, Errors &$errors, &$log = '', $xml = false)
    {
        if(!$xml)
            $xml = $this->loadXML($plugin->Path);

        $this->processConfig($plugin, $log, $xml);

        $this->processPermissions($plugin, $log, $xml);

        $this->processCMSNavItems($plugin, $log, $xml);

        $this->processElements($plugin, $log, $xml);

    }
public function processPluginXML ( Plugin $ plugin , Errors & $ errors , & $ log = '' , $ xml = false ) { if ( ! $ xml ) $ xml = $ this -> loadXML ( $ plugin -> Path ) ; $ this -> processConfig ( $ plugin , $ log , $ xml ) ; $ this -> processPermissions ( $ plugin , $ log , $ xml ) ; $ this -> processCMSNavItems ( $ plugin , $ log , $ xml ) ; $ this -> processElements ( $ plugin , $ log , $ xml ) ; }
Processes the plugin's plugin.xml file

@param Plugin            $plugin  The Plugin we're processing
@param Errors            &$errors An errors object to update on errors
@param string            &$log    A log to update with status details
@param SimpleXMLExtended $xml     If specified, use this XML

@return void
Processes the plugin s plugin . xml file