Beispiel #1
0
 /**
  * Function to detect if this channel is triggered
  *
  * @param   RedsourceDataChannel  &$dataChannel  The data channel object
  *
  * @return  boolean  True on success, false otherwise.
  */
 protected function isCurrentChannel(RedsourceDataChannel &$dataChannel)
 {
     // We are not checking the current plugin
     if (!empty($this->_name) && $dataChannel->getType() == $this->_name) {
         return true;
     }
     return false;
 }
Beispiel #2
0
 /**
  * Function to read from the current data source
  *
  * @return  boolean  Success / Error
  */
 public function read()
 {
     parent::read();
 }