has_section() public method

public has_section ( $p_sectionNumber )
コード例 #1
0
 public function has_section($sectionNumber)
 {
     foreach ($this->m_dbObject as $subscription) {
         $subscription = new MetaSubscription($subscription->getSubscriptionId());
         if ($subscription->has_section($sectionNumber) && $subscription->is_active) {
             return $subscription;
         }
     }
     return false;
 }
コード例 #2
0
 public function has_section($sectionNumber)
 {
     foreach ($this->subscriptions as $subscription) {
         $subscription = new MetaSubscription($subscription['id']);
         if ($subscription->has_section($sectionNumber) && $subscription->is_active) {
             return $subscription;
         }
     }
     return false;
 }