Gpf_Rpc_Params::getClass PHP Method

getClass() public method

public getClass ( )
        public function getClass()
        {
            return $this->get(self::CLASS_NAME);
        }

Usage Example

Beispiel #1
0
 protected function getRequestIdsIterator()
 {
     $json = new Gpf_Rpc_Json();
     $requestParams = new Gpf_Rpc_Params($json->decode($this->params->get(self::IDS_REQUEST)));
     $c = $requestParams->getClass();
     $gridService = new $c();
     if (!$gridService instanceof Gpf_View_GridService) {
         throw new Gpf_Exception(sprintf('%s is not Gpf_View_GridService class.', $requestParams->getClass()));
     }
     return $gridService->getIdsIterator($requestParams);
 }
All Usage Examples Of Gpf_Rpc_Params::getClass