function display() { if (OA_Permission::isAccount(OA_ACCOUNT_TRAFFICKER)) { echo "<input type='hidden' name='{$this->_name}' value='" . OA_Permission::getEntityId() . "'>"; } else { $aPublishers = Admin_UI_PublisherIdField::_getPublisherArray('name'); echo "\n <select name='{$this->_name}' tabindex='" . $this->_tabIndex++ . "'>"; foreach ($aPublishers as $publisherId => $aPublisher) { $selected = $publisherId == $this->getValue() ? " selected='selected'" : ''; echo "\n <option value='{$publisherId}'{$selected}>{$aPublisher}</option>"; } echo "\n </select>"; } }