Adding constants and a property to track the current type. This helps with resolving parent elements.
Adding constants and a property to track the current type.
This helps with resolving parent elements.

cakephp/cakephp,tgr0ss/cakephp,web-player/cakephp,cakephp-fr/cakephp,eryw/cakephp,pbaire/cakephp,mvdriel/cakephp,gmponos/cakephp,CakeDC/cakephp,berrygoudswaard/cakephp,burriko/cakephp,dkarvounaris/cakephp,nrother/cakephp,garethellis36/cakephp,khoimt/cakephp-study,justinyost/cakephp,pbaire/cakephp,tisu2tisu/cakephp,eryw/cakephp,ADmad/cakephp,CVO-Technologies/cakephp,yinhe007/cakephp,thinkingmedia/cakephp,burriko/cakephp,thinkingmedia/cakephp,bravo-kernel/cakephp,timhoeppner/cakephp,garethellis36/cakephp,jerems02/cakephp,cakephp/cakephp,akintoey/cakephp,davidyell/cakephp,CakeDC/cakephp,nrother/cakephp,gmponos/cakephp,Balachan27/cakephp,kumamidori/cakephp,jeffblack360/cakephp,petteyg/cakephp,kumamidori/cakephp,michaelze/cakephp,garethellis36/cakephp,tisu2tisu/cakephp,thinkingmedia/cakephp,adopico/cakephp,ADmad/cakephp,petteyg/cakephp,Balachan27/cakephp,pbaire/cakephp,tgr0ss/cakephp,cakephp/cakephp,nrother/cakephp,khoimt/cakephp-study,et304383/passbolt_api,justinyost/cakephp,dakota/cakephp,ndm2/cakephp,mvdriel/cakephp,ADmad/cakephp,dakota/cakephp,Phillaf/cakephp,CVO-Technologies/cakephp,timhoeppner/cakephp,tisu2tisu/cakephp,berrygoudswaard/cakephp,ndm2/cakephp,justinyost/cakephp,et304383/passbolt_api,Balachan27/cakephp,CakeDC/cakephp,akintoey/cakephp,erikfig/cakephp,gmponos/cakephp,et304383/passbolt_api,cakephp-fr/cakephp,akintoey/cakephp,mvdriel/cakephp,davidyell/cakephp,jjj117/cakephp,berrygoudswaard/cakephp,davidyell/cakephp,eboominathan/cakephp,web-player/cakephp,dakota/cakephp,bravo-kernel/cakephp,tgr0ss/cakephp,tenkoma/cakephp,ionas/cakephp,timhoeppner/cakephp,CakeDC/cakephp,Phillaf/cakephp,eboominathan/cakephp,jeffblack360/cakephp,Phillaf/cakephp,erikfig/cakephp,bravo-kernel/cakephp,dakota/cakephp,cakephp-fr/cakephp,elboletaire/cakephp,HavokInspiration/cakephp,adopico/cakephp,erikfig/cakephp,web-player/cakephp,petteyg/cakephp,yinhe007/cakephp,burriko/cakephp,mvdriel/cakephp,michaelze/cakephp,jerems02/cakephp,ndm2/cakephp,eboominathan/cakephp,elboletaire/cakephp,dkarvounaris/cakephp,CVO-Technologies/cakephp,jjj117/cakephp,garethellis36/cakephp,tenkoma/cakephp,michaelze/cakephp,jerems02/cakephp,yinhe007/cakephp,ADmad/cakephp,ionas/cakephp,jjj117/cakephp,kumamidori/cakephp,eryw/cakephp,tenkoma/cakephp,elboletaire/cakephp,HavokInspiration/cakephp,jeffblack360/cakephp,et304383/passbolt_api,et304383/passbolt_api,khoimt/cakephp-study,adopico/cakephp,cakephp/cakephp,ionas/cakephp,petteyg/cakephp,HavokInspiration/cakephp,dkarvounaris/cakephp,ndm2/cakephp,tenkoma/cakephp