ApplicationUpdate
class ApplicationUpdate (View source)
Constants
| E_UPDATE_WRITE_CONFIG | 
                     Code of the error that occurs when we weren't able to update the configuration file during the update process.  | 
            
Properties
| protected string | $version | The version string.  | 
                |
| protected string | $identifier | The version identifier (equals to the name of the directory under the updates directory).  | 
                
Methods
Returns the version string.
Returns the version identifier (equals to the name of the directory under the updates directory).
Returns an ApplicationUpdate instance given its version string.
Writes the core pointer into config/update.php.
Parse an update dir and returns an ApplicationUpdate instance.
No description
No description
Given the current update object, sends information to concrete5.org to determine updatability.
Details
        
                            string
    getUpdateVersion()
        
    
    Returns the version string.
        
                            string
    getUpdateIdentifier()
        
    
    Returns the version identifier (equals to the name of the directory under the updates directory).
        
                static            ApplicationUpdate|null
    getByVersionNumber(string $version)
        
    
    Returns an ApplicationUpdate instance given its version string.
        
                            true|int
    apply()
        
    
    Writes the core pointer into config/update.php.
        
                static            ApplicationUpdate|null
    get(string $dir)
        
    
    Parse an update dir and returns an ApplicationUpdate instance.
        
                            
    getVersion()
        
    
    No description
        
                            
    getIdentifier()
        
    
    No description
        
                            Diagnostic
    getDiagnosticObject()
        
    
    Given the current update object, sends information to concrete5.org to determine updatability.