Alpha/Model/ActiveRecord.php 1 location
|
@@ 2091-2101 (lines=11) @@
|
| 2088 |
|
* |
| 2089 |
|
* @throws Alpha\Exception\AlphaException |
| 2090 |
|
*/ |
| 2091 |
|
public function reload() |
| 2092 |
|
{ |
| 2093 |
|
self::$logger->debug('>>reload()'); |
| 2094 |
|
|
| 2095 |
|
if (!$this->isTransient()) { |
| 2096 |
|
$this->load($this->getOID()); |
| 2097 |
|
} else { |
| 2098 |
|
throw new AlphaException('Cannot reload transient object from database!'); |
| 2099 |
|
} |
| 2100 |
|
self::$logger->debug('<<reload'); |
| 2101 |
|
} |
| 2102 |
|
|
| 2103 |
|
/** |
| 2104 |
|
* Loads the definition from the file system for the BO class name provided. |
Alpha/Model/ActiveRecordProviderMySQL.php 1 location
|
@@ 2208-2218 (lines=11) @@
|
| 2205 |
|
* |
| 2206 |
|
* @see Alpha\Model\ActiveRecordProviderInterface::reload() |
| 2207 |
|
*/ |
| 2208 |
|
public function reload() |
| 2209 |
|
{ |
| 2210 |
|
self::$logger->debug('>>reload()'); |
| 2211 |
|
|
| 2212 |
|
if (!$this->isTransient()) { |
| 2213 |
|
$this->load($this->getOID()); |
| 2214 |
|
} else { |
| 2215 |
|
throw new AlphaException('Cannot reload transient object from database!'); |
| 2216 |
|
} |
| 2217 |
|
self::$logger->debug('<<reload'); |
| 2218 |
|
} |
| 2219 |
|
|
| 2220 |
|
/** |
| 2221 |
|
* (non-PHPdoc). |
Alpha/Model/ActiveRecordProviderSQLite.php 1 location
|
@@ 2179-2190 (lines=12) @@
|
| 2176 |
|
* |
| 2177 |
|
* @see Alpha\Model\ActiveRecordProviderInterface::reload() |
| 2178 |
|
*/ |
| 2179 |
|
public function reload() |
| 2180 |
|
{ |
| 2181 |
|
self::$logger->debug('>>reload()'); |
| 2182 |
|
|
| 2183 |
|
if (!$this->BO->isTransient()) { |
| 2184 |
|
$this->BO->load($this->BO->getOID()); |
| 2185 |
|
} else { |
| 2186 |
|
throw new AlphaException('Cannot reload transient object from database!'); |
| 2187 |
|
} |
| 2188 |
|
|
| 2189 |
|
self::$logger->debug('<<reload'); |
| 2190 |
|
} |
| 2191 |
|
|
| 2192 |
|
/** |
| 2193 |
|
* (non-PHPdoc). |