$createdAtAttribute public property The attribute that will receive timestamp value Set this property to false if you do not want to record the creation time. public string $createdAtAttribute = 'created_at'
$pageSize public property The number of items per page. If it is less than 1, it means the page size is infinite, and thus a single page contains all items. public integer getPageSize ( )public void setPageSize ( $value, $validatePageSize = false )
get() public method Returns the component instance with the specified ID. See also: has() set() public object|null get ( $id, $throwException = true )$id string Component ID (e.g. db). $throwException boolean Whether to throw an exception if $id is not registered with the locator before. return object|null The component of the specified ID. If $throwException is false and $id is not registered before, null will be returned. throws yii\base\InvalidConfigException if $id refers to
toFile() public method Saves download to the physical file. public integer toFile ( $filename )$filename string Name of the physical file. return integer Number of written bytes.
getPrimaryKey() public method Returns the primary key value(s). public mixed getPrimaryKey ( $asArray = false )$asArray boolean Whether to return the primary key value as an array. If true, the return value will be an array with column names as keys and column values as values. Note that for composite primary keys, an array will always be returned regardless of this parameter value. return mixed The primary key value. An array (column name => column value) is returned if the primary
delete() public method Deletes a document from the index See also http://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete.html. public mixed delete ( $index, $type, $id, $options = [] )$index $type $id $options array
$sourcePath public property The directory that contains the source asset files for this asset bundle. A source asset file is a file that is part of your source code repository of your Web application. You must set this property if the directory containing the source asset files is not Web accessible. By setting this property, yii\web\AssetManager will publish the source asset files to a Web-accessible directory automatically when the asset bundle is registered on a page. If you do not set t
$document public property Document to be downloaded. public array getDocument ( )public void setDocument ( $document )
$enableSchemaCache public property Whether to enable schema caching. Note that in order to enable truly schema caching, a valid cache component as specified by $schemaCache must be enabled and $enableSchemaCache must be set true. See also: $schemaCacheDuration $schemaCacheExclude $schemaCache public boolean $enableSchemaCache = false
validateValue() protected method Validates a value. A validator class can implement this method to support data validation out of the context of a data model. protected array|null validateValue ( $value )$value mixed The data value to be validated. return array|null The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid. throws yii\base\NotSupportedException if the validator does not supporting data validation withou
Page 583 of 633