Overview

Namespaces

  • Charcoal
    • Admin
      • Widget
        • Cms
    • Cms
      • Config
      • Mixin
        • Traits
      • Route
      • Section
      • Service
        • Loader
        • Manager
      • ServiceProvider
      • Support
        • Helpers
        • Interfaces
        • Traits
    • Property

Interfaces

  • EventManagerAwareInterface
  • NewsManagerAwareInterface
  • SectionLoaderAwareInterface
  • Overview
  • Namespace
  • Class

Interface NewsManagerAwareInterface

Namespace: Charcoal\Cms\Support\Interfaces
Located at Charcoal/Cms/Support/Interfaces/NewsManagerAwareInterface.php
Methods summary
public Generator|
# newsList( )

Formatted news list Returns the entries for the current page.

Formatted news list Returns the entries for the current page.

Returns

Generator|
public Generator|
# newsArchiveList( )

Formatted news archive list Returns the entries for the current page.

Formatted news archive list Returns the entries for the current page.

Returns

Generator|
public array
# currentNews( )

Current news.

Current news.

Returns

array
The properties of the current news
public Generator
# featNews( )

Returns

Generator
public array
# nextNews( )

Next news in list.

Next news in list.

Returns

array
The next news properties.
public array
# prevNews( )

Next news in list.

Next news in list.

Returns

array
The next news properties.
public integer
# numNews( )

Amount of news (total)

Amount of news (total)

Returns

integer
How many news?
public float
# numNewsPages( )

Returns

float
public boolean
# newsHasPager( )

Returns

boolean
public Generator
# newsCategoryList( )

Returns

Generator
public Charcoal\Object\CategoryInterface
# newsCategory( Charcoal\Cms\NewsInterface $news )

Parameters

$news
Charcoal\Cms\NewsInterface;.

Returns

Charcoal\Object\CategoryInterface
API documentation generated by ApiGen