Overview

Namespaces

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

Classes

  • AbstractManager
  • EventManager
  • NewsManager
  • Overview
  • Namespace
  • Class

Class AbstractManager

Abstract Manager

Charcoal\Cms\Service\Manager\AbstractManager uses Charcoal\Translator\TranslatorAwareTrait (not available)

Direct known subclasses

Charcoal\Cms\Service\Manager\EventManager, Charcoal\Cms\Service\Manager\NewsManager
Namespace: Charcoal\Cms\Service\Manager
Located at Charcoal/Cms/Service/Manager/AbstractManager.php
Methods summary
public
# __construct( array $data )

NewsManager constructor.

NewsManager constructor.

Parameters

$data
The Data.

Throws

Exception
When $data index is not set.
protected Charcoal\Cms\Service\Manager\AbstractManager
# setModelFactory( Charcoal\Factory\FactoryInterface $factory )

Set an object model factory.

Set an object model factory.

Parameters

$factory
The model factory, to create objects.

Returns

Charcoal\Cms\Service\Manager\AbstractManager
public Charcoal\Factory\FactoryInterface
# modelFactory( )

Retrieve the object model factory.

Retrieve the object model factory.

Returns

Charcoal\Factory\FactoryInterface

Throws

RuntimeException
If the model factory was not previously set.
protected Charcoal\Cms\Service\Manager\AbstractManager
# setCollectionLoader( Charcoal\Loader\CollectionLoader $loader )

Set a model collection loader.

Set a model collection loader.

Parameters

$loader
The collection loader.

Returns

Charcoal\Cms\Service\Manager\AbstractManager
public Charcoal\Loader\CollectionLoader
# collectionLoader( )

Retrieve the model collection loader.

Retrieve the model collection loader.

Returns

Charcoal\Loader\CollectionLoader

Throws

RuntimeException
If the collection loader was not previously set.
public Charcoal\Cms\Service\Manager\AbstractManager
# setAdminConfig( mixed $adminConfig )

Parameters

$adminConfig
The admin configuration.

Returns

Charcoal\Cms\Service\Manager\AbstractManager
public mixed
# adminConfig( )

Returns

mixed
Properties summary
protected Charcoal\Factory\FactoryInterface $modelFactory

Store the factory instance for the current class.

Store the factory instance for the current class.

#
protected Charcoal\Loader\CollectionLoader $collectionLoader

Store the collection loader for the current class.

Store the collection loader for the current class.

#
protected object $adminConfig

$adminConfig The admin config object model.

$adminConfig The admin config object model.

#
API documentation generated by ApiGen