AdminPageFramework_Utility_String::hasPrefix PHP Метод

hasPrefix() публичный статический Метод

public static hasPrefix ( $sNeedle, $sHaystack )
    public static function hasPrefix($sNeedle, $sHaystack)
    {
        return (string) $sNeedle === substr($sHaystack, 0, strlen((string) $sNeedle));
    }