/** * Set a lock file entry * * Function will create a lock file entry. If an entry already exists then function will return FALSE without modifying the * lock cache file. The second argument $expire is a timestamp of the expiry date. The default expiry timestame is 6 hours * * @access public * @param int $expire The default expire timestamp. Default is 6 hours * @return bool TRUE if the lock was created, FALSE otherwise */ public function setLockFile($expire = null) { return parent::setLockFile($this->getid(), $expire); }