Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to call a function in model from a controller

ModelName::FunctionName(Parameters);

make sure the function in the model is static
 
PREVIOUS NEXT
Tagged: #call #function #model #controller
ADD COMMENT
Topic
Name
4+1 =