Ejemplo n.º 1
0
 /**
  * Set default domain
  *
  * Sets the default cookie domain to use with the {@link AeCookie::set()}
  * method
  *
  * @param string $domain
  *
  * @return string previous default domain value or true, if no value was set
  *                before
  */
 public static function setDomain($domain)
 {
     $return = true;
     if (self::$_domain !== null) {
         $return = self::$_domain;
     }
     self::$_domain = (string) $domain;
     return $return;
 }