2011-02-03 23:51:35 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class Application_Model_Preference
|
|
|
|
{
|
|
|
|
|
2011-02-05 22:00:05 +01:00
|
|
|
public static function SetValue($key, $value){
|
2011-02-03 23:51:35 +01:00
|
|
|
global $CC_CONFIG, $CC_DBC;
|
2011-02-05 22:00:05 +01:00
|
|
|
|
2011-04-04 06:02:35 +02:00
|
|
|
//called from a daemon process
|
|
|
|
if(!Zend_Auth::getInstance()->hasIdentity()) {
|
|
|
|
$id = NULL;
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
$auth = Zend_Auth::getInstance();
|
|
|
|
$id = $auth->getIdentity()->id;
|
|
|
|
}
|
|
|
|
|
|
|
|
$key = pg_escape_string($key);
|
|
|
|
$value = pg_escape_string($value);
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-03 23:51:35 +01:00
|
|
|
//Check if key already exists
|
|
|
|
$sql = "SELECT COUNT(*) FROM cc_pref"
|
2011-02-04 01:17:52 +01:00
|
|
|
." WHERE keystr = '$key'";
|
2011-02-03 23:51:35 +01:00
|
|
|
$result = $CC_DBC->GetOne($sql);
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-04-04 06:02:35 +02:00
|
|
|
if ($result == 1 && is_null($id)){
|
|
|
|
$sql = "UPDATE cc_pref"
|
|
|
|
." SET subjid = NULL, valstr = '$value'"
|
|
|
|
." WHERE keystr = '$key'";
|
|
|
|
}
|
|
|
|
else if ($result == 1 && !is_null($id)){
|
2011-02-03 23:51:35 +01:00
|
|
|
$sql = "UPDATE cc_pref"
|
2011-02-04 01:17:52 +01:00
|
|
|
." SET subjid = $id, valstr = '$value'"
|
2011-03-23 23:16:08 +01:00
|
|
|
." WHERE keystr = '$key'";
|
2011-04-04 06:02:35 +02:00
|
|
|
}
|
|
|
|
else if(is_null($id)) {
|
|
|
|
$sql = "INSERT INTO cc_pref (keystr, valstr)"
|
|
|
|
." VALUES ('$key', '$value')";
|
2011-06-17 17:54:36 +02:00
|
|
|
}
|
2011-04-04 06:02:35 +02:00
|
|
|
else {
|
2011-02-03 23:51:35 +01:00
|
|
|
$sql = "INSERT INTO cc_pref (subjid, keystr, valstr)"
|
2011-02-04 01:17:52 +01:00
|
|
|
." VALUES ($id, '$key', '$value')";
|
2011-02-03 23:51:35 +01:00
|
|
|
}
|
|
|
|
return $CC_DBC->query($sql);
|
|
|
|
}
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-04 01:17:52 +01:00
|
|
|
public static function GetValue($key){
|
2011-02-03 23:51:35 +01:00
|
|
|
global $CC_CONFIG, $CC_DBC;
|
|
|
|
//Check if key already exists
|
|
|
|
$sql = "SELECT COUNT(*) FROM cc_pref"
|
2011-02-04 01:17:52 +01:00
|
|
|
." WHERE keystr = '$key'";
|
2011-02-03 23:51:35 +01:00
|
|
|
$result = $CC_DBC->GetOne($sql);
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-03 23:51:35 +01:00
|
|
|
if ($result == 0)
|
2011-02-04 01:22:17 +01:00
|
|
|
return "";
|
2011-02-03 23:51:35 +01:00
|
|
|
else {
|
|
|
|
$sql = "SELECT valstr FROM cc_pref"
|
2011-02-04 01:17:52 +01:00
|
|
|
." WHERE keystr = '$key'";
|
2011-02-03 23:51:35 +01:00
|
|
|
$result = $CC_DBC->GetOne($sql);
|
2011-02-04 01:17:52 +01:00
|
|
|
return $result;
|
2011-02-03 23:51:35 +01:00
|
|
|
}
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-03 23:51:35 +01:00
|
|
|
}
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-04 01:17:52 +01:00
|
|
|
public static function GetHeadTitle(){
|
|
|
|
/* Caches the title name as a session variable so we dont access
|
|
|
|
* the database on every page load. */
|
|
|
|
$defaultNamespace = new Zend_Session_Namespace('title_name');
|
|
|
|
if (isset($defaultNamespace->title)) {
|
|
|
|
$title = $defaultNamespace->title;
|
|
|
|
} else {
|
|
|
|
$title = Application_Model_Preference::GetValue("station_name");
|
|
|
|
$defaultNamespace->title = $title;
|
|
|
|
}
|
2011-02-04 01:22:17 +01:00
|
|
|
if (strlen($title) > 0)
|
|
|
|
$title .= " - ";
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-04 01:22:17 +01:00
|
|
|
return $title."Airtime";
|
2011-02-04 01:17:52 +01:00
|
|
|
}
|
2011-03-23 23:16:08 +01:00
|
|
|
|
2011-02-04 01:17:52 +01:00
|
|
|
public static function SetHeadTitle($title, $view){
|
2011-03-23 23:16:08 +01:00
|
|
|
Application_Model_Preference::SetValue("station_name", $title);
|
|
|
|
$defaultNamespace = new Zend_Session_Namespace('title_name');
|
2011-02-04 01:17:52 +01:00
|
|
|
$defaultNamespace->title = $title;
|
2011-03-23 23:16:08 +01:00
|
|
|
RabbitMq::PushSchedule();
|
|
|
|
|
2011-02-04 01:17:52 +01:00
|
|
|
//set session variable to new station name so that html title is updated.
|
|
|
|
//should probably do this in a view helper to keep this controller as minimal as possible.
|
|
|
|
$view->headTitle()->exchangeArray(array()); //clear headTitle ArrayObject
|
|
|
|
$view->headTitle(Application_Model_Preference::GetHeadTitle());
|
|
|
|
}
|
2011-02-03 23:51:35 +01:00
|
|
|
|
2011-03-23 23:16:08 +01:00
|
|
|
public static function SetShowsPopulatedUntil($timestamp) {
|
|
|
|
Application_Model_Preference::SetValue("shows_populated_until", $timestamp);
|
2011-02-05 22:00:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetShowsPopulatedUntil() {
|
|
|
|
return Application_Model_Preference::GetValue("shows_populated_until");
|
|
|
|
}
|
|
|
|
|
2011-03-23 23:16:08 +01:00
|
|
|
public static function SetDefaultFade($fade) {
|
|
|
|
Application_Model_Preference::SetValue("default_fade", $fade);
|
2011-02-11 23:46:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetDefaultFade() {
|
|
|
|
return Application_Model_Preference::GetValue("default_fade");
|
|
|
|
}
|
|
|
|
|
2011-03-04 18:07:22 +01:00
|
|
|
public static function SetStreamLabelFormat($type){
|
|
|
|
Application_Model_Preference::SetValue("stream_label_format", $type);
|
2011-03-23 23:16:08 +01:00
|
|
|
RabbitMq::PushSchedule();
|
2011-03-04 18:07:22 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetStreamLabelFormat(){
|
|
|
|
return Application_Model_Preference::getValue("stream_label_format");
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetStationName(){
|
|
|
|
return Application_Model_Preference::getValue("station_name");
|
|
|
|
}
|
2011-03-18 22:15:12 +01:00
|
|
|
|
2011-03-23 23:16:08 +01:00
|
|
|
public static function SetDoSoundCloudUpload($upload) {
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_upload", $upload);
|
2011-03-18 22:15:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetDoSoundCloudUpload() {
|
|
|
|
return Application_Model_Preference::GetValue("soundcloud_upload");
|
|
|
|
}
|
|
|
|
|
2011-03-23 23:16:08 +01:00
|
|
|
public static function SetSoundCloudUser($user) {
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_user", $user);
|
2011-03-18 22:15:12 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetSoundCloudUser() {
|
|
|
|
return Application_Model_Preference::GetValue("soundcloud_user");
|
|
|
|
}
|
|
|
|
|
2011-03-23 23:16:08 +01:00
|
|
|
public static function SetSoundCloudPassword($password) {
|
2011-03-31 23:30:50 +02:00
|
|
|
if (strlen($password) > 0)
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_password", $password);
|
2011-03-18 22:15:12 +01:00
|
|
|
}
|
|
|
|
|
2011-03-21 20:48:44 +01:00
|
|
|
public static function GetSoundCloudPassword() {
|
2011-03-18 22:15:12 +01:00
|
|
|
return Application_Model_Preference::GetValue("soundcloud_password");
|
|
|
|
}
|
|
|
|
|
2011-03-28 21:39:01 +02:00
|
|
|
public static function SetSoundCloudTags($tags) {
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_tags", $tags);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetSoundCloudTags() {
|
|
|
|
return Application_Model_Preference::GetValue("soundcloud_tags");
|
|
|
|
}
|
|
|
|
|
2011-04-02 22:33:45 +02:00
|
|
|
public static function SetSoundCloudGenre($genre) {
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_genre", $genre);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetSoundCloudGenre() {
|
|
|
|
return Application_Model_Preference::GetValue("soundcloud_genre");
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function SetSoundCloudTrackType($track_type) {
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_tracktype", $track_type);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetSoundCloudTrackType() {
|
|
|
|
return Application_Model_Preference::GetValue("soundcloud_tracktype");
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function SetSoundCloudLicense($license) {
|
|
|
|
Application_Model_Preference::SetValue("soundcloud_license", $license);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetSoundCloudLicense() {
|
|
|
|
return Application_Model_Preference::GetValue("soundcloud_license");
|
|
|
|
}
|
|
|
|
|
2011-03-30 21:34:35 +02:00
|
|
|
public static function SetAllow3rdPartyApi($bool) {
|
|
|
|
Application_Model_Preference::SetValue("third_party_api", $bool);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetAllow3rdPartyApi() {
|
|
|
|
$val = Application_Model_Preference::GetValue("third_party_api");
|
|
|
|
if (strlen($val) == 0){
|
|
|
|
return "0";
|
|
|
|
} else {
|
|
|
|
return $val;
|
|
|
|
}
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function SetPhone($phone){
|
|
|
|
Application_Model_Preference::SetValue("phone", $phone);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function GetPhone(){
|
|
|
|
return Application_Model_Preference::GetValue("phone");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function SetEmail($email){
|
|
|
|
Application_Model_Preference::SetValue("email", $email);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function GetEmail(){
|
|
|
|
return Application_Model_Preference::GetValue("email");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function SetStationWebSite($site){
|
|
|
|
Application_Model_Preference::SetValue("station_website", $site);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function GetStationWebSite(){
|
|
|
|
return Application_Model_Preference::GetValue("station_website");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function SetSupportFeedback($feedback){
|
|
|
|
Application_Model_Preference::SetValue("support_feedback", $feedback);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function GetSupportFeedback(){
|
|
|
|
return Application_Model_Preference::GetValue("support_feedback");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function SetPublicise($publicise){
|
|
|
|
Application_Model_Preference::SetValue("publicise", $publicise);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetPublicise(){
|
|
|
|
return Application_Model_Preference::GetValue("publicise");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function SetRegistered($registered){
|
|
|
|
Application_Model_Preference::SetValue("registered", $registered);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-09 15:56:32 +02:00
|
|
|
public static function GetRegistered(){
|
|
|
|
return Application_Model_Preference::GetValue("registered");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function SetStationCountry($country){
|
|
|
|
Application_Model_Preference::SetValue("country", $country);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetStationCountry(){
|
|
|
|
return Application_Model_Preference::GetValue("country");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function SetStationCity($city){
|
|
|
|
Application_Model_Preference::SetValue("city", $city);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetStationCity(){
|
|
|
|
return Application_Model_Preference::GetValue("city");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function SetStationDescription($description){
|
|
|
|
Application_Model_Preference::SetValue("description", $description);
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetStationDescription(){
|
|
|
|
return Application_Model_Preference::GetValue("description");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function SetStationLogo($imagePath){
|
|
|
|
if(!empty($imagePath)){
|
2011-06-30 19:52:51 +02:00
|
|
|
$image = @file_get_contents($imagePath);
|
2011-06-15 18:06:50 +02:00
|
|
|
$image = base64_encode($image);
|
|
|
|
Application_Model_Preference::SetValue("logoImage", $image);
|
|
|
|
}
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetStationLogo(){
|
|
|
|
return Application_Model_Preference::GetValue("logoImage");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetUniqueId(){
|
|
|
|
return Application_Model_Preference::GetValue("uniqueId");
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function GetCountryList(){
|
|
|
|
global $CC_DBC;
|
|
|
|
$sql = "SELECT * FROM cc_country";
|
|
|
|
$res = $CC_DBC->GetAll($sql);
|
|
|
|
$out = array();
|
2011-06-29 23:46:46 +02:00
|
|
|
$out[""] = "Select Country";
|
2011-06-15 18:06:50 +02:00
|
|
|
foreach($res as $r){
|
2011-06-21 05:31:20 +02:00
|
|
|
$out[$r["isocode"]] = $r["name"];
|
2011-06-15 18:06:50 +02:00
|
|
|
}
|
|
|
|
return $out;
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-20 23:58:38 +02:00
|
|
|
public static function GetSystemInfo($returnArray=false){
|
2011-06-15 18:06:50 +02:00
|
|
|
exec('/usr/bin/airtime-check-system', $output);
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
$output = preg_replace('/\s+/', ' ', $output);
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
$systemInfoArray = array();
|
|
|
|
foreach( $output as $key => &$out){
|
|
|
|
$info = explode('=', $out);
|
|
|
|
if(isset($info[1])){
|
2011-06-20 23:58:38 +02:00
|
|
|
$key = str_replace(' ', '_', trim($info[0]));
|
2011-06-15 18:06:50 +02:00
|
|
|
$key = strtoupper($key);
|
2011-06-21 11:20:35 +02:00
|
|
|
$systemInfoArray[$key] = $info[1];
|
2011-06-15 18:06:50 +02:00
|
|
|
}
|
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
$outputArray = array();
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
$outputArray['STATION_NAME'] = Application_Model_Preference::GetStationName();
|
2011-06-20 23:58:38 +02:00
|
|
|
$outputArray['PHONE'] = Application_Model_Preference::GetPhone();
|
|
|
|
$outputArray['EMAIL'] = Application_Model_Preference::GetEmail();
|
2011-06-15 18:06:50 +02:00
|
|
|
$outputArray['STATION_WEB_SITE'] = Application_Model_Preference::GetStationWebSite();
|
|
|
|
$outputArray['STATION_COUNTRY'] = Application_Model_Preference::GetStationCountry();
|
|
|
|
$outputArray['STATION_CITY'] = Application_Model_Preference::GetStationCity();
|
2011-06-21 18:23:43 +02:00
|
|
|
$outputArray['STATION_DESCRIPTION'] = Application_Model_Preference::GetStationDescription();
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-20 23:58:38 +02:00
|
|
|
// get web server info
|
2011-08-02 19:54:26 +02:00
|
|
|
if(isset($systemInfoArray["AIRTIME_VERSION_URL"])){
|
|
|
|
$url = $systemInfoArray["AIRTIME_VERSION_URL"];
|
|
|
|
$index = strpos($url,'/api/');
|
|
|
|
$url = substr($url, 0, $index);
|
|
|
|
|
|
|
|
$headerInfo = get_headers(trim($url),1);
|
|
|
|
$outputArray['WEB_SERVER'] = $headerInfo['Server'][0];
|
|
|
|
}
|
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
$outputArray['NUM_OF_USERS'] = User::getUserCount();
|
|
|
|
$outputArray['NUM_OF_SONGS'] = StoredFile::getFileCount();
|
|
|
|
$outputArray['NUM_OF_PLAYLISTS'] = Playlist::getPlaylistCount();
|
2011-06-20 23:58:38 +02:00
|
|
|
$outputArray['NUM_OF_SCHEDULED_PLAYLISTS'] = Schedule::getSchduledPlaylistCount();
|
|
|
|
$outputArray['NUM_OF_PAST_SHOWS'] = ShowInstance::GetShowInstanceCount(date("Y-m-d H:i:s"));
|
2011-06-15 18:06:50 +02:00
|
|
|
$outputArray['UNIQUE_ID'] = Application_Model_Preference::GetUniqueId();
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-21 18:23:43 +02:00
|
|
|
$outputArray = array_merge($systemInfoArray, $outputArray);
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
$outputString = "\n";
|
|
|
|
foreach($outputArray as $key => $out){
|
2011-06-26 07:01:35 +02:00
|
|
|
if($out != ''){
|
2011-06-21 18:23:43 +02:00
|
|
|
$outputString .= $key.' : '.$out."\n";
|
|
|
|
}
|
2011-06-15 18:06:50 +02:00
|
|
|
}
|
2011-06-20 23:58:38 +02:00
|
|
|
if($returnArray){
|
2011-06-26 05:28:42 +02:00
|
|
|
$outputArray['PROMOTE'] = Application_Model_Preference::GetPublicise();
|
2011-06-21 05:31:20 +02:00
|
|
|
$outputArray['LOGOIMG'] = Application_Model_Preference::GetStationLogo();
|
2011-06-20 23:58:38 +02:00
|
|
|
return $outputArray;
|
|
|
|
}else{
|
|
|
|
return $outputString;
|
|
|
|
}
|
2011-06-15 18:06:50 +02:00
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 18:06:50 +02:00
|
|
|
public static function SetRemindMeDate($now){
|
|
|
|
$weekAfter = mktime(0, 0, 0, date("m") , date("d")+7, date("Y"));
|
2011-06-15 23:51:44 +02:00
|
|
|
Application_Model_Preference::SetValue("remindme", $weekAfter);
|
2011-06-09 15:56:32 +02:00
|
|
|
}
|
2011-06-21 11:20:35 +02:00
|
|
|
|
2011-06-15 23:51:44 +02:00
|
|
|
public static function GetRemindMeDate(){
|
|
|
|
return Application_Model_Preference::GetValue("remindme");
|
|
|
|
}
|
2011-08-08 20:44:05 +02:00
|
|
|
|
|
|
|
public static function SetImportTimestamp(){
|
|
|
|
$now = time();
|
2011-08-09 16:40:10 +02:00
|
|
|
if(Application_Model_Preference::GetImportTimestamp()+5 < $now){
|
|
|
|
Application_Model_Preference::SetValue("import_timestamp", $now);
|
|
|
|
}
|
2011-08-08 20:44:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
public static function GetImportTimestamp(){
|
|
|
|
return Application_Model_Preference::GetValue("import_timestamp");
|
|
|
|
}
|
2011-02-03 23:51:35 +01:00
|
|
|
}
|
|
|
|
|