1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cops_ynh.git synced 2024-09-03 18:25:57 +02:00
cops_ynh/sources/lib/PageAllCustoms.php

21 lines
563 B
PHP
Raw Normal View History

2016-12-21 18:48:44 +01:00
<?php
/**
* COPS (Calibre OPDS PHP Server) class file
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Sébastien Lucas <sebastien@slucas.fr>
*/
class PageAllCustoms extends Page
{
public function InitializeContent ()
{
$customId = getURLParam ("custom", NULL);
$columnType = CustomColumnType::createByCustomID($customId);
$this->title = $columnType->getTitle();
$this->entryArray = $columnType->getAllCustomValues();
$this->idPage = $columnType->getAllCustomsId();
}
}