return "$obj", в данном случаи строка попадает в функции цикла, которые не умеют работать со строками <input name="data[$id]name"<input name="name[$id]"$array = file(__DIR__ . "/mem.txt", FILE_IGNORE_NEW_LINES);$array = explode("\n", file_get_contents(__DIR__ . "/mem.txt")); $subnetQuery = Subnet::find();
$subnetQuery->andWhere(['bras' => 2]);
$clientQuery = Clint::find();
$clientQuery->andWehere(['in', 'subnet', $subnetQuery]);
//
$clientQuery->all();
//
$clientQuery->limit(1);
$clientQuery->one();$per.attr("data-percent", percentage+'%');.percent:before { content: attr( data-percent ) '%'; }