protected function getChannelId() { if ($this->channel != null) { return $this->channel->getValue(); } return null; }
private function loadChannelCode($channelId) { $channel = new Pap_Db_Channel(); $channel->setId($channelId); try { $channel->load(); } catch (Gpf_Exception $e) { return $channelId; } return $channel->getValue(); }