예제 #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;
 }
예제 #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();
 }
예제 #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;
 }
예제 #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();
 }
예제 #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 = "";
 }
예제 #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;
 }
예제 #7
0
파일: GFTag.php 프로젝트: geniusfactor/fibr
 /**
  * Initializes a default GFTag object
  */
 public function __construct()
 {
     parent::__construct();
 }
예제 #8
0
 /** Initializes a default GFBlogPost object */
 public function __construct()
 {
     parent::__construct();
     $this->body = "";
 }
예제 #9
0
 public function __construct()
 {
     parent::__construct();
     $this->description = "";
     $this->subscribers = array();
 }
예제 #10
0
파일: GFFaq.php 프로젝트: geniusfactor/fibr
 /**
  * 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;
 }