Merge remote-tracking branch 'upstream/4.3' into 4.3-master-2013-07-23-17-12-38
[civicrm-core.git] / api / v3 / examples / OptionValue / SortOption.php
index 49329e67252031d9a859832626c605480baffdf5..600344324312c6f4315a5f0394ad698e3836b1d8 100644 (file)
@@ -4,10 +4,10 @@
  demonstrates use of Sort param (available in many api functions). Also, getsingle
  */
 function option_value_getsingle_example(){
-$params = array( 
+$params = array(
   'option_group_id' => 1,
   'version' => 3,
-  'options' => array( 
+  'options' => array(
       'sort' => 'label DESC',
       'limit' => 1,
     ),
@@ -23,7 +23,7 @@ $params = array(
  */
 function option_value_getsingle_expectedresult(){
 
-  $expectedResult = array( 
+  $expectedResult = array(
   'id' => '4',
   'option_group_id' => '1',
   'label' => 'SMS',