cakephp/cakephp — pull request #802 by zoghal (2012-08-29 23:08:27+00:00)
Title: holds type of parent element  before elements rendering, used for findin...

before render elements or extended view we must save current layer view[layout|view] because :

1- when used nested elements or nested extended view, View::_currentType is losing parent type.

2- when elments is rendering , into element we can detect curren location into layout or view