Created
April 5, 2012 19:13
-
-
Save patrickallaert/2313332 to your computer and use it in GitHub Desktop.
Diff on function_definition.php with alignment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git function_definition.php function_definition.php | |
index 6e3fc12..cf96158 100644 | |
--- function_definition.php | |
+++ function_definition.php | |
@@ -6,58 +6,58 @@ | |
$FunctionList = array(); | |
-$FunctionList['locale_list'] = array( 'name' => 'locale_list', | |
- 'operation_types' => array( 'read' ), | |
- 'call_method' => array( 'class' => 'eZContentFunctionCollection', | |
- 'method' => 'fetchLocaleList' ), | |
- 'parameter_type' => 'standard', | |
- 'parameters' => array( array( 'name' => 'with_variations', | |
- 'type' => 'boolean', | |
- 'required' => false, | |
- 'default' => true ) ) ); | |
-$FunctionList['object'] = array( 'name' => 'object', | |
- 'operation_types' => array( 'read' ), | |
- 'call_method' => array( 'class' => 'eZContentFunctionCollection', | |
- 'method' => 'fetchContentObject' ), | |
- 'parameter_type' => 'standard', | |
- 'parameters' => array( array( 'name' => 'object_id', | |
- 'type' => 'integer', | |
- 'default' => false, | |
- 'required' => false ), | |
- array( 'name' => 'remote_id', | |
- 'type' => 'string', | |
- 'default' => false, | |
- 'required' => false ) ) ); | |
-$FunctionList['version'] = array( 'name' => 'version', | |
- 'operation_types' => array( 'read' ), | |
- 'call_method' => array( 'class' => 'eZContentFunctionCollection', | |
- 'method' => 'fetchContentVersion' ), | |
- 'parameter_type' => 'standard', | |
- 'parameters' => array( array( 'name' => 'object_id', | |
- 'type' => 'integer', | |
- 'required' => true ), | |
- array( 'name' => 'version_id', | |
- 'type' => 'integer', | |
- 'default' => false, | |
- 'required' => true ) ) ); | |
-$FunctionList['node'] = array( 'name' => 'node', | |
- 'operation_types' => array( 'read' ), | |
- 'call_method' => array( 'class' => 'eZContentFunctionCollection', | |
- 'method' => 'fetchContentNode' ), | |
- 'parameter_type' => 'standard', | |
- 'parameters' => array( array( 'name' => 'node_id', | |
- 'type' => 'integer', | |
- 'required' => false, | |
- 'default' => false ), | |
- array( 'name' => 'node_path', | |
- 'type' => 'string', | |
- 'required' => false, | |
- 'default' => false ), | |
- array( 'name' => 'language_code', | |
- 'type' => 'string', | |
- 'required' => false, | |
- 'default' => false ), | |
- array( 'name' => 'remote_id', | |
- 'type' => 'string', | |
- 'default' => false, | |
- 'required' => false ) ) ); | |
+$FunctionList['locale_list'] = array( 'name' => 'locale_list', | |
+ 'operationTypes' => array( 'read' ), | |
+ 'callMethod' => array( 'class' => 'eZContentFunctionCollection', | |
+ 'method' => 'fetchLocaleList' ), | |
+ 'parameterType' => 'standard', | |
+ 'parameters' => array( array( 'name' => 'with_variations', | |
+ 'type' => 'boolean', | |
+ 'required' => false, | |
+ 'default' => true ) ) ); | |
+$FunctionList['object'] = array( 'name' => 'object', | |
+ 'operationTypes' => array( 'read' ), | |
+ 'callMethod' => array( 'class' => 'eZContentFunctionCollection', | |
+ 'method' => 'fetchContentObject' ), | |
+ 'parameterType' => 'standard', | |
+ 'parameters' => array( array( 'name' => 'object_id', | |
+ 'type' => 'integer', | |
+ 'default' => false, | |
+ 'required' => false ), | |
+ array( 'name' => 'remote_id', | |
+ 'type' => 'string', | |
+ 'default' => false, | |
+ 'required' => false ) ) ); | |
+$FunctionList['version'] = array( 'name' => 'version', | |
+ 'operationTypes' => array( 'read' ), | |
+ 'callMethod' => array( 'class' => 'eZContentFunctionCollection', | |
+ 'method' => 'fetchContentVersion' ), | |
+ 'parameterType' => 'standard', | |
+ 'parameters' => array( array( 'name' => 'object_id', | |
+ 'type' => 'integer', | |
+ 'required' => true ), | |
+ array( 'name' => 'version_id', | |
+ 'type' => 'integer', | |
+ 'default' => false, | |
+ 'required' => true ) ) ); | |
+$FunctionList['node'] = array( 'name' => 'node', | |
+ 'operationTypes' => array( 'read' ), | |
+ 'callMethod' => array( 'class' => 'eZContentFunctionCollection', | |
+ 'method' => 'fetchContentNode' ), | |
+ 'parameterType' => 'standard', | |
+ 'parameters' => array( array( 'name' => 'node_id', | |
+ 'type' => 'integer', | |
+ 'required' => false, | |
+ 'default' => false ), | |
+ array( 'name' => 'node_path', | |
+ 'type' => 'string', | |
+ 'required' => false, | |
+ 'default' => false ), | |
+ array( 'name' => 'language_code', | |
+ 'type' => 'string', | |
+ 'required' => false, | |
+ 'default' => false ), | |
+ array( 'name' => 'remote_id', | |
+ 'type' => 'string', | |
+ 'default' => false, | |
+ 'required' => false ) ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment