Overview

Namespaces

  • rsanchez
    • Deep
      • App
        • EE
        • Laravel
          • Facade
      • Collection
      • Hydrator
      • Model
      • Plugin
      • Relations
      • Repository

Classes

  • AbstractDeferredRepository
  • AbstractFieldRepository
  • CategoryFieldRepository
  • ChannelRepository
  • ConfigUploadPrefRepository
  • FieldRepository
  • MemberFieldRepository
  • SiteRepository
  • UploadPrefRepository

Interfaces

  • RepositoryInterface
  • UploadPrefRepositoryInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class ChannelRepository

Repository of all Channels

rsanchez\Deep\Repository\ChannelRepository implements rsanchez\Deep\Repository\RepositoryInterface
Namespace: rsanchez\Deep\Repository
Located at Repository/ChannelRepository.php
Methods summary
public
# __construct( rsanchez\Deep\Model\Channel $model )

Constructor

Constructor

Parameters

$model
rsanchez\Deep\Model\Channel
$model
public rsanchez\Deep\Collection\ChannelCollection
# getChannelsById( array $channelIds )

Get Collection of Channels by channel ID

Get Collection of Channels by channel ID

Returns

rsanchez\Deep\Collection\ChannelCollection

Var

array $channelIds
public rsanchez\Deep\Collection\ChannelCollection
# getChannelsByName( array $channelNames )

Get Collection of Channels by channel name

Get Collection of Channels by channel name

Returns

rsanchez\Deep\Collection\ChannelCollection

Var

array $channelNames
public rsanchez\Deep\Model\Channel|null
# find( mixed $id )

Alias to getChannelById

Alias to getChannelById

Returns

rsanchez\Deep\Model\Channel|null

Var

int $id

Implementation of

rsanchez\Deep\Repository\RepositoryInterface::find()
public rsanchez\Deep\Model\Channel|null
# getChannelById( mixed $channelId )

Get single Channel by channel ID

Get single Channel by channel ID

Returns

rsanchez\Deep\Model\Channel|null

Var

int $channelId
public rsanchez\Deep\Model\Channel|null
# getChannelByName( mixed $channelName )

Get single Channel by channel name

Get single Channel by channel name

Returns

rsanchez\Deep\Model\Channel|null

Var

string $channelName
public rsanchez\Deep\Model\Channel
# getModel( )

Get the Channel model

Get the Channel model

Returns

rsanchez\Deep\Model\Channel
Properties summary
protected rsanchez\Deep\Model\Channel $model
#

Repository Channel Model

Repository Channel Model

protected rsanchez\Deep\Collection\ChannelCollection $collection
#

Collection of all Channels

Collection of all Channels

protected array $channelsById array()
#

Array of Channels keyed by channel_id

Array of Channels keyed by channel_id

protected array $channelsByName array()
#

Array of Channels keyed by channel_name

Array of Channels keyed by channel_name

API documentation generated by ApiGen 2.8.0