/**
  * Create and setup QListBox lstPublicLogin
  * @param string $strControlId optional ControlId to use
  * @param QQCondition $objConditions override the default condition of QQ::All() to the query, itself
  * @param QQClause[] $objOptionalClauses additional optional QQClause object or array of QQClause objects for the query
  * @return QListBox
  */
 public function lstPublicLogin_Create($strControlId = null, QQCondition $objCondition = null, $objOptionalClauses = null)
 {
     $this->lstPublicLogin = new QListBox($this->objParentObject, $strControlId);
     $this->lstPublicLogin->Name = QApplication::Translate('Public Login');
     $this->lstPublicLogin->Required = true;
     if (!$this->blnEditMode) {
         $this->lstPublicLogin->AddItem(QApplication::Translate('- Select One -'), null);
     }
     // Setup and perform the Query
     if (is_null($objCondition)) {
         $objCondition = QQ::All();
     }
     $objPublicLoginCursor = PublicLogin::QueryCursor($objCondition, $objOptionalClauses);
     // Iterate through the Cursor
     while ($objPublicLogin = PublicLogin::InstantiateCursor($objPublicLoginCursor)) {
         $objListItem = new QListItem($objPublicLogin->__toString(), $objPublicLogin->Id);
         if ($this->objProvisionalPublicLogin->PublicLogin && $this->objProvisionalPublicLogin->PublicLogin->Id == $objPublicLogin->Id) {
             $objListItem->Selected = true;
         }
         $this->lstPublicLogin->AddItem($objListItem);
     }
     // Return the QListBox
     return $this->lstPublicLogin;
 }