/** * 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; }
/** * Initializes a default GFBlogPost object */ public function __construct() { parent::__construct(); $this->body = ""; $this->abstractBody = ""; $this->status = new \GeniusFactor\Fibr\BaseObjects\GFStatus(); $this->tagArr = array(); }
/** Instantiates a new instance of this class */ function __construct() { parent::__construct(); $this->dateTimeStart = getDefaultDate(); $this->dateTimeEnd = getDefaultDate(); $this->location = ""; $this->description = ""; $this->priority = 3; }
/** * 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(); }
/** 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 = ""; }
/** * 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; }
/** * Initializes a default GFTag object */ public function __construct() { parent::__construct(); }
/** Initializes a default GFBlogPost object */ public function __construct() { parent::__construct(); $this->body = ""; }
public function __construct() { parent::__construct(); $this->description = ""; $this->subscribers = array(); }
/** * 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; }