
By: fruffl | Date: Mar 6 2010 15:19 | Format: PHP | Expires: never | Size: 479 B | Hits: 922
- <?php
- // var_dump display an ArrayObject, Flags as Probs:
- // $this->_root->Boot->System->Registry->get()->PARAMS->POST
- // by return that AO direct, i've no acces with
- // $this->_post()->probertyname
- // it returns NULL
- // why?
- // this works:
- protected function _post()
- {
- $result = new ArrayObject($this->_root->Boot->System->Registry->get()->PARAMS->POST);
- $result->setFlags(ArrayObject::ARRAY_AS_PROPS);
- return $result;
- }
- // pro hell processor -.-
Latest pastes
1 hours ago
1 hours ago
1 hours ago
3 hours ago
6 hours ago