You are here

public function GatherContentCurl::pageOverwriteDropdown in GatherContent 7.2

Return dropdown for page list to overwrite.

File

includes/curl.inc, line 322
Contains functions used to process and retrieve data from GatherContent.

Class

GatherContentCurl
@file Contains functions used to process and retrieve data from GatherContent.

Code

public function pageOverwriteDropdown() {
  $html = $this
    ->getTreeList();
  if ($html != '') {
    $html = '
      <li class="divider"></li>' . $html;
  }
  $html = '
      <li>
        <a href="#" data-value="0">' . t('New entry') . '</a>
      </li>' . $html;
  $this->data['overwrite_select'] = $html;
}