Tutorial by Topics: ion

void session_abort ( void ) int session_cache_expire ([ string $new_cache_expire ] ) void session_commit ( void ) string session_create_id ([ string $prefix ] ) bool session_decode ( string $data ) bool session_destroy ( void ) string session_encode ( void ) int session_gc ( void ) array ...
There are many situations where it is useful to return several values from a function: for example, if you want to input an item and return the price and number in stock, this functionality could be useful. There are many ways to do this in C++, and most involve the STL. However, if you wish to avoi...
The built-in collections package provides several specialized, flexible collection types that are both high-performance and provide alternatives to the general collection types of dict, list, tuple and set. The module also defines abstract base classes describing different types of collection functi...
The $ character introduces parameter expansion, command substitution, or arithmetic expansion. The parameter name or symbol to be expanded may be enclosed in braces, which are optional but serve to protect the variable to be expanded from characters immediately following it which could be interprete...
RecyclerView addItemDecoration(RecyclerView.ItemDecoration decoration) RecyclerView addItemDecoration(RecyclerView.ItemDecoration decoration, int index) ParameterDetailsdecorationthe item decoration to add to the RecyclerViewindexthe index in the list of decorations for this RecyclerView. T...
See also separate topic on Overload Resolution Ambiguities can occur when one type can be implicitly converted into more than one type and there is no matching function for that specific type. For example: void foo(double, double); void foo(long, long); //Call foo with 2 ints foo(1, 2);...
As more secure web services avoid storing passwords in plain text format, languages such as PHP provide various (undecryptable) hash functions to support the more secure industry standard. This topic provides documentation for proper hashing with PHP. string password_hash ( string $password , ...
Due to the GIL (Global interpreter lock) only one instance of the python interpreter executes in a single process. So in general, using multi-threading only improves IO bound computations, not CPU-bound ones. The multiprocessing module is recommended if you wish to parallelise CPU-bound tasks. G...
An assertion is a predicate that the presented condition must be true at the moment the assertion is encountered by the software. Most common are simple assertions, which are validated at execution time. However, static assertions are checked at compile time. assert(expression) static_assert(...
_Generic ( assignment-expression , generic-assoc-list ) ParameterDetailsgeneric-assoc-listgeneric-association OR generic-assoc-list , generic-associationgeneric-associationtype-name : assignment-expression OR default : assignment-expression All type qualifiers will be dropped during the ...
transition: <property> <duration> <timing-function> <delay>; @keyframes <identifier> [ [ from | to | <percentage> ] [, from | to | <percentage> ]* block ]* Transition ParameterDetailspropertyEither the CSS property to transition on, or all, which s...
One approach that can be taken to writing software is to create dependencies as they are needed. This is quite an intuitive way to write a program and is the way that most people will tend to be taught, partly because it is easy to follow. One of the issues with this approach is that it can be h...
notification name { email = [email protected], [email protected], ... post = http://example.com get = http://example.com next = another-notification-definition timeout = 30m runOnActions = false body = {"text": {{.|json}}} contentType = application/json print = true...
fun TypeName.extensionName(params, ...) { /* body */ } // Declaration fun <T: Any> TypeNameWithGenerics<T>.extensionName(params, ...) { /* body */ } // Declaration with Generics myObj.extensionName(args, ...) // invocation Extensions are resolved statically. This means that t...
Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the JVM. Java Reflection API is used for that purpose where it makes it possible to inspect classes, interfaces, fields and methods at runtime, without knowing their...
$(function() { $( "#selecter" ).accordion(); }); $(function() { $( "#selecter" ).accordion({ active: 2 }); }); $(function() { $( "#selecter" ).accordion({ animate: 200 }); }); $(function() { $( "#selecter" ).accordion({ collapsible: true }); ...
Python makes regular expressions available through the re module. Regular expressions are combinations of characters that are interpreted as rules for matching substrings. For instance, the expression 'amount\D+\d+' will match any string composed by the word amount plus an integral number, separate...
Local notifications allow your app to notify the user about content which does not require the use of a server. Unlike remote notifications which are triggered from a server, local notifications are scheduled and triggered within an app. Notifications in general are targeted to increase user intera...

Page 4 of 78