Beispiel #1
0
 /**
  * Instantiates a new instance of the NavItem object
  * @method __construct
  */
 public function __construct()
 {
     parent::__construct();
     // ensure root object properties are initialized
     $this->selected = false;
     $this->subItems = array();
 }
Beispiel #2
0
 /**
  * Instantiates a new instance of the current object
  * @method __construct
  * @param  integer     $id              [description]
  * @param  string      $applicationName [description]
  * @param  integer     $statusCode      [description]
  * @param  string      $description     [description]
  */
 function __construct($id = 0, $applicationName = "", $statusCode = -1, $description = "")
 {
     parent::__construct();
     $this->id = $id;
     $this->applicationName = $applicationName;
     $this->statusCode = $statusCode;
     $this->description = $description;
 }
Beispiel #3
0
 /**
  * Instantiates a GFKeypair object
  * @method __construct
  * @param  integer     $id    Index representing the current object
  * @param  string      $name  Name or string value
  * @param  string      $value Value assigment
  * @param bool    Determines if the current object is toggled on/off
  */
 public function __construct($id = 0, $name = "", $value = "", $isSelected = false)
 {
     parent::__construct();
     $this->id = $id;
     $this->name = $name;
     $this->value = $value;
     $this->isSelected = $isSelected;
 }
Beispiel #4
0
 /**
  * Instantiates a new instance of the current object
  * @method __construct
  * @param integer $id UniqueID representing the object
  * @param string $name Name property (usually used for rendering)
  * @param string $value Value property (used for storing; often the same as ID
  * @param int $parentID UniqueID representing the parent object
  * @param int $sortOrder Sort order
  */
 public function __construct($id = 0, $name = "", $value = "", $parentID = 0, $sortOrder = 0)
 {
     parent::__construct();
     $this->id = $id;
     $this->value = $value;
     $this->name = $name;
     $this->parentID = $parentID;
     $this->sortOrder = $sortOrder;
     $this->dates = new \GeniusFactor\Fibr\Dates\GFDate();
 }
Beispiel #5
0
 /** Instantiates a new instance of the current object */
 function __construct()
 {
     parent::__construct();
     $this->firstName = "";
     $this->middleName = "";
     $this->lastName = "";
     $this->gender = new \GeniusFactor\Fibr\BaseObjects\GFGender();
     $this->dateOfBirth = new \DateTime();
     $this->emailAddress = "";
 }
Beispiel #6
0
 /**
  * Initializes a default GFArticle object
  * @method __construct
  * @param  string      $name              Country Name
  * @param  string      $abbreviation      3 Character Abbreviation for a country (ISO-3166)
  * @param  string      $abbreviationShort 2 Character Abbreviation for a country (ISO-3166)
  * @param  string      $continent         Continent the country is found on
  */
 public function __construct($name = "Canada", $abbreviation = "CAN", $abbreviationShort = "CA", $continent = "NA")
 {
     parent::__construct();
     $this->numericCode = 0;
     $this->name = $name;
     $this->abbreviation = $abbreviation;
     $this->abbreviationShort = $abbreviationShort;
     $this->flagImageUrl = "";
     $this->flagIconUrl = "";
     $this->continent = $continent;
 }
 /**
  * [__construct description]
  * @method __construct
  * @param  string      $emailAddress [description]
  * @param  string      $firstName    [description]
  * @param  string      $lastName     [description]
  */
 public function __construct($emailAddress = "", $firstName = "", $lastName = "")
 {
     parent::__construct();
     // ensure root object properties are initialized
     $this->emailAddress = $emailAddress;
     $this->firstName = $firstName;
     $this->lastName = $lastName;
     $this->confirmationToken = getGuid();
     $this->dates = new \GeniusFactor\Fibr\BaseObjects\GFDate();
     $this->gender = new \GeniusFactor\Fibr\BaseObjects\GFGender();
     $this->isActive = false;
 }