private function getItemPortableElements(Element $qtiItem){
        $portableElementService = new PortableElementService();
        $portableElementService->setServiceLocator($this->getServiceLocator());
        return [
            'pci' => $portableElementService->getPortableElementByClass(PortableElementService::PORTABLE_CLASS_INTERACTION, $qtiItem, true),
            'pic' => $portableElementService->getPortableElementByClass(PortableElementService::PORTABLE_CLASS_INFOCONTROL, $qtiItem, true)
        ];
    }
private function getItemPortableElements(Element $qtiItem){
        $portableElementService = new PortableElementService();
        $portableElementService->setServiceLocator($this->getServiceLocator());
        return [
            'pci' => $portableElementService->getPortableElementByClass(PortableElementService::PORTABLE_CLASS_INTERACTION, $qtiItem, true),
            'pic' => $portableElementService->getPortableElementByClass(PortableElementService::PORTABLE_CLASS_INFOCONTROL, $qtiItem, true)
        ];
    }
private function getItemPortableElements ( Element $ qtiItem ) { $ portableElementService = new PortableElementService ( ) ; $ portableElementService -> setServiceLocator ( $ this -> getServiceLocator ( ) ) ; return [ 'pci' => $ portableElementService -> getPortableElementByClass ( PortableElementService :: PORTABLE_CLASS_INTERACTION , $ qtiItem , true ) , 'pic' => $ portableElementService -> getPortableElementByClass ( PortableElementService :: PORTABLE_CLASS_INFOCONTROL , $ qtiItem , true ) ] ; }
Get the portable elements data in use in the item
@param Element $qtiItem
@return array
Get the portable elements data in use in the item