Snaps in all categories

Catch route from subdomain in controller using AspNetCoreSubdomain library....

.net asp.net asp.mvc subdomain

php

second parameter defines a size of the chunked subarrays. third parameter defines if originale keys should be preserved in chunked arrays. array chunk returns array with chunked subarrays...

php array chunks

php

php - change key case with array_change_key_case function...

php array case

php

php - get items from array which index starting with given prefix with array_intersect_key function...

array php

jquery - serialize inputs from array with serializeArray()...

serializearray

yii2 - instantiate model class from variable...

yii2 model

php

Php switch syntax...

php switch

Get selected value from select using val()...

select

tables: expression -------------- id, expression expression_type ---------------------- id, name Find all records from expression table with expression_type name 'math'...

yii2 active-record-query

Click of the element starting with prefix....

event prefix click element

Property can be accessed with dot:...

object property dot

Object can be found with grep function:...

array object find property grep

Selected options from select2 can be accessed like this:...

select2 selected

To add item to array 'push' function is used....

array add

In Javascript array can be declared with implicit declaration as function return value as follows:...

array declaration

In Javascript array can be declared with array constructor:...

array declare constructor

In Javascript array can be declared using literal notation like this:...

array declaration

yii2 - get current module controller and action on view...

php yii2 url route action

Get distinct records with for example name from workers table:...

php yii2 activerecord select distinct

mysql - select distinct records where id's are different. Lets say that we hawe workers table:...

mysql select distinct names