reset ()

Resets the freshness of the cache.

Access

public

Returns

Type

Description

boolean

Whether the operation was successful.

Source

Method defined in lib/cachecore/cachepdo.class.php | Toggle source view (6 lines) | View on GitHub

public function reset()
{
    $this->reset->bindParam(':id', $this->id);
    $this->reset->bindParam(':expires', $this->generate_timestamp());
    return (bool) $this->reset->execute();
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback