How to get the current id that had been used when editing and viewing a record?
I am currently following the instruction by Alfonso Secas that he posted in this topic..
http://www.grocerycrud.com/forums/topic/1326-how-to-use-grocery-crud-and-image-crud-together/page-2
And now on the part where he said "When editing a record, get the current ID from $this->getStateInfo();
to compose the iframe's source url."
It seems like getStateInfo
doesn't exist yet so it shows an error "Fatal error: Call to undefined method Examples::getStateInfo()
"