Beispiel #1
0
 function __construct()
 {
     $this->ModuleId = "JaxpShopping";
     $this->ModuleName = "jaXP Shopping";
     $this->ModuleDescription = "Handles a web shop.";
     $this->ModuleVersion = "1.0";
     parent::__construct();
 }
Beispiel #2
0
 function __construct($mode, $date_source = "")
 {
     parent::__construct();
     unset($this->FileSystem, $this->MySqlHandler);
     date_default_timezone_set($this->PlatformSettings->DefaultTimeZone);
     switch ($mode) {
         case JAXP_DATE_FROM_STRING:
             $this->timestamp = strtotime($date_source);
             $this->Day = date("d", $this->timestamp);
             $this->Month = date("m", $this->timestamp);
             $this->Year = date("Y", $this->timestamp);
             $this->Hour = date("H", $this->timestamp);
             $this->Minute = date("i", $this->timestamp);
             $this->Second = date("s", $this->timestamp);
             break;
         case JAXP_DATE_FROM_ARRAY:
             list($this->Day, $this->Month, $this->Year, $this->Hour, $this->Month, $this->Second, ) = $date_source;
             break;
         case JAXP_DATE_FROM_TIMESTAMP:
             $this->Day = date("d", $date_source);
             $this->Month = date("m", $date_source);
             $this->Year = date("Y", $date_source);
             $this->Hour = date("H", $date_source);
             $this->Minute = date("i", $date_source);
             $this->Second = date("s", $date_source);
             break;
         case JAXP_DATE_NOW:
             $this->Day = date("d");
             $this->Month = date("m");
             $this->Year = date("Y");
             $this->Hour = date("H");
             $this->Minute = date("i");
             $this->Second = date("s");
             break;
     }
     $this->timestamp = mktime($this->Hour, $this->Minute, $this->Second, $this->Month, $this->Day, $this->Year);
     unset($this->PlatformSettings);
 }
Beispiel #3
0
 function __construct($channel_name, $channel_description, $channel_link)
 {
     $this->Channel = new JaxpRssChannel($channel_name, $channel_description, $channel_link);
     parent::__construct();
 }
Beispiel #4
0
 /**
  * Constructor
  * @return void
  */
 function __construct()
 {
     # Set-up module properties, handled by the Jaxp core.
     $this->ModuleId = "jaxp.journal";
     $this->ModuleName = "jaXP Journal";
     $this->ModuleDescription = "Newspaper extension, " . "enables news posts & comments.";
     $this->ModuleVersion = "1.2";
     parent::__construct();
 }