/** * Static Helper Method to Create using QueryString arguments * * @param mixed $objParentObject QForm or QPanel which will be using this NarroUserRoleMetaControl * @param QMetaControlCreateType $intCreateType rules governing NarroUserRole object creation - defaults to CreateOrEdit * @return NarroUserRoleMetaControl */ public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit) { $intUserRoleId = QApplication::QueryString('intUserRoleId'); return NarroUserRoleMetaControl::Create($objParentObject, $intUserRoleId, $intCreateType); }