src/classes/CCArr.php
public static function delete( $key, &$arr ) 
	{	
		if ( isset( $arr[$key] ) ) 
		{
			unset( $arr[$key] ); return;
		}

		if ( strpos( $key, '.' ) !== false ) 
		{	
			$kp = explode( '.', $key );

			switch ( count( $kp ) ) {
				case 2:
					unset( $arr[$kp[0]][$kp[1]] ); return; break;
				case 3:
					unset( $arr[$kp[0]][$kp[1]][$kp[2]] ); return; break;
				case 4:
					unset( $arr[$kp[0]][$kp[1]][$kp[2]][$kp[3]] ); return; break;
			}
		}
	}
public static function delete( $key, &$arr ) 
	{	
		if ( isset( $arr[$key] ) ) 
		{
			unset( $arr[$key] ); return;
		}

		if ( strpos( $key, '.' ) !== false ) 
		{	
			$kp = explode( '.', $key );

			switch ( count( $kp ) ) {
				case 2:
					unset( $arr[$kp[0]][$kp[1]] ); return; break;
				case 3:
					unset( $arr[$kp[0]][$kp[1]][$kp[2]] ); return; break;
				case 4:
					unset( $arr[$kp[0]][$kp[1]][$kp[2]][$kp[3]] ); return; break;
			}
		}
	}
public static function delete ( $ key , & $ arr ) { if ( isset ( $ arr [ $ key ] ) ) { unset ( $ arr [ $ key ] ) ; return ; } if ( strpos ( $ key , '.' ) !== false ) { $ kp = explode ( '.' , $ key ) ; switch ( count ( $ kp ) ) { case 2 : unset ( $ arr [ $ kp [ 0 ] ] [ $ kp [ 1 ] ] ) ; return ; break ; case 3 : unset ( $ arr [ $ kp [ 0 ] ] [ $ kp [ 1 ] ] [ $ kp [ 2 ] ] ) ; return ; break ; case 4 : unset ( $ arr [ $ kp [ 0 ] ] [ $ kp [ 1 ] ] [ $ kp [ 2 ] ] [ $ kp [ 3 ] ] ) ; return ; break ; } } }
deletes an item from an array with dottet dimensions

@param string		$key
@param array		$arr
@return void
deletes an item from an array with dottet dimensions