Class NewsManager
News manager
- Charcoal\Cms\Service\Manager\AbstractManager uses Charcoal\Translator\TranslatorAwareTrait (not available)
- Charcoal\Cms\Service\Manager\NewsManager uses Charcoal\Object\CategoryTrait (not available)
public
|
|
public
mixed
|
|
public
Charcoal\Loader\CollectionLoader
|
|
public
mixed
|
|
public
|
|
public
Charcoal\Object\CategoryInterface|Charcoal\Model\Collection
|
|
public
Charcoal\Object\CategoryInterface
|
|
public
mixed
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
|
public
float|integer
|
|
public
mixed
|
|
public
integer
|
|
public
boolean
|
|
public
integer
|
|
public
float
|
|
public
boolean
|
|
public
integer
|
|
public
integer
|
|
public
mixed
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
adminConfig(),
collectionLoader(),
modelFactory(),
setAdminConfig(),
setCollectionLoader(),
setModelFactory()
|
protected
|
$currentNews
$currentNews The current news. |
|
protected
integer
|
$currentPage
$currentPage The current Page. |
|
protected
integer
|
$numPerPage
$numPerPage News by page. |
#
0
|
protected
integer
|
$numPages
$numPages How many pages. |
|
protected
boolean
|
$entryCycle
$pageCycle Does the pager can cycle indefinitely. |
#
false
|
protected
|
$nextNews
$nextNews |
|
protected
|
$prevNews
$prevNews |
|
protected
integer
|
$page
$page |
#
0
|
protected
integer
|
$category
$category |
#
0
|
protected
|
$all
$all All the news. |
#
[]
|
protected
|
$entries
$entries The news collection. |
#
[]
|
protected
|
$archive
$archive The archive news collection. |
#
[]
|
protected
|
$entry
$entry A news. |
|
protected
object
|
$objType
$objType The news object model. |
|
protected
string
|
$featIdent
$featIdent The config ident for featured news. |
|
protected
|
$featList
$featList The config ident for featured news. |
#
[]
|
protected
|
$loader
$loader The news loader provider. |
|
protected
array
|
$categoryItem
|
#
[]
|
$adminConfig,
$collectionLoader,
$modelFactory
|