apps/files_external/lib/Lib/Backend/Backend.php
/**
	 * Serialize into JSON for client-side JS
	 *
	 * @return array
	 */
Serialize into JSON for client-side JS
@return array
Serialize into JSON for client - side JS @return array
public function jsonSerialize() {
		$data = $this->jsonSerializeDefinition();
		$data += $this->jsonSerializeIdentifier();
		$data['backend'] = $data['name']; 
		$data['priority'] = $this->getPriority();
		$data['authSchemes'] = $this->getAuthSchemes();
		return $data;
	}
public function jsonSerialize ( ) { $ data = $ this -> jsonSerializeDefinition ( ) ; $ data += $ this -> jsonSerializeIdentifier ( ) ; $ data [ 'backend' ] = $ data [ 'name' ] ; $ data [ 'priority' ] = $ this -> getPriority ( ) ; $ data [ 'authSchemes' ] = $ this -> getAuthSchemes ( ) ; return $ data ; }
Serialize into JSON for client-side JS
 @return array
Serialize into JSON for client - side JS @return array
// legacy compat