GalleriaFactory for the Ctk-Toolkit Plugin - CakePHP