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