mirror of
https://github.com/php-win-ext/phpy.git
synced 2026-03-24 08:52:08 +01:00
22 lines
292 B
Markdown
22 lines
292 B
Markdown
# Class Operations
|
|
|
|
## Load Class
|
|
|
|
```python
|
|
cls = phpy.Class("class_name")
|
|
```
|
|
|
|
## Read Class Static Property
|
|
```python
|
|
value = cls.get("name")
|
|
```
|
|
|
|
## Set Class Static Property
|
|
```python
|
|
cls.set("name", value)
|
|
```
|
|
|
|
## Create an Instance
|
|
```python
|
|
object = cls.new(arg1, arg2, arg3, ...)
|
|
``` |