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) ? 1 : 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;
}
}
?>