Code Duplication    Length = 9-9 lines in 2 locations

code/model/PageRow.php 2 locations

@@ 871-879 (lines=9) @@
868
        return $this->Config()->get('background_image_options');
869
    }
870
871
    protected function BackgroundImageOptionsWithBasics()
872
    {
873
        $a = ['' => '--- no background image selected ---']
874
            + $this->BackgroundImageOptions();
875
        if(count($a) > 2) {
876
            $a['random'] = 'Random Background Image';
877
        }
878
        return $a;
879
    }
880
881
882
    protected $_bgStyle = null;
@@ 911-919 (lines=9) @@
908
    }
909
910
911
    protected function BackgroundStyleOptionsWithBasics()
912
    {
913
        $a = ['' => '--- default style ---']
914
            + $this->BackgroundstyleOptions();
915
        if(count($a) > 2) {
916
            $a['random'] = 'Random Background Style';
917
        }
918
        return $a;
919
    }
920
921
922
    protected function BackgroundStyleOptions()