메소드 |
설명 |
|
fromJson ( string $json, boolean $triggerErrors = false ) : PluginUpdate | null |
Create a new instance of PluginUpdate from its JSON-encoded representation. |
|
fromObject ( StdClass | PluginInfo | PluginUpdate $object ) : PluginUpdate |
Create a new instance of PluginUpdate by copying the necessary fields from
another object. |
|
fromPluginInfo ( PluginInfo $info ) : PluginUpdate |
Create a new instance of PluginUpdate based on an instance of PluginInfo. |
|
toStdClass ( ) : StdClass |
Create an instance of StdClass that can later be converted back to
a PluginUpdate. Useful for serialization and caching, as it avoids
the "incomplete object" problem if the cached value is loaded before
this class. |
|
toWpFormat ( ) : object |
Transform the update into the format used by WordPress native plugin API. |
|