public static function isEnabled()
      {
          $ini = eZINI::instance( 'squid.ini' );

          if ( $ini->hasSection( 'Squid' )
                && $ini->hasVariable( 'Squid', 'PurgeCacheOnPublish' )
                    && $ini->variable( 'Squid', 'PurgeCacheOnPublish' ) == 'enabled' )
          {
              return true;
          }
          else
          {
              return false;
          }
      }
public static function isEnabled()
      {
          $ini = eZINI::instance( 'squid.ini' );

          if ( $ini->hasSection( 'Squid' )
                && $ini->hasVariable( 'Squid', 'PurgeCacheOnPublish' )
                    && $ini->variable( 'Squid', 'PurgeCacheOnPublish' ) == 'enabled' )
          {
              return true;
          }
          else
          {
              return false;
          }
      }
public static function isEnabled ( ) { $ ini = eZINI :: instance ( 'squid.ini' ) ; if ( $ ini -> hasSection ( 'Squid' ) && $ ini -> hasVariable ( 'Squid' , 'PurgeCacheOnPublish' ) && $ ini -> variable ( 'Squid' , 'PurgeCacheOnPublish' ) == 'enabled' ) { return true ; } else { return false ; } }
Checks if Squid pruge cache is enabled for object publish action

@static
@return bool
Checks if Squid pruge cache is enabled for object publish action