cara memanggil fungsi dalam model dari pengontrol
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