modules/setting/models/Setting.php
public function dropDownOptions()
    {
        $result = [];

        if (strlen($this->options) > 1) {
            $options = str_replace(' ', '', $this->options);
            $optionsArray = explode(",", $options);

            foreach ($optionsArray as $key => $val) {
                $data = explode(':', $val);
                $result[$data[0]] = $data[1];
            }
        }

        return $result;
    }
public function dropDownOptions()
    {
        $result = [];

        if (strlen($this->options) > 1) {
            $options = str_replace(' ', '', $this->options);
            $optionsArray = explode(",", $options);

            foreach ($optionsArray as $key => $val) {
                $data = explode(':', $val);
                $result[$data[0]] = $data[1];
            }
        }

        return $result;
    }
Returns options for dropdown field
Eg: can be set in database as comma separated in column options as (key:value): true:Yes, false:No
@return array