PluginDeploy
    
            
            in package
            
        
    
    
    
        
            Description of PluginDeploy
Tags
Table of Contents
- $enabledPlugins : array<string|int, mixed>
- $fileList : array<string|int, mixed>
- deploy() : mixed
- Deploy all the necessary files in the Dinamic folder to be able to use plugins with the autoloader, but following the priority system of FacturaScripts.
- initControllers() : void
- Initialize the controllers dynamically.
- createFolder() : bool
- Create the folder.
- extensionSupport() : bool
- getClassType() : string
- linkFile() : mixed
- Link other static files.
- linkFiles() : mixed
- Link the files.
- linkPHPFile() : mixed
- Link PHP files dynamically.
- linkXMLFile() : mixed
- Link other static files.
- mergeXMLDocs() : mixed
- mergeXMLDocsCompare() : bool
Properties
$enabledPlugins
    private
        array<string|int, mixed>
    $enabledPlugins
     = []
    
    
    
$fileList
    private
        array<string|int, mixed>
    $fileList
     = []
    
    
    
Methods
deploy()
Deploy all the necessary files in the Dinamic folder to be able to use plugins with the autoloader, but following the priority system of FacturaScripts.
    public
                    deploy(string $pluginPath, array<string|int, mixed> $enabledPlugins[, bool $clean = true ]) : mixed
    
        Parameters
- $pluginPath : string
- $enabledPlugins : array<string|int, mixed>
- $clean : bool = true
Return values
mixed —initControllers()
Initialize the controllers dynamically.
    public
                    initControllers() : void
    
    
    
        Return values
void —createFolder()
Create the folder.
    private
                    createFolder(string $folder) : bool
    
        Parameters
- $folder : string
Return values
bool —extensionSupport()
    private
                    extensionSupport(string $namespace) : bool
    
        Parameters
- $namespace : string
Return values
bool —getClassType()
    private
                    getClassType(string $fileName, string $folder, string $place, string $pluginName) : string
    
        Parameters
- $fileName : string
- $folder : string
- $place : string
- $pluginName : string
Return values
string —linkFile()
Link other static files.
    private
                    linkFile(string $fileName, string $folder, string $filePath) : mixed
    
        Parameters
- $fileName : string
- $folder : string
- $filePath : string
Return values
mixed —linkFiles()
Link the files.
    private
                    linkFiles(string $folder[, string $place = 'Core' ][, string $pluginName = '' ]) : mixed
    
        Parameters
- $folder : string
- $place : string = 'Core'
- $pluginName : string = ''
Return values
mixed —linkPHPFile()
Link PHP files dynamically.
    private
                    linkPHPFile(string $fileName, string $folder, string $place, string $pluginName) : mixed
    
        Parameters
- $fileName : string
- $folder : string
- $place : string
- $pluginName : string
Return values
mixed —linkXMLFile()
Link other static files.
    private
                    linkXMLFile(string $fileName, string $folder, string $originPath) : mixed
    
        Parameters
- $fileName : string
- $folder : string
- $originPath : string
Return values
mixed —mergeXMLDocs()
    private
                    mergeXMLDocs(SimpleXMLElement &$source, SimpleXMLElement $extension) : mixed
    
        Parameters
- $source : SimpleXMLElement
- $extension : SimpleXMLElement
Return values
mixed —mergeXMLDocsCompare()
    private
                    mergeXMLDocsCompare(SimpleXMLElement $source, SimpleXMLElement $extension) : bool
    
        Parameters
- $source : SimpleXMLElement
- $extension : SimpleXMLElement