i18n\Formatter asTimestamp()

asTimestamp() public method Formats a date, time or datetime in a float number as UNIX timestamp (seconds since 01-01-1970). public string asTimestamp ( $value )$value integer|string|DateTime The value to be formatted. The following types of value are supported: an integer representing a UNIX timestamp a string that can be parsed to create a DateTime object. The timestamp is assumed to be in $defaultTimeZone unless a time zone is explicitly given. a PHP DateTime object return string

rbac\PhpManager $itemFile

$itemFile public property The path of the PHP script that contains the authorization items. This can be either a file path or a path alias to the file. Make sure this file is writable by the Web server process if the authorization needs to be changed online. See also: loadFromFile() saveToFile() public string $itemFile = '@app/rbac/items.php'

rbac\DbManager $itemChildTable

$itemChildTable public property The name of the table storing authorization item hierarchy. Defaults to "auth_item_child". public string $itemChildTable = '{{%auth_item_child}}'

gii\console\GenerateController actionIndex()

actionIndex() public method public void actionIndex ( )

web\CacheSession $useCustomStorage

$useCustomStorage public read-only property Whether to use custom storage. public boolean getUseCustomStorage ( )

rbac\Rule $createdAt

$createdAt public property UNIX timestamp representing the rule creation time public integer $createdAt = null

helpers\BaseHtml activeBooleanInput()

activeBooleanInput() protected static method (available since version 2.0.9) Generates a boolean input This method is mainly called by activeCheckbox() and activeRadio(). protected static string activeBooleanInput ( $type, $model, $attribute, $options = [] )$type string The input type. This can be either radio or checkbox. $model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $opti

elasticsearch\DebugAction $db

$db public property The connection id to use public string $db = null

db\Command refreshTableSchema()

refreshTableSchema() protected method (available since version 2.0.6) Refreshes table schema, which was marked by requireTableSchemaRefresh() protected void refreshTableSchema ( )

debug\panels\AssetPanel $summary

$summary public read-only property Content that is displayed at debug toolbar public string getSummary ( )