public function actionProperties() { if (isset($_REQUEST['properties']) && is_array($_REQUEST['properties'])) { foreach ($_REQUEST['properties'] as $propID => $propValue) { Property::setPropertyValue($propID, $propValue); } } return $this->render('properties'); }