GenerateSitemap
class GenerateSitemap extends Job implements ConsoleAwareInterface (View source)
Traits
A trait that provides awareness of the console to objects
Constants
| EOL | 
                     The end-of-line terminator.  | 
            
Properties
| protected Application|null | $traitConsole | from ConsoleAwareTrait | |
| protected OutputInterface|null | $traitOutput | from ConsoleAwareTrait | |
| protected InputInterface|null | $traitInput | from ConsoleAwareTrait | 
Methods
Set the console object
Set the output object to use
Set the input object to use
Returns the job name.
Returns the job description.
Executes the job.
Check if the specified page should be included in the sitemap.xml file; if so adds it to the XML document.
No description
Details
        
                            ConsoleAwareTrait
    setConsole(Application $console, OutputInterface $output = null, InputInterface $input = null)
        
    
    Set the console object
        
                            ConsoleAwareTrait
    setOutput(OutputInterface $output)
        
    
    Set the output object to use
        
                            ConsoleAwareTrait
    setInput(InputInterface $input)
        
    
    Set the input object to use
        
                    protected        OutputInterface
    getOutput()
        
    
    Get an output object
        
                    protected        InputInterface
    getInput()
        
    
    Get an input object
        
                    protected        bool
    hasConsole()
        
    
    Find out if we are in console context
        
                            string
    getJobName()
        
    
    Returns the job name.
        
                            string
    getJobDescription()
        
    
    Returns the job description.
        
                            string
    run()
        
    
    Executes the job.
        
                static        private    
    addPage(SimpleXMLElement $xmlDoc, int $cID, array $instances)
        
    
    Check if the specified page should be included in the sitemap.xml file; if so adds it to the XML document.
        
                static    protected        
    canIncludePageInSitemap($page, $instances)
        
    
    No description