DBDNSZone::getRecords PHP Method

getRecords() public method

public getRecords ( $includeSystem = true )
    public function getRecords($includeSystem = true)
    {
        if (!$this->records) {
            $this->loadRecords();
        }
        if ($includeSystem) {
            return $this->records;
        }
        $retval = array();
        foreach ($this->records as $record) {
            if (!$record['issystem']) {
                $retval[] = $record;
            }
        }
        return $retval;
    }