|
| getItem ($pk=null) |
|
| hit ($pk=0) |
|
| storeVote ($pk=0, $rate=0) |
|
| __construct ($config=array(), MVCFactoryInterface $factory=null) |
|
| getTable ($name='', $prefix='', $options=array()) |
|
| isCheckedOut ($item) |
|
| getDbo () |
|
| setDbo (DatabaseInterface $db=null) |
|
| __get ($name) |
|
| __construct ($config=array()) |
|
| getName () |
|
| __construct ($properties=null) |
|
| __toString () |
|
| def ($property, $default=null) |
|
| get ($property, $default=null) |
|
| getProperties ($public=true) |
|
| getError ($i=null, $toString=true) |
|
| getErrors () |
|
| set ($property, $value=null) |
|
| setProperties ($properties) |
|
| setError ($error) |
|
| getState ($property=null, $default=null) |
|
| setState ($property, $value=null) |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
| setCurrentUser (User $currentUser) |
|
| setCacheControllerFactory (CacheControllerFactoryInterface $factory) |
|
| setDatabase (DatabaseInterface $db) |
|
◆ cleanCache()
cleanCache |
( |
|
$group = null , |
|
|
|
$clientId = 0 |
|
) |
| |
|
protected |
Cleans the cache of com_content and content modules
- Paramètres
-
string | $group | The cache group |
integer | $clientId | |
◆ getItem()
Method to get article data.
- Paramètres
-
integer | $pk | The id of the article. |
- Renvoie
- object|boolean Menu item data object on success, boolean false
Implémente ItemModelInterface.
Références $data, $db, $groups, $nowDate, $published, $query, $user, $userId, Text\_(), elseif, Joomla\Database\getDatabase(), Factory\getDate(), Factory\getLanguage(), Joomla\CMS\MVC\Model\getState(), Factory\getUser(), ParameterType\INTEGER, null, et ParameterType\STRING.
◆ hit()
◆ populateState()
◆ storeVote()
storeVote |
( |
|
$pk = 0 , |
|
|
|
$rate = 0 |
|
) |
| |
◆ $_context
$_context = 'com_content.article' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :