/**
  * The final "child" implementation of the PHP5-style constructor.
  *
  * @param array $aParams An array of parameters. The array should
  *                       be indexed by the name of object variables,
  *                       with the values that those variables should
  *                       be set to. For example, the parameter:
  *                       $aParams = array('foo' => 'bar')
  *                       would result in $this->foo = bar.
  */
 function __construct($aParams)
 {
     // Set this page's entity/breakdown values
     $this->entity = 'affiliate';
     $this->breakdown = 'zones';
     // This page uses the day span selector element
     $this->showDaySpanSelector = true;
     parent::__construct($aParams);
 }
 /**
  * The final "child" implementation of the PHP5-style constructor.
  *
  * @param array $aParams An array of parameters. The array should
  *                       be indexed by the name of object variables,
  *                       with the values that those variables should
  *                       be set to. For example, the parameter:
  *                       $aParams = array('foo' => 'bar')
  *                       would result in $this->foo = bar.
  */
 function __construct($aParams)
 {
     // Set this page's entity/breakdown values
     $this->entity = 'advertiser';
     $this->breakdown = 'campaigns';
     // This page uses the day span selector element
     $this->showDaySpanSelector = true;
     parent::__construct($aParams);
 }
 function getZones($aParams, $level, $expand = '')
 {
     $aEntitiesData = parent::getZones($aParams, $level, $expand);
     $this->maskHiddenEntities($aEntitiesData, 'zone');
     if ($level == $this->startLevel) {
         $this->addDirectSelection($aParams, $aEntitiesData);
     }
     return $aEntitiesData;
 }