<?php
/* --------------------------------------------------------------
AdminFavoritesSource.inc.php 2012-01-09 gambio
Gambio GmbH
http://www.gambio.de
Copyright (c) 2011 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
*/
MainFactory::load_class('MenuSourceInterface');
class AdminFavoritesSource
{
var $v_favorites_structure_array = array();
function init_structure_array( )
{
$this->v_favorites_structure_array = array();
$query = xtc_db_query("SELECT * FROM gm_admin_favorites ORDER BY favorites_id ASC");
while($row = xtc_db_fetch_array($query)){
$this->v_favorites_structure_array[] = $row;
}
}
function get_favorites( $p_customers_id )
{
$t_favorites_array = array();
foreach($this->v_favorites_structure_array AS $t_key => $t_favorite){
if($t_favorite['customers_id'] == $p_customers_id){
$t_favorites_array[] = $t_favorite['link_key'];
}
}
return $t_favorites_array;
}
}
?>| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| AdminFavoritesSource.inc.php | 2013-11-12 21:11 | 1.12 KB | 76129f60960:kunden | -xw-x----- | |
| AdminMenuSource.inc.php | 2013-11-12 21:11 | 8.52 KB | 76129f60960:kunden | -xw-x----- | |
| AdminPermSource.inc.php | 2013-11-12 21:11 | 1.37 KB | 76129f60960:kunden | -xw-x----- | |
| AdminPermSourceInterface.inc.php | 2013-11-12 21:11 | 576 B | 76129f60960:kunden | -xw-x----- | |
| BrowserExtensionSource.inc.php | 2013-11-12 21:11 | 6.33 KB | 76129f60960:kunden | -xw-x----- | |
| ContentMaster.inc.php | 2013-11-12 21:11 | 1.78 KB | 76129f60960:kunden | -xw-x----- | |
| GMDataObject.inc.php | 2013-11-12 21:11 | 7.55 KB | 76129f60960:kunden | -xw-x----- | |
| GMDataObjectGroup.inc.php | 2013-11-12 21:11 | 2.45 KB | 76129f60960:kunden | -xw-x----- | |
| JSOptionsSource.inc.php | 2013-11-12 21:11 | 2 KB | 76129f60960:kunden | -xw-x----- | |
| MenuSourceInterface.inc.php | 2013-11-12 21:11 | 552 B | 76129f60960:kunden | -xw-x----- | |
| ServerInfoMaster.inc.php | 2013-11-12 21:11 | 12.94 KB | 76129f60960:kunden | -xw-x----- | |
| SimpleBoxesMaster.inc.php | 2013-11-12 21:11 | 1.51 KB | 76129f60960:kunden | -xw-x----- | |
| UsermodJSMaster.inc.php | 2013-11-12 21:11 | 1.63 KB | 76129f60960:kunden | -xw-x----- | |
| index.html | 2013-11-12 21:11 | 395 B | 76129f60960:kunden | -xw-x----- | |
| xml_line.php | 2013-11-12 21:11 | 60.47 KB | 76129f60960:kunden | -xw-x----- | |