Erweiterung der Funktionalität, erste Anbindung an Editoren, Einbinden von JS-Bibliotheken
This commit is contained in:
20
rendering/Model/KeyVisualModel.php
Normal file
20
rendering/Model/KeyVisualModel.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by CS medien- & kommunikationssysteme.
|
||||
* @author Christian Steinle
|
||||
* @date 05.10.2016
|
||||
*
|
||||
* @copyright CS medien- & kommunikationssysteme (http://www.steinle-computer.de)
|
||||
*/
|
||||
|
||||
namespace Model;
|
||||
|
||||
|
||||
class KeyVisualModel extends ImageModel
|
||||
{
|
||||
public static function setFilter(array $IDs)
|
||||
{
|
||||
$filter = static::PRIMARY_KEY . ' = ' . implode(' OR ' . static::PRIMARY_KEY . ' = ', $IDs);
|
||||
static::$filter = $filter;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user