public function toArray($filterVariableContent = false, &$filtered = array()){
        $data = parent::toArray($filterVariableContent, $filtered);
        $data['namespaces'] = $this->getNamespaces();
        $data['schemaLocations'] = $this->getSchemaLocations();
        $data['stylesheets'] = $this->getArraySerializedElementCollection($this->getStylesheets(), $filterVariableContent, $filtered);
        $data['outcomes'] = $this->getArraySerializedElementCollection($this->getOutcomes(), $filterVariableContent, $filtered);
        $data['responses'] = $this->getArraySerializedElementCollection($this->getResponses(), $filterVariableContent, $filtered);
        $data['feedbacks'] = $this->getArraySerializedElementCollection($this->getModalFeedbacks(), $filterVariableContent, $filtered);
        $data['responseProcessing'] = $this->responseProcessing->toArray($filterVariableContent, $filtered);
        $data['apipAccessibility'] = $this->getApipAccessibility();
        return $data;
    }
public function toArray($filterVariableContent = false, &$filtered = array()){
        $data = parent::toArray($filterVariableContent, $filtered);
        $data['namespaces'] = $this->getNamespaces();
        $data['schemaLocations'] = $this->getSchemaLocations();
        $data['stylesheets'] = $this->getArraySerializedElementCollection($this->getStylesheets(), $filterVariableContent, $filtered);
        $data['outcomes'] = $this->getArraySerializedElementCollection($this->getOutcomes(), $filterVariableContent, $filtered);
        $data['responses'] = $this->getArraySerializedElementCollection($this->getResponses(), $filterVariableContent, $filtered);
        $data['feedbacks'] = $this->getArraySerializedElementCollection($this->getModalFeedbacks(), $filterVariableContent, $filtered);
        $data['responseProcessing'] = $this->responseProcessing->toArray($filterVariableContent, $filtered);
        $data['apipAccessibility'] = $this->getApipAccessibility();
        return $data;
    }
public function toArray ( $ filterVariableContent = false , & $ filtered = array ( ) ) { $ data = parent :: toArray ( $ filterVariableContent , $ filtered ) ; $ data [ 'namespaces' ] = $ this -> getNamespaces ( ) ; $ data [ 'schemaLocations' ] = $ this -> getSchemaLocations ( ) ; $ data [ 'stylesheets' ] = $ this -> getArraySerializedElementCollection ( $ this -> getStylesheets ( ) , $ filterVariableContent , $ filtered ) ; $ data [ 'outcomes' ] = $ this -> getArraySerializedElementCollection ( $ this -> getOutcomes ( ) , $ filterVariableContent , $ filtered ) ; $ data [ 'responses' ] = $ this -> getArraySerializedElementCollection ( $ this -> getResponses ( ) , $ filterVariableContent , $ filtered ) ; $ data [ 'feedbacks' ] = $ this -> getArraySerializedElementCollection ( $ this -> getModalFeedbacks ( ) , $ filterVariableContent , $ filtered ) ; $ data [ 'responseProcessing' ] = $ this -> responseProcessing -> toArray ( $ filterVariableContent , $ filtered ) ; $ data [ 'apipAccessibility' ] = $ this -> getApipAccessibility ( ) ; return $ data ; }
Serialize item object into json format, handy to be used in js
Serialize item object into json format handy to be used in js