FluxBB.org

 
Translations of this page?:

Function Reference

/include/functions.php

Function name Parameters Description
add_post $post_info, &$new_pid Tworzy nowy post
add_topic $post_info, &$new_tid, &$new_pid Tworzy nowy temat z pierwszym postem
add_user $user_info, &$new_uid Tworzy nowego użytkownika. Nazwa użytkownika musi być zgodna z funkcją validate_username().
array_insert &$input, $offset, $element, $key = null Wstawia $element do $input przy przesunięciu $offset
authenticate_user $user, $password, $password_is_hash = false Authenticates the provided username and password against the user database
censor_words $text Zamienia cenzurowane słowa w $text
check_bans Check whether the connecting user is banned (and delete any expired bans while we're at it)
check_username_dupe $username, $exclude_id = null Sprawdza czy nazwa użytkownika nie jest już zajęta
clean_forum_moderators Iterates through all forum moderator lists and removes any erroneous entries
clean_version $version Clean version string from trailing '.0's
cookie_login &$forum_user Attempt to login with the user ID and password hash from the cookie
csrf_confirm_form Display a form that the user can use to confirm that they want to undertake an action. Used when the CSRF token from the request does not match the token stored in the database.
delete_orphans Locate and delete any orphaned redirect topics
delete_post $post_id, $topic_id, $forum_id Usuwa jeden post
delete_topic $topic_id, $forum_id Usuwa temat i wszystkie zawarte w nim posty
delete_user $user_id Usuwa użytkownika i wszystkie powiązane z nim informacje
dump $arg1, … Dump contents of variable(s)
error Wyświetla pojedynczą wiadomość błędu
format_time $timestamp, $date_only = false Format a time string according to $time_format and timezones
forum_clear_cache Usuwa każdy plik .php z katalogu cache forum
forum_hash $str, $salt Generates a salted, SHA-1 hash of $str
forum_htmlencode $str Encodes the contents of $str so that they are safe to output on an (X)HTML page
forum_linebreaks $str Convert rn and r to n
forum_link $link, $args = null Generate a hyperlink with parameters and anchor
forum_setcookie $name, $value, $expire Ustawia cookie, styl FluxBB!
forum_strlen $str An UTF-8 aware version of strlen()
forum_sublink $link, $sublink, $subarg, $args = null Generate a hyperlink with parameters and anchor and a subsection such as a subpage
forum_unregister_globals Unset any variables instantiated as a result of register_globals being enabled
generate_crumbs $reverse Generuje menu nawigacyjne
generate_form_token $target_url Generates a valid CSRF token for use when submitting a form to $target_url. $target_url should be an absolute URL and it should be exactly the URL that the user is going to. Alternately, if the form token is going to be used in GET (which would mean the token is going to be a part of the URL itself), $target_url may be a plain string containing information related to the URL.
generate_navlinks Generuje główne menu „navigator” widoczne na każdej podstronie
generate_profile_menu Generuje menu nawigacji dla profilu
get_current_url $max_length = 0 Próbuje pobrać aktualny adres URL
get_hook $hook_id Pobiera wszystkie bloki kodu dla podanego haka $hook_id
get_remote_address Try to determine the correct remote IP-address
get_remote_file $url, $timeout, $head_only = false Attempts to fetch the provided URL using any available means
get_saved_queries Wyświetla wykonane zapytania (jeśli włączone)
get_title $user Determines the correct title for $user. $user must contain the elements 'username', 'title', 'posts', 'g_id' and 'g_user_title'
get_tracked_topics Extract array of tracked topics from cookie
maintenance_message Pokazuje wiadomość jeśli forum jest w trybie konserwacji
message $message, $link = '' Wyświetla wiadomość
paginate $num_pages, $cur_page, $link, $separator, $args = null Generate a string with numbered links (for multipage scripts)
random_key $len, $readable = false, $hash = false Generuje losowy ciąg znaków o podanej długości $len
redirect $destination_url, $message Wyświetla wiadomość ($message) i przekierowywuje użytkownika do $destination_url
sef_friendly $str Sprawia, że podany ciąg znaków może zostać bezpiecznie użyty w adresie URL
send_subscriptions $post_info, $new_pid Send out subscription emails
set_default_user Wypełnia $forum_user domyślnymi wartościami (dla gości)
set_tracked_topics $tracked_topics Zapisuje tablicę śledzonych tematów w cookie
sync_forum $forum_id Update posts, topics, last_post, last_post_id and last_poster for a forum
sync_topic $topic_id Update replies, last_post, last_post_id and last_poster for a topic
update_users_online Uaktualnia „Użytkowników online”
validate_username $username, $exclude_id = null Verifies that the provided username is OK for insertion into the database
 
pl/functions.txt · ostatnio zmienione: 2008/06/01 18:43 przez Kane
 
Wszystkie treści w tym wiki, którym nie przyporządkowano licencji, podlegają licencji:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki