Overview

Namespaces

  • Copro
    • Adapters
  • Donut
    • Adapters
    • AtomFeed
    • Facebook
    • Instagram
    • PostFeed
    • RssFeed
    • Twitter

Classes

  • DibiMysqlAdapter
  • Overview
  • Namespace
  • Class

Class DibiMysqlAdapter

Copro\Adapters\DibiMysqlAdapter implements Copro\IAdapter, Copro\ILogger
Namespace: Copro\Adapters
Located at Adapters/_DibiMysqlAdapter.php
Methods summary
public
# __construct( $connection )
public
# log( $subject, $message = NULL, Copro\Event $event = NULL )
public
# begin( )
public
# finish( )
public
# createEvent( Copro\IChannel $channel, Copro\IEntity $entity, boolean $persistent )

Parameters

$channel
$entity
$persistent

Throws

RuntimeException
public Copro\Event|false
# getEvent( )

Returns

Copro\Event|false
public
# failEvent( Copro\Event $event )

Parameters

$event
public
# doneEvent( Copro\Event $event )

Parameters

$event
public DateTime|null
# getProducerLastRun( Copro\IProducer $producer )

Returns

DateTime|null
public
# setProducerLastRun( Copro\IProducer $producer, DateTime $lastrun )
public Copro\ChannelInfo
# getChannelInfo( Copro\IChannel $channel )

Returns

Copro\ChannelInfo
public
# updateChannelInfo( Copro\IChannel $channel, DateTime $lastcheck = NULL )
public boolean
# existsChannelEntry( Copro\IChannel $channel, string $entryId )

Zkontroluje existenci zaznamu

Zkontroluje existenci zaznamu

Parameters

$channel
$entryId

Returns

boolean
public
# saveChannelEntry( Copro\IChannel $channel, string $entryId, DateTime $date )

Parameters

$channel
$entryId
$date
donut-org/donut master API documentation API documentation generated by ApiGen