getSqlTotalCount() protected method Returns total sql count executed in current request. If database panel is not configured returns 0. protected integer getSqlTotalCount ( )
$type public property Abstract type of this column. Possible abstract types include: string, text, boolean, smallint, integer, bigint, float, decimal, datetime, timestamp, time, date, binary, and money. public string $type = null
$depends public property public $depends = ['yii\web\YiiAsset']
$exceptionMap public property Map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used. public array $exceptionMap = ['SQLSTATE[23' => 'yii\db\IntegrityException']
$maxSourceLines public property Maximum number of source code lines to be displayed. Defaults to 19. public integer $maxSourceLines = 19
Using Widgets Creating Widgets Best Practices Widgets are reusable building blocks used in views to create complex and configurable user interface elements in an object-oriented fashion. For example, a date picker widget may generate a fancy date picker that allows users to pick a date as their input. All you need to do is just to insert the code in a view like the following: <?php use yii\jui\DatePicker; ?> <?= DatePicker::widget(['name' => 'date']) ?> There are a good number
$swiftMailer public read-only property Swift mailer instance or array configuration. public array|\Swift_Mailer getSwiftMailer ( )
EVENT_AFTER_PREPARE event of type \yii\web\ResponseEvent An event that is triggered right after prepare() is called in send(). You may respond to this event to filter the response content before it is sent to the client.
$result public property The action result. Event handlers may modify this property to change the action result. public mixed $result = null
ol() public static method Generates an ordered list. public static string ol ( $items, $options = [] )$items array|Traversable The items for generating the list. Each item generates a single list item. Note that items will be automatically HTML encoded if $options['encode'] is not set or true. $options array Options (name => config) for the radio button list. The following options are supported: encode: boolean, whether to HTML-encode the items. Defaults to true. This option is ig
Page 130 of 633