I would just use sed . Making sure the latest version is safe in VCS, a command like
sed 's/$this->Email/$this->Notification/' -i *php
performed in the appropriate directories should do the trick. I think you might also need to follow the alter/modify table instructions to rename the table (I'm not sure how Cake handles this since I haven't used it before).
source share