217 lines
2.1 KiB
Markdown
217 lines
2.1 KiB
Markdown
SYSTEM\PAGE\text
|
|
===============
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Class name: text
|
|
* Namespace: SYSTEM\PAGE
|
|
|
|
|
|
|
|
Constants
|
|
----------
|
|
|
|
|
|
### NEW_ENTRY
|
|
|
|
const NEW_ENTRY = 'new_text_entry'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Methods
|
|
-------
|
|
|
|
|
|
### id_tags
|
|
|
|
mixed SYSTEM\PAGE\text::id_tags($id)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $id **mixed**
|
|
|
|
|
|
|
|
### tag
|
|
|
|
mixed SYSTEM\PAGE\text::tag($tag, $lang, $fallback)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $tag **mixed**
|
|
* $lang **mixed**
|
|
* $fallback **mixed**
|
|
|
|
|
|
|
|
### tag_adv
|
|
|
|
mixed SYSTEM\PAGE\text::tag_adv($tag, $lang, $fallback)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $tag **mixed**
|
|
* $lang **mixed**
|
|
* $fallback **mixed**
|
|
|
|
|
|
|
|
### get
|
|
|
|
mixed SYSTEM\PAGE\text::get($id, $lang, $fallback)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $id **mixed**
|
|
* $lang **mixed**
|
|
* $fallback **mixed**
|
|
|
|
|
|
|
|
### get_adv
|
|
|
|
mixed SYSTEM\PAGE\text::get_adv($id, $lang, $fallback)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $id **mixed**
|
|
* $lang **mixed**
|
|
* $fallback **mixed**
|
|
|
|
|
|
|
|
### get_tags
|
|
|
|
mixed SYSTEM\PAGE\text::get_tags($id, $limit)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $id **mixed**
|
|
* $limit **mixed**
|
|
|
|
|
|
|
|
### get_latest
|
|
|
|
mixed SYSTEM\PAGE\text::get_latest($tag, $limit)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $tag **mixed**
|
|
* $limit **mixed**
|
|
|
|
|
|
|
|
### search
|
|
|
|
mixed SYSTEM\PAGE\text::search($search, $tag)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $search **mixed**
|
|
* $tag **mixed**
|
|
|
|
|
|
|
|
### save
|
|
|
|
mixed SYSTEM\PAGE\text::save($id, $new_id, $lang, $tags, $text)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $id **mixed**
|
|
* $new_id **mixed**
|
|
* $lang **mixed**
|
|
* $tags **mixed**
|
|
* $text **mixed**
|
|
|
|
|
|
|
|
### delete
|
|
|
|
mixed SYSTEM\PAGE\text::delete($id, $lang)
|
|
|
|
|
|
|
|
|
|
|
|
* Visibility: **public**
|
|
* This method is **static**.
|
|
|
|
|
|
#### Arguments
|
|
* $id **mixed**
|
|
* $lang **mixed**
|
|
|
|
|