CorujaArrayManipulation.class.php

Go to the documentation of this file.
00001 <?php
00011 class CorujaArrayManipulation
00012 {
00013 
00030         public static function getArrayField( array $arrElement, $mixKey, $mixNotFound = null )
00031         {
00032                 if ( array_key_exists( $mixKey , $arrElement ) )
00033                 {
00034                         return $arrElement[ $mixKey ];
00035                 }
00036                 else
00037                 {
00038                         return $mixNotFound;
00039                 }
00040         }
00041 }
00042 ?>

Generated on Thu Feb 3 03:54:59 2011 for CodeToDiagram by  doxygen 1.5.9