/** * Constructor, prepare addthis widget and configuration */ public function __construct() { $this->addthis = $this->getServiceLocator()->get('AddThisModel'); $this->config = $this->addthis->getConfig(); }