Skip to content

Instantly share code, notes, and snippets.

@patrickallaert
Created April 5, 2012 19:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickallaert/2313342 to your computer and use it in GitHub Desktop.
Save patrickallaert/2313342 to your computer and use it in GitHub Desktop.
Diff on function_definition.php without alignment
diff --git function_definition.php function_definition.php
index a19b12a..ae42490 100644
--- function_definition.php
+++ function_definition.php
@@ -8,12 +8,12 @@ $FunctionList = array();
$FunctionList['locale_list'] = array(
'name' => 'locale_list',
- 'operation_types' => array( 'read' ),
- 'call_method' => array(
+ 'operationTypes' => array( 'read' ),
+ 'callMethod' => array(
'class' => 'eZContentFunctionCollection',
'method' => 'fetchLocaleList'
),
- 'parameter_type' => 'standard',
+ 'parameterType' => 'standard',
'parameters' => array(
array(
'name' => 'with_variations',
@@ -25,12 +25,12 @@ $FunctionList['locale_list'] = array(
);
$FunctionList['object'] = array(
'name' => 'object',
- 'operation_types' => array( 'read' ),
- 'call_method' => array(
+ 'operationTypes' => array( 'read' ),
+ 'callMethod' => array(
'class' => 'eZContentFunctionCollection',
'method' => 'fetchContentObject'
),
- 'parameter_type' => 'standard',
+ 'parameterType' => 'standard',
'parameters' => array(
array(
'name' => 'object_id',
@@ -48,12 +48,12 @@ $FunctionList['object'] = array(
);
$FunctionList['version'] = array(
'name' => 'version',
- 'operation_types' => array( 'read' ),
- 'call_method' => array(
+ 'operationTypes' => array( 'read' ),
+ 'callMethod' => array(
'class' => 'eZContentFunctionCollection',
'method' => 'fetchContentVersion'
),
- 'parameter_type' => 'standard',
+ 'parameterType' => 'standard',
'parameters' => array(
array(
'name' => 'object_id',
@@ -70,12 +70,12 @@ $FunctionList['version'] = array(
);
$FunctionList['node'] = array(
'name' => 'node',
- 'operation_types' => array( 'read' ),
- 'call_method' => array(
+ 'operationTypes' => array( 'read' ),
+ 'callMethod' => array(
'class' => 'eZContentFunctionCollection',
'method' => 'fetchContentNode'
),
- 'parameter_type' => 'standard',
+ 'parameterType' => 'standard',
'parameters' => array(
array(
'name' => 'node_id',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment