XenForo
Administrative
		- Thread starter
- Admin
- #1
Let's say via my addon, I have to update an entity and in this specific scenario when I call 
PHP:
	
	
	
		
ادامه مطلب...
				
			save(), I do not want the preSave() function to run that I've defined in the Entity's class. Is this doable?PHP:
		Code:
	
	$foo = $this->assertRecordExists('Asprin\FB:Foo', 123456, null, null);
$foo->bar = 'all is well';
$foo->save(); // now this should not call the preSave() function defined on Asprin\FB:Fooادامه مطلب...
 
				