public function get_setting() {
        $result = $this->config_read($this->name);
        if (is_null($result)) {
            return NULL;
        }
        if ($result === '') {
            return array();
        }
        $settings = array();
        for ($i=0; $i<7; $i++) {
            if ($result & (1 << $i)) {
                $settings[] = $i;
            }
        }
        return $settings;
    }
public function get_setting() {
        $result = $this->config_read($this->name);
        if (is_null($result)) {
            return NULL;
        }
        if ($result === '') {
            return array();
        }
        $settings = array();
        for ($i=0; $i<7; $i++) {
            if ($result & (1 << $i)) {
                $settings[] = $i;
            }
        }
        return $settings;
    }
public function get_setting ( ) { $ result = $ this -> config_read ( $ this -> name ) ; if ( is_null ( $ result ) ) { return NULL ; } if ( $ result === '' ) { return array ( ) ; } $ settings = array ( ) ; for ( $ i = 0 ; $ i < 7 ; $ i ++ ) { if ( $ result & ( 1 << $ i ) ) { $ settings [ ] = $ i ; } } return $ settings ; }
Gets the current settings as an array

@return mixed Null if none, else array of settings
Gets the current settings as an array