Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 609 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 609 Bytes

Usage:

this is a plugin tested in Symfony 1.4

after you added plugin in ProjectConfiguration.class.php u can use the behaviour in yoiur schema.yml



Table:
  actAs:
    Traceable: ~
  columns:
  	....      
    

in the options you can change the name of ip address field



Table:
  actAs:
    Traceable:
      name: my_field
  columns:
  	....      
    


$Model->trace(); // not save the record
$Model->save(); 
    


$Model->trace(true); // also save the record