Esempio n. 1
0
 function Test_for_StatusKeys()
 {
     $Object = new Ak();
     $this->assertFalse(Ak::objectHasBeenModified($Object));
     $this->assertEqual(Ak::getStatusKey($Object), Ak::getStatusKey($Object));
     $Object->name = 'Bermi';
     $this->assertTrue(Ak::objectHasBeenModified($Object));
     $this->assertTrue(Ak::objectHasBeenModified($Object));
     Ak::resetObjectModificationsWacther($Object);
     $this->assertFalse(Ak::objectHasBeenModified($Object));
 }
Esempio n. 2
0
 function hasBeenModified()
 {
     return Ak::objectHasBeenModified($this);
 }