di\Container hasSingleton()

hasSingleton() public method Returns a value indicating whether the given name corresponds to a registered singleton. public boolean hasSingleton ( $class, $checkInstance = false )$class string Class name, interface name or alias name $checkInstance boolean Whether to check if the singleton has been instantiated. return boolean Whether the given name corresponds to a registered singleton. If $checkInstance is true, the method should return a value indicating whether the singleton has

base\Model offsetSet()

offsetSet() public method Sets the element at the specified offset. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $model[$offset] = $item;. public void offsetSet ( $offset, $item )$offset integer The offset to set element $item mixed The element value

grid\GridView $rowOptions

$rowOptions public property The HTML attributes for the table body rows. This can be either an array specifying the common HTML attributes for all body rows, or an anonymous function that returns an array of the HTML attributes. The anonymous function will be called once for every data model returned by $dataProvider. It should have the following signature: function ($model, $key, $index, $grid) $model: the current data model being rendered $key: the key value associated with the current

db\pgsql\Schema $viewNames

$viewNames public read-only property All view names in the database. public string[] getViewNames ( $schema = '', $refresh = false )

web\Session setUseCookies()

setUseCookies() public method Sets the value indicating whether cookies should be used to store session IDs. Three states are possible: true: cookies and only cookies will be used to store session IDs. false: cookies will not be used to store session IDs. null: if possible, cookies will be used to store session IDs; if not, other mechanisms will be used (e.g. GET parameter) public void setUseCookies ( $value )$value boolean|null The value indicating whether cookies should be used to st

db\Schema quoteValue()

quoteValue() public method Quotes a string value for use in a query. Note that if the parameter is not a string, it will be returned without change. See also http://www.php.net/manual/en/function.PDO-quote.php. public string quoteValue ( $str )$str string String to be quoted return string The properly quoted string

console\Controller select()

select() public method Gives the user an option to choose from. Giving '?' as an input will show a list of options to choose from and their explanations. public string select ( $prompt, $options = [] )$prompt string The prompt message $options array Key-value array of options to choose from return string An option character the user chose

widgets\Pjax $formSelector

$formSelector public property The jQuery selector of the forms whose submissions should trigger pjax requests. If not set, all forms with data-pjax attribute within the enclosed content of Pjax will trigger pjax requests. If set to false, no code will be registered to handle forms. Note that if the response to the pjax request is a full page, a normal request will be sent again. public string|false $formSelector = null

db\oci\QueryBuilder dropCommentFromColumn()

dropCommentFromColumn() public method (available since version 2.0.8) Builds a SQL command for adding comment to column public string dropCommentFromColumn ( $table, $column )$table string The table whose column is to be commented. The table name will be properly quoted by the method. $column string The name of the column to be commented. The column name will be properly quoted by the method. return string The SQL statement for adding comment on column

caching\DbCache flushValues()

flushValues() protected method Deletes all values from cache. This is the implementation of the method declared in the parent class. protected boolean flushValues ( )return boolean Whether the flush operation was successful.