GetFilterNames() public static method

Retrieves the list of registered filters.
public static GetFilterNames ( ) : PhpArray
return Pchp.Core.PhpArray
Ejemplo n.º 1
0
 /// <summary>
 /// Retrieves the list of registered filters.
 /// </summary>
 /// <returns>A <see cref="PhpArray"/> containing the names of available filters. Cannot be <c>null</c>.</returns>
 public static PhpArray stream_get_filters()
 {
     return(new PhpArray(PhpFilter.GetFilterNames().Select(PhpValue.Create)));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Retrieves the list of registered filters.
 /// </summary>
 /// <returns>A <see cref="PhpArray"/> containing the names of available filters. Cannot be <c>null</c>.</returns>
 public static PhpArray stream_get_filters(Context ctx)
 {
     return(new PhpArray(PhpFilter.GetFilterNames(ctx)));
 }