GetFilterNames() 공개 정적인 메소드

Retrieves the list of registered filters.
public static GetFilterNames ( ) : PhpArray
리턴 Pchp.Core.PhpArray
예제 #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)));
 }
예제 #2
0
파일: Streams.cs 프로젝트: thabaum/peachpie
 /// <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)));
 }