Rev 73 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 73 | Rev 74 | ||
---|---|---|---|
Line 121... | Line 121... | ||
121 | . (!is_null($this->_charset) ? ";charset={$this->_charset}" : ''), |
121 | . (!is_null($this->_charset) ? ";charset={$this->_charset}" : ''), |
122 | $username, $password, null, $force); |
122 | $username, $password, null, $force); |
123 | }
|
123 | }
|
124 | 124 | ||
125 | /**
|
125 | /**
|
126 | * Returns the date of last modification of this database or
|
- | |
127 | * one of its tables.
|
126 | * (non-PHPdoc)
|
128 | *
|
- | |
129 | * @param string $table (optional)
|
- | |
130 | * Table name. If not provided, all tables of this database
|
127 | * @see \PointedEars\PHPX\Db\Database::getLastModified()
|
131 | * are considered.
|
- | |
132 | * @return int|null
|
- | |
133 | * Timestamp of last modification, or <code>null</code> if
|
- | |
134 | * unavailable.
|
- | |
135 | */
|
128 | */
|
136 | public function getLastModified ($table = null) |
129 | public function getLastModified ($table = null) |
137 | {
|
130 | {
|
138 | $filter = array('TABLE_SCHEMA' => $this->_dbname); |
131 | $filter = array('TABLE_SCHEMA' => $this->_dbname); |
139 | 132 |