PATH:
home
/
lab2454c
/
foreclass.com
/
wp-content
/
plugins
/
ocean-extra
/
includes
/
freemius
/
includes
/
entities
<?php /** * @package Freemius * @copyright Copyright (c) 2015, Freemius, Inc. * @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 * @since 1.0.3 */ if ( ! defined( 'ABSPATH' ) ) { exit; } class FS_User extends FS_Scope_Entity { #region Properties /** * @var string */ public $email; /** * @var string */ public $first; /** * @var string */ public $last; /** * @var bool */ public $is_verified; /** * @var string|null */ public $customer_id; /** * @var float */ public $gross; #endregion Properties /** * @param object|bool $user */ function __construct( $user = false ) { parent::__construct( $user ); } function get_name() { return trim( ucfirst( trim( is_string( $this->first ) ? $this->first : '' ) ) . ' ' . ucfirst( trim( is_string( $this->last ) ? $this->last : '' ) ) ); } function is_verified() { return ( isset( $this->is_verified ) && true === $this->is_verified ); } /** * @author Leo Fajardo (@leorw) * @since 2.4.2 * * @return bool */ function is_beta() { // Return `false` since this is just for backward compatibility. return false; } static function get_type() { return 'user'; } }
[-] class-fs-plugin-info.php
[edit]
[-] index.php
[edit]
[+]
..
[-] class-fs-payment.php
[edit]
[-] class-fs-plugin-tag.php
[edit]
[-] class-fs-plugin-plan.php
[edit]
[-] class-fs-billing.php
[edit]
[-] class-fs-plugin.php
[edit]
[-] class-fs-user.php
[edit]
[-] class-fs-pricing.php
[edit]
[-] class-fs-plugin-license.php
[edit]
[-] class-fs-entity.php
[edit]
[-] class-fs-scope-entity.php
[edit]
[-] class-fs-affiliate-terms.php
[edit]
[-] class-fs-site.php
[edit]
[-] class-fs-subscription.php
[edit]
[-] class-fs-affiliate.php
[edit]