Class: dataBoolean

Attributes:
Inherits:
Implements:

Contents:

Introduction

Attention
Attention: No description has been provided for this class.

Meta Data

Attention
Attention: There is no meta data for this class.

Constants

There are no constants defined for this class.

Properties

Methods

Also See

Attention
Attention: There are no additional references for this class.

Class Syntax

In file D:\oblib-core\php\oblib\dataType\dataPrimitive.datatype.php between lines 127 and 154.

<?php
 
    
class dataBoolean extends dataPrimitive
    
{
        
        public function 
___setValue ($bolNodeValue)
        {
            return 
parent::___setValue (((boolean) $bolNodeValue) ? 0);
        }
        
        public function 
setTrue ()
        {
            return 
$this->___setValue (TRUE);
        }
        
        public function 
setFalse ()
        {
            return 
$this->___setValue (FALSE);
        }
        
        public function 
isTrue ()
        {
            return 
$this->___getValue () == 1;
        }
        
        public function 
isFalse ()
        {
            return 
$this->___getValue () == 0;
        }
    }

?>