public function delete ($pkValue = FALSE)
	{
		
		// If there is no key value passed set it
		
		if ($pkValue === FALSE)
		{
			$pkValue	= $this->iget (static::$pk);
		}
		
		// Call parent method
		
		$parent	= parent::delete ($pkValue);
		
		if ($parent === FALSE)
		{
			return FALSE;
		}
		
		// If there is a memcached object delete from the cache

		if ($this->memcached instanceof \Memcached)
		{
			$this->memcached->delete (static::_getMemcachedID ($pkValue));
		}
		
		// Return
		
		return $parent;
		
	}
public function delete ($pkValue = FALSE)
	{
		
		// If there is no key value passed set it
		
		if ($pkValue === FALSE)
		{
			$pkValue	= $this->iget (static::$pk);
		}
		
		// Call parent method
		
		$parent	= parent::delete ($pkValue);
		
		if ($parent === FALSE)
		{
			return FALSE;
		}
		
		// If there is a memcached object delete from the cache

		if ($this->memcached instanceof \Memcached)
		{
			$this->memcached->delete (static::_getMemcachedID ($pkValue));
		}
		
		// Return
		
		return $parent;
		
	}
public function delete ( $ pkValue = FALSE ) { // If there is no key value passed set it if ( $ pkValue === FALSE ) { $ pkValue = $ this -> iget ( static :: $ pk ) ; } // Call parent method $ parent = parent :: delete ( $ pkValue ) ; if ( $ parent === FALSE ) { return FALSE ; } // If there is a memcached object delete from the cache if ( $ this -> memcached instanceof \ Memcached ) { $ this -> memcached -> delete ( static :: _getMemcachedID ( $ pkValue ) ) ; } // Return return $ parent ; }
Delete an object in the database and memcached
@param mixed $pkValue Primary key value
@return boolean
Delete an object in the database and memcached