To ensure your cakephp files with a .ctp extension gets syntax highlighted in Eclipse PDT (the PHP plugin for eclipse) you can just go to the following section from within your Eclipse IDE.
Window > Prefrences > General > Content Types > Text > PHP Content Type