Ejemplo n.º 1
0
 /**
  * Static Helper Method to Create using QueryString arguments
  *
  * @param mixed $objParentObject QForm or QPanel which will be using this NarroRoleMetaControl
  * @param QMetaControlCreateType $intCreateType rules governing NarroRole object creation - defaults to CreateOrEdit
  * @return NarroRoleMetaControl
  */
 public static function CreateFromQueryString($objParentObject, $intCreateType = QMetaControlCreateType::CreateOrEdit)
 {
     $intRoleId = QApplication::QueryString('intRoleId');
     return NarroRoleMetaControl::Create($objParentObject, $intRoleId, $intCreateType);
 }