Exemplo n.º 1
0
 /**
  * Instantiates a new instance of the LogItem class
  * @method __construct
  * @param  string      $eventName Label for the event
  * @param  string      $note      Description
  */
 public function __construct($eventName = "", $note = "")
 {
     parent::__construct();
     $this->cssIdentifier = "csv-logitem";
     $this->eventName = $eventName;
     $this->note = $note;
 }
Exemplo n.º 2
0
 /**
  * Initializes a default GFBlogPost object
  */
 public function __construct()
 {
     parent::__construct();
     $this->body = "";
     $this->abstractBody = "";
     $this->status = new \GeniusFactor\Fibr\BaseObjects\GFStatus();
     $this->tagArr = array();
 }
Exemplo n.º 3
0
 /** Instantiates a new instance of this class */
 function __construct()
 {
     parent::__construct();
     $this->dateTimeStart = getDefaultDate();
     $this->dateTimeEnd = getDefaultDate();
     $this->location = "";
     $this->description = "";
     $this->priority = 3;
 }
Exemplo n.º 4
0
 /**
  * Initializes a default GFSiteText object
  * @param string $textKey Keyword to index the text-block
  * @param string $heading Heading for the textblock. Not returned if empty.
  * @param string $body Body-text
  */
 public function __construct($textKey = "", $heading = "", $body = "")
 {
     parent::__construct();
     $this->textKey = $textKey;
     $this->heading = $heading;
     $this->body = $body;
     $this->showAdmin = false;
     $this->status = new \GeniusFactor\Fibr\BaseObjects\GFStatus();
 }
Exemplo n.º 5
0
 /** Instantiates a new instance of the current object */
 public function __construct()
 {
     parent::__construct();
     $this->unitNumber = "";
     $this->cssIdentifier = "";
     $this->streetAddress = "";
     $this->city = "";
     $this->territory = new \GeniusFactor\Fibr\Geo\GFTerritory();
     $this->postal = "";
 }
Exemplo n.º 6
0
 /**
  * Initializes a default GFTerritory object, Defaults to British Columbia, canada
  * @param string $abbreviation Short 2-3 character repsentation of the territory. Defaults to "BC"
  * @param string $name Long name for the Territory. Defaults to "British Columbia"
  * @param string $country Country Name. Defaults to "Canada"
  */
 public function __construct($abbrevation = "BC", $name = "British Columbia", $country = "Canada")
 {
     parent::__construct();
     $this->cssIdentifier = "territory";
     $this->abbreviation = "BC";
     $this->name = "British Columbia";
     // initialize for canada
     $this->country = new \GeniusFactor\Fibr\Geo\GFCountry($country, "CAN", "CA");
     $this->parentID = $this->country->id;
 }
Exemplo n.º 7
0
 /**
  * Initializes a default GFTag object
  */
 public function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 8
0
 /** Initializes a default GFBlogPost object */
 public function __construct()
 {
     parent::__construct();
     $this->body = "";
 }
Exemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->description = "";
     $this->subscribers = array();
 }
Exemplo n.º 10
0
 /**
  * Initializes a default GFFaq object
  * @method __construct
  * @param  string      $question Question portfion of an FAQ
  * @param  string      $answer   Answer portfion of an FAQ
  */
 public function __construct($question = "", $answer = "")
 {
     parent::__construct();
     $this->question = $question;
     $this->answer = $answer;
 }