CMS  Version 3.9
APIContentAdminView Class Reference
+ Inheritance diagram for APIContentAdminView:
+ Collaboration diagram for APIContentAdminView:

Public Member Functions

 __construct ($section)
 
 handlePOST ()
 
 drawView ()
 

Additional Inherited Members

- Protected Attributes inherited from AbstractSectionContentAdminView
 $section
 

Detailed Description

Definition at line 126 of file api_manager.inc.

Constructor & Destructor Documentation

◆ __construct()

APIContentAdminView::__construct (   $section)

Reimplemented from AbstractSectionContentAdminView.

Definition at line 128 of file api_manager.inc.

129  {
130  parent::__construct($section);
131  }

Member Function Documentation

◆ drawView()

APIContentAdminView::drawView ( )

Reimplemented from AbstractSectionContentAdminView.

Definition at line 137 of file api_manager.inc.

138  {
139  global $script;
140 
141  /*
142  $tokens = Query::create(ShareToken, "ORDER BY created_date")->execute();
143  $table = new DataListView($tokens, "share_tokens");
144  $table->column("Token", "<a href=''>{token}</a>", true)
145  ->column("Type", "{item_type}", true)
146  ->column("Shared By", "{User.getFullName()}", true)
147  ->column("Active", "<i class='fa-fw fas fa-{active:check/times}'></i>", true, "text-align: center")
148  ->column("# Accesses", "{countAccesses()}", true, "text-align: right");
149 
150  $table->pageSize = 20;
151  $table->filter = true;
152  $table->sortable = true;
153  $table->emptyMessage = "No items have been shared";
154  $table->excelFile = "share_tokens.xls";
155 
156  $script .= $table->writeScript();
157 
158  echo "<h3>Share Tokens</h3>";
159 
160  $table->drawView();
161  */
162  }

◆ handlePOST()

APIContentAdminView::handlePOST ( )

Reimplemented from AbstractSectionContentAdminView.

Definition at line 133 of file api_manager.inc.

134  {
135  }

The documentation for this class was generated from the following file: