Zymba Documentation
ZeyOS.Tags
Text
object @ZeyOS.Tags(@Base) {
construct(string $entity, int $id) {}
addTags(object $names): $this {}
clear(): $this {}
countTags(): int {}
getEntity(): string {}
getID(): int {}
hasAllTags(object $names): bool {}
hasAnyTags(object $names): bool {}
hasTag(string $name): bool {}
listTags(): object {}
removeTags(object $names): $this {}
resetTags(object $names): $this {}
}
Prototype
Methods
CODE
$this.construct(string $entity, int $id): void
Parameters
| Name | Type | Value | Default |
|---|---|---|---|
| entity | string | "" | |
| id | int | 0 |