static function PostArray($name = null)
    {
        $post = filter_input_array(INPUT_POST);
        if (!$name)
        {
            return $post;
        }
        else if (isset($post[$name]) && is_array($post[$name]))
        {
            return $post[$name];
        }
        return array();
    }
static function PostArray($name = null)
    {
        $post = filter_input_array(INPUT_POST);
        if (!$name)
        {
            return $post;
        }
        else if (isset($post[$name]) && is_array($post[$name]))
        {
            return $post[$name];
        }
        return array();
    }
static function PostArray ( $ name = null ) { $ post = filter_input_array ( INPUT_POST ) ; if ( ! $ name ) { return $ post ; } else if ( isset ( $ post [ $ name ] ) && is_array ( $ post [ $ name ] ) ) { return $ post [ $ name ] ; } return array ( ) ; }
Gets the posted data as array
@param string name The name of the array variable; if omitted, complete POST is returned
@return array
Gets the posted data as array