My name is Aliaksandr Prakapenka. I’m 28 years old.
I want to improve my skills in programming languages. The main goal is connecting my life with software developing. I know, that a lot of developers use programming languages and technologies for web and, as result, I’ve made a choise to learn JS.
I’m a head of IT-department of Minsk State Linguistik University. I’ve been working there for about 7 years. I have a lot of knowledge about different software products and systems what is used in the university. I use some programming languages: PHP (Yii2), C++ (Qt), C# for creating small projects for the university.
public function actionLocality() {
$out = [];
if (isset($_POST['depdrop_parents']))
{
$ids = $_POST['depdrop_parents'];
//print_r($ids);
$area = $ids[0];
$region = $ids[1];
$type = $ids[2];
if ($type != null) {
$list = Locality::find()->select(['id_locality','name_locality'])->where(
[
'area' => $area,
'region'=>$region,
'type_locality'=>$type
])->asArray()->all();
$selected = null;
if (count($list) > 0)
{
foreach ($list as $i => $locality) {
$out[] = ['id' => $locality['id_locality'], 'name' => $locality['name_locality']];
}
// Shows how you can preselect a value
echo Json::encode(['output' => $out, 'selected'=>'']);
return;
}
}
}
echo Json::encode(['output'=>'', 'selected'=>'']);
}
I’ve already started to learn HTML, CSS and made tasks on the HTML Academy, and Codewars.
In 2014 I graduated Belarusian State University of Informatics and Radioelectronics.
One years ago I took English Courses for B1-level in Minsk State Linguistik University.