protected function extractClassData($data)
    {
        $classData = array();
        if (isset($data['class'])) {
            foreach ($data['class'] as $key => $value) {
                $classData['class_'.$key] = $value;
            }
        }
        return $classData;
    }
protected function extractClassData($data)
    {
        $classData = array();
        if (isset($data['class'])) {
            foreach ($data['class'] as $key => $value) {
                $classData['class_'.$key] = $value;
            }
        }
        return $classData;
    }
protected function extractClassData ( $ data ) { $ classData = array ( ) ; if ( isset ( $ data [ 'class' ] ) ) { foreach ( $ data [ 'class' ] as $ key => $ value ) { $ classData [ 'class_' . $ key ] = $ value ; } } return $ classData ; }
Extracts the data assoicuated with the class from the request

@param array $data
@return array
Extracts the data assoicuated with the class from the request