i have define a function getEncounterInfo($value){} in model of
EyePhysicalExamination.php now when i am calling it in the following
way

$this->getEncounterInfo($value) it give the following error

Call to undefined method
eyePhysicalExaminationActions::getEncounterInfo.
and when i call it like this

EyePhysicalExamination::getEncounterInfo($pid);

it return the correct value but with this warning
Strict Standards: Non-static method
EyePhysicalExamination::getEncounterInfo() should not be called
statically, assuming $this from incompatible context in /var/www/
civil_users/apps/frontend/modules/eyePhysicalExamination/actions/
actions.class.php on line 37


how will i call user-defined function from model.

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to