Horde_DNS_Backend_Rdo
    
            
            in package
            
        
    
    
    
The RDO backend of the DNS service TODO: Needs Refactoring
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- The Constructor of the class Sets the Mapper for the Record and the Zone
- addRecord() : mixed
- Adds a record to the RDO backend
- addZone() : mixed
- Adds a zone to the RDO backend TODO: Check whenever it is necessary to always add a new zone TODO: Zones with the same name should not exist (as records are added to the first zone found) TODO: Add a full array instead of a zone or do the validation checks somewhere else
- deleteRecord() : mixed
- Deletes a record from the RDO backend
- deleteZone() : mixed
- Deletes a zone from the RDO backend
- updateRecord() : mixed
- Updates a record in the RDO backend
Properties
$_rm
The mapper variables
    protected
        mixed
    $_rm
    
    
    
    
    
$_zm
    protected
        mixed
    $_zm
    
    
    
    
    
Methods
__construct()
The Constructor of the class Sets the Mapper for the Record and the Zone
    public
                    __construct(Horde_Rdo_Factory $factory) : mixed
    Parameters
- $factory : Horde_Rdo_Factory
- 
                    The factory for creating a Record and a Zone 
addRecord()
Adds a record to the RDO backend
    public
                    addRecord(Horde_DNS_Record $record) : mixed
    Parameters
- $record : Horde_DNS_Record
- 
                    The definition of a Record TODO: Add a full array instead of a record or do the validation checks somewhere else 
addZone()
Adds a zone to the RDO backend TODO: Check whenever it is necessary to always add a new zone TODO: Zones with the same name should not exist (as records are added to the first zone found) TODO: Add a full array instead of a zone or do the validation checks somewhere else
    public
                    addZone(Horde_DNS_Zone $zone) : mixed
    Parameters
- $zone : Horde_DNS_Zone
- 
                    The definition of a Zone 
deleteRecord()
Deletes a record from the RDO backend
    public
                    deleteRecord(Horde_DNS_Record $record) : mixed
    Parameters
- $record : Horde_DNS_Record
- 
                    The definition of a Record TODO: Use the record_id instead of the full Horde_DNS_Record 
deleteZone()
Deletes a zone from the RDO backend
    public
                    deleteZone(Horde_DNS_Zone $zone) : mixed
    Parameters
- $zone : Horde_DNS_Zone
- 
                    The definition of a Zone TODO: Use the zone_id instead of the full Horde_DNS_zone 
updateRecord()
Updates a record in the RDO backend
    public
                    updateRecord(Horde_DNS_Record $record) : mixed
    Parameters
- $record : Horde_DNS_Record
- 
                    The definition of a Record TODO: Use record_id instead of the full Horde_DNS_Record