db\ActiveRecord transactions()

transactions() public method Declares which DB operations should be performed within a transaction in different scenarios. The supported DB operations are: OP_INSERT, OP_UPDATE and OP_DELETE, which correspond to the insert(), update() and delete() methods, respectively. By default, these methods are NOT enclosed in a DB transaction. In some scenarios, to ensure data consistency, you may want to enclose some or all of them in transactions. You can do so by overriding this method and returnin

db\Query distinct()

distinct() public method Sets the value indicating whether to SELECT DISTINCT or not. public $this distinct ( $value = true )$value boolean Whether to SELECT DISTINCT or not. return $this The query object itself

sphinx\Query join()

join() public method Appends a JOIN part to the query. The first parameter specifies what type of join it is. public $this join ( $type, $table, $on = '', $params = [] )$type string The type of join, such as INNER JOIN, LEFT JOIN. $table string|array The table to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name

db\ActiveQueryTrait findWith()

findWith() public method Finds records corresponding to one or multiple relations and populates them into the primary models. public void findWith ( $with, &$models )$with array A list of relations that this query should be performed with. Please refer to with() for details about specifying this parameter. $models array|yii\db\ActiveRecord[] The primary models (can be either AR instances or arrays)

i18n\Formatter $numberFormatterTextOptions

$numberFormatterTextOptions public property A list of name value pairs that are passed to the intl Numberformatter::setTextAttribute() method of all the number formatter objects created by createNumberFormatter(). This property takes only effect if the PHP intl extension is installed. Please refer to the PHP manual for the possible options. For example to change the minus sign for negative numbers you can configure this property like the following: [ NumberFormatter::NEGATIVE_PREFIX =&g

authclient\OpenId fetchSregAttributes()

fetchSregAttributes() protected method Gets SREG attributes provided by OP. SREG names will be mapped to AX names. protected array fetchSregAttributes ( )return array Array of attributes with keys being the AX schema names, e.g. 'contact/email'

authclient\OpenId initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

validators\ExistValidator init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

test\InitDbFixture beforeLoad()

beforeLoad() public method This method is called BEFORE any fixture data is loaded for the current test. public void beforeLoad ( )

mongodb\Migration batchInsert()

batchInsert() public method Inserts several new rows into collection. public array batchInsert ( $collection, $rows, $options = [] )$collection array|string Collection name. $rows array Array of arrays or objects to be inserted. $options array List of options in format: optionName => optionValue. return array Inserted data, each row will have "_id" key assigned to it.