Exemplo n.º 1
0
 /**
  * Check if plugin is allowed
  *
  * @return boolean  True - allowed, false - not allowed
  */
 function isAllowed($extra)
 {
     $isAllowed = parent::isAllowed($extra);
     if (is_array($extra) || is_array($extra) && $extra['delivery'] == phpAds_ZoneText) {
         return false;
     } else {
         return $isAllowed;
     }
 }
 /**
  * Check if plugin is allowed
  *
  * @return boolean  True - allowed, false - not allowed
  */
 function isAllowed($extra = null)
 {
     $isAllowed = parent::isAllowed($extra);
     if (is_array($extra) && $extra['delivery'] != MAX_ZoneEmail || $this->maxInvocation->zone_invocation) {
         return false;
     } else {
         return $isAllowed;
     }
 }
Exemplo n.º 3
0
 /**
  * Check if plugin is allowed
  *
  * @return boolean  True - allowed, false - not allowed
  */
 function isAllowed($extra)
 {
     $isAllowed = parent::isAllowed($extra);
     return $isAllowed;
 }
Exemplo n.º 4
0
 /**
  * Check if plugin is allowed
  *
  * @return boolean  True - allowed, false - not allowed
  */
 function isAllowed($extra = null, $server_same = true)
 {
     // Set "same_server" as a property on this object, but still permit invocation
     $this->same_server = $server_same;
     return parent::isAllowed($extra);
 }