Closed lindseydiloreto closed 8 years ago
Fixed. This was actually semi-annoying to fix.
class LukeLuckLikesLakes_SomeThingService extends BaseApplicationComponent
{
/**
* This function can literally be anything you want, and you can have as many service functions as you want
*
* From any other plugin file, call it like this:
*
* craft()->lukeLuckLikesLakes_someThing->exampleService()
*/
public function exampleService()
{
}
}
Yikes. Thanks for getting that sorted out!
http://craftcms.stackexchange.com/questions/15206/how-do-i-call-a-service-from-my-controller-in-a-plugin