protected function getSimpleBit($fieldName, $position, $objectName = "object", $default = false)
    {
        if (isset($this->{$objectName}->{$fieldName})) {
            $this->out[$fieldName] = (bool) (($this->{$objectName}->{$fieldName} >> $position) & 1);
        } else {
            $this->out[$fieldName] = (bool) $default;
        }

        return $this;
    }
protected function getSimpleBit($fieldName, $position, $objectName = "object", $default = false)
    {
        if (isset($this->{$objectName}->{$fieldName})) {
            $this->out[$fieldName] = (bool) (($this->{$objectName}->{$fieldName} >> $position) & 1);
        } else {
            $this->out[$fieldName] = (bool) $default;
        }

        return $this;
    }
protected function getSimpleBit ( $ fieldName , $ position , $ objectName = "object" , $ default = false ) { if ( isset ( $ this -> { $ objectName } -> { $ fieldName } ) ) { $ this -> out [ $ fieldName ] = ( bool ) ( ( $ this -> { $ objectName } -> { $ fieldName } >> $ position ) & 1 ) ; } else { $ this -> out [ $ fieldName ] = ( bool ) $ default ; } return $ this ; }
Common Reading of a Single Bit Field

@param string $fieldName  Field Identifier / Name
@param int    $position   Bit position (Starting form 0)
@param string $objectName Name of private object to read (Default : "object")
@param mixed  $default    Default Value if unset

@return self
Common Reading of a Single Bit Field