SubscriptionSection::SubscriptionSection PHP Method

SubscriptionSection() public method

Subscribers can be subscribed to individual sections of a publication.
public SubscriptionSection ( integer $p_subscriptionId = null, integer $p_sectionNumber = null, integer $p_languageId = null ) : SubscriptionSection
$p_subscriptionId integer
$p_sectionNumber integer
$p_languageId integer
return SubscriptionSection
    public function SubscriptionSection($p_subscriptionId = null, $p_sectionNumber = null, $p_languageId = null)
    {
        parent::DatabaseObject($this->m_columnNames);
        $this->m_data['IdSubscription'] = $p_subscriptionId;
        $this->m_data['SectionNumber'] = $p_sectionNumber;
        $this->m_data['IdLanguage'] = $p_languageId;
        if ($this->keyValuesExist()) {
            $this->fetch();
        }
    }