Class shardimage\shardimagephpapi\base\BaseObject

Inheritanceshardimage\shardimagephpapi\base\BaseObject
Subclassesshardimage\shardimagephp\auth\AuthData, shardimage\shardimagephp\auth\Client, shardimage\shardimagephp\auth\ClientService, shardimage\shardimagephp\models\Index, shardimage\shardimagephp\models\IndexParams, shardimage\shardimagephp\models\accesstoken\AccessToken, shardimage\shardimagephp\models\accesstoken\ImageUrlAccessToken, shardimage\shardimagephp\models\accesstoken\ImageUrlAccessTokenExtra, shardimage\shardimagephp\models\accesstoken\ImageUrlAccessTokenExtraAuthentication, shardimage\shardimagephp\models\accesstoken\UploadAccessToken, shardimage\shardimagephp\models\accesstoken\UploadAccessTokenExtra, shardimage\shardimagephp\models\billing\Detail, shardimage\shardimagephp\models\billing\DetailItem, shardimage\shardimagephp\models\billing\DetailParams, shardimage\shardimagephp\models\billing\DetailWarning, shardimage\shardimagephp\models\cloud\Cloud, shardimage\shardimagephp\models\cloud\Index, shardimage\shardimagephp\models\cloud\IndexParams, shardimage\shardimagephp\models\cloud\Info, shardimage\shardimagephp\models\firewall\Firewall, shardimage\shardimagephp\models\firewall\Index, shardimage\shardimagephp\models\firewall\IndexParams, shardimage\shardimagephp\models\firewall\Rules, shardimage\shardimagephp\models\image\Dimensions, shardimage\shardimagephp\models\image\Image, shardimage\shardimagephp\models\image\ImageObject, shardimage\shardimagephp\models\image\Index, shardimage\shardimagephp\models\image\IndexParams, shardimage\shardimagephp\models\image\ViewParams, shardimage\shardimagephp\models\job\Index, shardimage\shardimagephp\models\job\IndexParams, shardimage\shardimagephp\models\job\Job, shardimage\shardimagephp\models\job\Result, shardimage\shardimagephp\models\superbackup\Index, shardimage\shardimagephp\models\superbackup\IndexParams, shardimage\shardimagephp\models\superbackup\SuperBackup, shardimage\shardimagephp\models\superbackup\Task, shardimage\shardimagephp\models\superbackup\targets\AmazonS3Target, shardimage\shardimagephp\models\superbackup\targets\CloudinaryTarget, shardimage\shardimagephp\models\superbackup\targets\GoogleCloudStorageTarget, shardimage\shardimagephp\models\superbackup\targets\MicrosoftAzureStorageTarget, shardimage\shardimagephp\models\superbackup\targets\Target, shardimage\shardimagephp\models\system\ping\Ping, shardimage\shardimagephp\models\system\ping\Request, shardimage\shardimagephp\services\AccessTokenService, shardimage\shardimagephp\services\BillingService, shardimage\shardimagephp\services\CloudService, shardimage\shardimagephp\services\DataService, shardimage\shardimagephp\services\FirewallService, shardimage\shardimagephp\services\ImageService, shardimage\shardimagephp\services\JobService, shardimage\shardimagephp\services\Service, shardimage\shardimagephp\services\SuperBackupService, shardimage\shardimagephp\services\SystemService, shardimage\shardimagephp\services\UploadService, shardimage\shardimagephp\services\UrlService, shardimage\shardimagephpapi\api\Request, shardimage\shardimagephpapi\api\Response, shardimage\shardimagephpapi\api\ResponseError, shardimage\shardimagephpapi\api\auth\BaseAuthData, shardimage\shardimagephpapi\api\auth\NullAuthData, shardimage\shardimagephpapi\base\types\Int64, shardimage\shardimagephpapi\services\BaseService, shardimage\shardimagephpapi\services\Client, shardimage\shardimagephpapi\services\Server, shardimage\shardimagephpapi\web\CachedContent, shardimage\shardimagephpapi\web\FileReference

Base object.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() Creates the object, populates the properties and calls the "init" method. shardimage\shardimagephpapi\base\BaseObject
__get() Returns the value of a non-defined property, it there is a getter method. shardimage\shardimagephpapi\base\BaseObject
__isset() Does the non-defined property with a getter exist and is it not NULL? shardimage\shardimagephpapi\base\BaseObject
__set() Sets the value of a non-defined property, if there is a setter method. shardimage\shardimagephpapi\base\BaseObject
__unset() Sets the value of a non-defined property to NULL, if there is a setter. shardimage\shardimagephpapi\base\BaseObject
toArray() Converts the object an array. shardimage\shardimagephpapi\base\BaseObject

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
ensureClass() Creates an object from the given parameters. shardimage\shardimagephpapi\base\BaseObject
init() Custom initialization. shardimage\shardimagephpapi\base\BaseObject

Method Details

__construct() public method

Creates the object, populates the properties and calls the "init" method.

public void __construct ( $config = [] )
$config array

Predefined properties

__get() public method

Returns the value of a non-defined property, it there is a getter method.

public mixed __get ( $name )
$name string

Property

throws shardimage\shardimagephpapi\base\exceptions\InvalidCallException
throws shardimage\shardimagephpapi\base\exceptions\UnknownPropertyException
__isset() public method

Does the non-defined property with a getter exist and is it not NULL?

public boolean __isset ( $name )
$name string

Property

__set() public method

Sets the value of a non-defined property, if there is a setter method.

public void __set ( $name, $value )
$name string

Property

$value mixed

Value

throws shardimage\shardimagephpapi\base\exceptions\InvalidCallException
throws shardimage\shardimagephpapi\base\exceptions\UnknownPropertyException
__unset() public method

Sets the value of a non-defined property to NULL, if there is a setter.

public void __unset ( $name )
$name string

Property

throws shardimage\shardimagephpapi\base\exceptions\InvalidCallException
ensureClass() protected method

Creates an object from the given parameters.

protected void ensureClass ( $name, $class )
$name string

Name of the class property where the new object will be

$class string

Namespace of the class

init() protected method

Custom initialization.

protected void init ( )
toArray() public method

Converts the object an array.

public array toArray ( $excludeEmpty false )
$excludeEmpty boolean

Whether to remove empty element