DuoFernDevice/module_public.php
/**
     * Writes a boolean value to device
     *
     * @param string $ident ident
     * @param bool $value value
     * @return bool true if written, false if not
     */
Writes a boolean value to device
@param string $ident ident
@param bool $value value
@return bool true if written, false if not
Writes a boolean value to device @param string $ident ident @param bool $value value @return bool true if written false if not
public function WriteValueBoolean(string $ident, bool $value)
    {
        if (!is_bool($value)) {
            trigger_error($this->Translate("Value is not boolean"), E_USER_NOTICE);
            return false;
        }
        return $this->WriteValue($ident, $value);
    }
public function WriteValueBoolean ( string $ ident , bool $ value ) { if ( ! is_bool ( $ value ) ) { trigger_error ( $ this -> Translate ( " Value is not boolean " ) , E_USER_NOTICE ) ; return false ; } return $ this -> WriteValue ( $ ident , $ value ) ; }
Writes a boolean value to device
 @param string $ident ident
 @param bool $value value
 @return bool true if written, false if not
Writes a boolean value to device @param string $ident ident @param bool $value value @return bool true if written false if not