function prologAtom($atom = "") { if ($atom != '') { if (string::is_caps($atom[0])) { $atom = string::lowFirstChar($atom); } } $this->atom = $atom; }
function testStringCaps() { $this->assertTrue(string::is_caps('CAPS')); $this->assertFalse(string::is_caps('caps')); }