validators\IpValidator $ipv4Pattern

$ipv4Pattern public property Regexp-pattern to validate IPv4 address public string $ipv4Pattern = '/^(?:(?:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\.){3}(?:(?:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9]))$/'

web\CookieCollection count()

count() public method Returns the number of cookies in the collection. This method is required by the SPL Countable interface. It will be implicitly called when you use count($collection). public integer count ( )return integer The number of cookies in the collection.

mongodb\file\StreamWrapper stream_write()

stream_write() public method Writes to stream. This method is called in response to fwrite(). See also \yii\mongodb\file\fwrite(). public integer stream_write ( $data )$data string String to be stored into the underlying stream. return integer The number of bytes that were successfully stored.

test\ArrayFixture unload()

unload() public method Unloads the fixture. This method is called after every test method finishes. You may override this method to perform necessary cleanup work for the fixture. public void unload ( )

jui\Accordion $headerOptions

$headerOptions public property List of HTML attributes for the item header container tags. This will be overwritten by the "headerOptions" set in individual $items. The following special options are recognized: tag: string, defaults to "h3", the tag name of the item container tags. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $headerOptions = []

gii\generators\module\Generator $modulePath

$modulePath public read-only property The directory that contains the module class public boolean getModulePath ( )

rest\Serializer $linksEnvelope

$linksEnvelope public property (available since version 2.0.4) The name of the envelope (e.g. _links) for returning the links objects. It takes effect only, if collectionEnvelope is set. public string $linksEnvelope = '_links'

gii\generators\model\Generator $generateLabelsFromComments

$generateLabelsFromComments public property public $generateLabelsFromComments = false

helpers\BaseStringHelper truncateWords()

truncateWords() public static method Truncates a string to the number of words specified. public static string truncateWords ( $string, $count, $suffix = '...', $asHtml = false )$string string The string to truncate. $count integer How many words from original string to include into truncated string. $suffix string String to append to the end of truncated string. $asHtml boolean Whether to treat the string being truncated as HTML and preserve proper HTML tags. This parameter is ava

Data widgets

DetailView ListView GridView Further reading Yii provides a set of widgets that can be used to display data. While the DetailView widget can be used to display data for a single record, ListView and GridView can be used to display a list or table of data records providing features like pagination, sorting and filtering. DetailView The DetailView widget displays the details of a single data model. It is best used for displaying a model in a regular format (e.g. each model attribute is dis