UserRecord::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( $id = null, $name = null, $email = null, $roleId = null, $roleName = null )
        public function __construct($id = null, $name = null, $email = null, $roleId = null, $roleName = null)
        {
            $this->id = $id;
            $this->name = $name;
            $this->email = $email;
            $this->roleId = $roleId;
            $this->roleName = $roleName;
        }

Same methods

UserRecord::__construct ( $id = null, $name = null, $email = null, $roleId = null, $roleName = null, $preferredLocale = null )

Usage Example

 public function __construct($isActive = NULL, $isEmailNotificationAllowed = NULL, $externalId = NULL, $ordersUiLocalTimeZoneId = NULL, $customFieldValues = NULL, $id = NULL, $name = NULL, $email = NULL, $roleId = NULL, $roleName = NULL, $preferredLocale = NULL, $UserRecordType = NULL)
 {
     parent::__construct();
     $this->isActive = $isActive;
     $this->isEmailNotificationAllowed = $isEmailNotificationAllowed;
     $this->externalId = $externalId;
     $this->ordersUiLocalTimeZoneId = $ordersUiLocalTimeZoneId;
     $this->customFieldValues = $customFieldValues;
     $this->id = $id;
     $this->name = $name;
     $this->email = $email;
     $this->roleId = $roleId;
     $this->roleName = $roleName;
     $this->preferredLocale = $preferredLocale;
     $this->UserRecordType = $UserRecordType;
 }
All Usage Examples Of UserRecord::__construct