I know update-profile-picture translates to the updateProfilePictureAction() function.
Where does the conversion of the action param take place?
I’d like to get updateProfilePicture as a value, I could write the function but it must already be in the library somewhere.
When using $this->_getParam('action') it returns update-profile-picture;
/**
* Auto call scripts
* @see Zend_Controller_Action::postDispatch()
*/
public function postDispatch(){
$action = $this->_getParam('action',false);
$method = $action.'Scripts';
if ($action && method_exists($this, $method))
$this->$method();
}
this works fine for indexAction – indexScripts but not for updateProfilePictureScripts (looking for update-profile-pictureScripts)
Get it with
It is happening in