protected function getAttribute($sel, $attr) { try { $attr = parent::getAttribute($sel . '@' . $attr); } catch (Exception $ex) { $attr = false; } return $attr; }