Functions

can_use_password_API

function to check if the password API can be used In some PHP version ( <5.3.7), crypt() with blowfish is vulnerable.

But this issue has been fixed on some older PHP version (php 5.3.3 for most of them) in some distro, like Debian squeeze.
« More »

password_hash

Hash the password using the specified algorithm

« More »

password_get_info

Get information about the password hash. Returns an array of the information that was used to generate the password hash.

array( 'algo' => 1, 'algoName' => 'bcrypt', 'options' => array( 'cost' => 10, ), )
« More »

password_needs_rehash

Determine if the password hash needs to be rehashed according to the options provided

If the answer is true, after validating the password using password_verify, rehash it.
« More »

password_verify

Verify a password against a hash using a timing attack resistant approach

« More »

Constants

_PASSWORD_CRYPT_HASH_FORMAT

« More »

_PASSWORD_CRYPT_PROLOG

« More »

PASSWORD_BCRYPT

« More »

PASSWORD_DEFAULT

« More »

Classes, interfaces and traits

VersionRangeOperatorInterface

« More »

autocomplete_htmlFormWidget

Widget allowing to select a value by showing results from a search after the user starts to type a name. The search is made into a select html element filled by the datasource of the control, which should be a menulist.

See jAutocomplete jqueryui plugin, which is base on the autocomplete plugin. If the select box may contain hundred values, prefer to use the autocompleteajax_html widget. The widget accepts a specific attribute, 'attr-autocomplete', an array which should contains at least an item 'source' indicating the url of the search engine. The array may contains other attributes for the input element used to type the search term (class, style..). example of use: In the form file: ``` <menulist ref="mylist"> <label>test</label> <datasource dao="mymodule~mydao"/> </menulist> ``` In a template: ``` {form $form, $submitAction, $submitParam, 'html', array('plugins'=>array( 'mylist'=>'autocomplete_html'))} {formcontrols} ... {ifctrl 'mylist'}{ctrl_control '', array( 'attr-autocomplete'=>array('style'=>'width:40em;')} {else}{ctrl_control}{/ifctrl} {/formcontrols} ```
« More »

autocompleteajax_htmlFormWidget

Widget allowing to select a value by showing results from a search after the user start to type a name. The search is made by doing an http request to the server. See jAutocompleteAjax jqueryui plugin, which is base on the autocomplete plugin.

You should use a menulist control, and a datasource, inheriting from jFormsDaoDatasource or jFormsDynamicDatasource, and having a getData() method returning an empty list. The widget accepts a specific attribute, 'attr-autocomplete', an array which should contains at least an item 'source' indicating the url of the search engine. The array may contains other attributes for the input element used to type the search term (class, style..). example of use: In the form file: ``` <menulist ref="mylist"> <label>test</label> <datasource class="mymodule~mydatasource"/> </menulist> ``` The datasource: ``` class mydatasource extends jFormsDaoDatasource { function __construct($formId) { parent::__construct ("mymodule~myDao" , "findAll" , "label", 'id'); } public function getData($form) { return array(); } } ``` In a template: ``` {form $form, $submitAction, $submitParam, 'html', array('plugins'=>array( 'mylist'=>'autocompleteajax_html'))} {formcontrols} ... {ifctrl 'mylist'}{ctrl_control '', array( 'attr-autocomplete'=>array('style'=>'width:40em;', 'source'=>$searchUrl))} {else}{ctrl_control}{/ifctrl} {/formcontrols} ```
« More »

Parser

« More »

time_htmlFormWidget

HTML form builder.

« More »

Version

Embed version informations.

« More »

VersionComparator

class to compare version numbers. it supports the following keywords: "pre", "-dev", "b", "beta", "a", "alpha".

It supports also the "*" wilcard. This wilcard must be the last part of the version number.
« More »

versionRangeBinaryOperator

Represents a binary operator (AND or OR) in a version range expression.

« More »

versionRangeTrueOperator

« More »

versionRangeUnaryOperator

Represents an unary operator (>,<,=,!=,<=,>=,~) in a version range expression.

« More »