Alpha/Model/ActiveRecordProviderMySQL.php 1 location
|
@@ 2211-2221 (lines=11) @@
|
| 2208 |
|
* |
| 2209 |
|
* @see Alpha\Model\ActiveRecordProviderInterface::reload() |
| 2210 |
|
*/ |
| 2211 |
|
public function reload() |
| 2212 |
|
{ |
| 2213 |
|
self::$logger->debug('>>reload()'); |
| 2214 |
|
|
| 2215 |
|
if (!$this->isTransient()) { |
| 2216 |
|
$this->load($this->getOID()); |
| 2217 |
|
} else { |
| 2218 |
|
throw new AlphaException('Cannot reload transient object from database!'); |
| 2219 |
|
} |
| 2220 |
|
self::$logger->debug('<<reload'); |
| 2221 |
|
} |
| 2222 |
|
|
| 2223 |
|
/** |
| 2224 |
|
* (non-PHPdoc). |
Alpha/Model/ActiveRecord.php 1 location
|
@@ 2073-2083 (lines=11) @@
|
| 2070 |
|
* |
| 2071 |
|
* @throws \Alpha\Exception\AlphaException |
| 2072 |
|
*/ |
| 2073 |
|
public function reload() |
| 2074 |
|
{ |
| 2075 |
|
self::$logger->debug('>>reload()'); |
| 2076 |
|
|
| 2077 |
|
if (!$this->isTransient()) { |
| 2078 |
|
$this->load($this->getOID()); |
| 2079 |
|
} else { |
| 2080 |
|
throw new AlphaException('Cannot reload transient object from database!'); |
| 2081 |
|
} |
| 2082 |
|
self::$logger->debug('<<reload'); |
| 2083 |
|
} |
| 2084 |
|
|
| 2085 |
|
/** |
| 2086 |
|
* Loads the definition from the file system for the BO class name provided. |
Alpha/Model/ActiveRecordProviderSQLite.php 1 location
|
@@ 2133-2144 (lines=12) @@
|
| 2130 |
|
* |
| 2131 |
|
* @see Alpha\Model\ActiveRecordProviderInterface::reload() |
| 2132 |
|
*/ |
| 2133 |
|
public function reload() |
| 2134 |
|
{ |
| 2135 |
|
self::$logger->debug('>>reload()'); |
| 2136 |
|
|
| 2137 |
|
if (!$this->BO->isTransient()) { |
| 2138 |
|
$this->BO->load($this->BO->getOID()); |
| 2139 |
|
} else { |
| 2140 |
|
throw new AlphaException('Cannot reload transient object from database!'); |
| 2141 |
|
} |
| 2142 |
|
|
| 2143 |
|
self::$logger->debug('<<reload'); |
| 2144 |
|
} |
| 2145 |
|
|
| 2146 |
|
/** |
| 2147 |
|
* (non-PHPdoc). |