public function setBooleanType($key, $value)
	{
		//print('setting BooleanType [' . $key . '] to ' . $value . "\n");
		
		if ($value == 'true' or $value === 1 or $value === true)
		{
			//print("\t" . ' set to TRUE' . "\n");
			return $this->set($key, 'true');
		}
		
		//print("\t" . ' set to FALSE' . "\n");
		return $this->set($key, 'false');
	}
public function setBooleanType($key, $value)
	{
		//print('setting BooleanType [' . $key . '] to ' . $value . "\n");
		
		if ($value == 'true' or $value === 1 or $value === true)
		{
			//print("\t" . ' set to TRUE' . "\n");
			return $this->set($key, 'true');
		}
		
		//print("\t" . ' set to FALSE' . "\n");
		return $this->set($key, 'false');
	}
public function setBooleanType ( $ key , $ value ) { //print('setting BooleanType [' . $key . '] to ' . $value . "\n"); if ( $ value == 'true' or $ value === 1 or $ value === true ) { //print("\t" . ' set to TRUE' . "\n"); return $ this -> set ( $ key , 'true' ) ; } //print("\t" . ' set to FALSE' . "\n"); return $ this -> set ( $ key , 'false' ) ; }
Set a boolean value

@param string $key
@param mixed $value
@return boolean
Set a boolean value