public function getLogoDimensions()
    {
        // Initialise:
        
        $data = [];
        
        // Obtain Dimensions:
        
        $widths  = $this->dbObject('BrandLogoWidth');
        $heights = $this->dbObject('BrandLogoHeight');
        
        // Iterate Width Viewports:
        
        foreach ($widths->getViewports() as $viewport) {
            
            if ($value = $widths->getField($viewport)) {
                $data[$viewport]['Width'] = $value;
                $data[$viewport]['Breakpoint'] = $widths->getBreakpoint($viewport);
            }
            
        }
        
        // Iterate Height Viewports:
        
        foreach ($heights->getViewports() as $viewport) {
            
            if ($value = $heights->getField($viewport)) {
                $data[$viewport]['Height'] = $value;
                $data[$viewport]['Breakpoint'] = $heights->getBreakpoint($viewport);
            }
            
        }
        
        // Create Items List:
        
        $items = ArrayList::create();
        
        // Create Data Items:
        
        foreach ($data as $item) {
            $items->push(ArrayData::create($item));
        }
        
        // Answer Items List:
        
        return $items;
    }
public function getLogoDimensions()
    {
        // Initialise:
        
        $data = [];
        
        // Obtain Dimensions:
        
        $widths  = $this->dbObject('BrandLogoWidth');
        $heights = $this->dbObject('BrandLogoHeight');
        
        // Iterate Width Viewports:
        
        foreach ($widths->getViewports() as $viewport) {
            
            if ($value = $widths->getField($viewport)) {
                $data[$viewport]['Width'] = $value;
                $data[$viewport]['Breakpoint'] = $widths->getBreakpoint($viewport);
            }
            
        }
        
        // Iterate Height Viewports:
        
        foreach ($heights->getViewports() as $viewport) {
            
            if ($value = $heights->getField($viewport)) {
                $data[$viewport]['Height'] = $value;
                $data[$viewport]['Breakpoint'] = $heights->getBreakpoint($viewport);
            }
            
        }
        
        // Create Items List:
        
        $items = ArrayList::create();
        
        // Create Data Items:
        
        foreach ($data as $item) {
            $items->push(ArrayData::create($item));
        }
        
        // Answer Items List:
        
        return $items;
    }
public function getLogoDimensions ( ) { // Initialise: $ data = [ ] ; // Obtain Dimensions: $ widths = $ this -> dbObject ( 'BrandLogoWidth' ) ; $ heights = $ this -> dbObject ( 'BrandLogoHeight' ) ; // Iterate Width Viewports: foreach ( $ widths -> getViewports ( ) as $ viewport ) { if ( $ value = $ widths -> getField ( $ viewport ) ) { $ data [ $ viewport ] [ 'Width' ] = $ value ; $ data [ $ viewport ] [ 'Breakpoint' ] = $ widths -> getBreakpoint ( $ viewport ) ; } } // Iterate Height Viewports: foreach ( $ heights -> getViewports ( ) as $ viewport ) { if ( $ value = $ heights -> getField ( $ viewport ) ) { $ data [ $ viewport ] [ 'Height' ] = $ value ; $ data [ $ viewport ] [ 'Breakpoint' ] = $ heights -> getBreakpoint ( $ viewport ) ; } } // Create Items List: $ items = ArrayList :: create ( ) ; // Create Data Items: foreach ( $ data as $ item ) { $ items -> push ( ArrayData :: create ( $ item ) ) ; } // Answer Items List: return $ items ; }
Answers a list of logo dimensions for the custom CSS template.

@return ArrayList
Answers a list of logo dimensions for the custom CSS template .