Comment appeler une fonction dans le modèle à partir d'un contrôleur
ModelName::FunctionName(Parameters);
make sure the function in the model is static
Tanzeela Yousuf
ModelName::FunctionName(Parameters);
make sure the function in the model is static