dmBridge PHP API
UNLVHighlightGenericDataStore.php
00001 <?php
00002 #
00003 # UNLVHighlight: a dmBridge module for highlighting objects
00004 #
00005 # Copyright © 2011 Board of Regents of the Nevada System of Higher
00006 # Education, on behalf of the University of Nevada, Las Vegas
00007 #
00008 
00016 abstract class UNLVHighlightGenericDataStore extends DMMySQLDataStore {
00017 
00021    public static function addHighlightedObjectSQL() {
00022       return "INSERT INTO highlighted_object(alias, ptr, datetime)
00023          VALUES(:alias, :ptr, :datetime);";
00024    }
00025 
00029    public static function getDeleteObjectsSQL() {
00030       return "DELETE FROM highlighted_object WHERE datetime = :datetime;";
00031    }
00032 
00033 }
 All Data Structures Functions Variables