Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 61 → Rev 74

/trunk/Db/Table.php
132,6 → 132,7
*/
public function getDatabase()
{
/* FIXME: What about tables from different databases? */
$class = \get_class($this);
if (\is_string($class::$_database))
{
385,4 → 386,16
 
return $result;
}
 
/**
* Returns the date of last modification of this table.
*
* @return int|null
* Timestamp of last modification, or <code>null</code> if
* unavailable.
*/
public function getLastModified ()
{
return $this->database->getLastModified($this->name);
}
}