Operations for retrieving and modifying Market objects. More...
Public Member Functions | |
| & | _fromRow (&$row, $callHooks=true) |
| deleteById ($entryId) | |
| deleteObject ($market) | |
| & | getById ($marketId, $monographId=null) |
| & | getByPublicationFormatId ($publicationFormatId) |
| getInsertMarketId () | |
| insertObject (&$market) | |
| MarketDAO () | |
| newDataObject () | |
| updateObject (&$market) | |
Operations for retrieving and modifying Market objects.
Definition at line 18 of file MarketDAO.inc.php.
| & MarketDAO._fromRow | ( | &$ | row, | |
| $ | callHooks = true | |||
| ) |
Internal function to return a Market object from a row.
| $row | array | |
| $callHooks | boolean |
Definition at line 82 of file MarketDAO.inc.php.
References newDataObject().
Referenced by getById().
| MarketDAO.deleteById | ( | $ | entryId | ) |
delete a market entry by id.
| $entryId | int |
Definition at line 197 of file MarketDAO.inc.php.
Referenced by deleteObject().
| MarketDAO.deleteObject | ( | $ | market | ) |
Delete a market entry by id.
| $market | Market |
Definition at line 189 of file MarketDAO.inc.php.
References deleteById().
| & MarketDAO.getById | ( | $ | marketId, | |
| $ | monographId = null | |||
| ) |
Retrieve a market entry by type id.
| $marketId | int | |
| $monographId | optional int |
Definition at line 32 of file MarketDAO.inc.php.
References _fromRow().
| & MarketDAO.getByPublicationFormatId | ( | $ | publicationFormatId | ) |
Retrieve all market for a publication format
| $publicationFormatId | int |
Definition at line 60 of file MarketDAO.inc.php.
| MarketDAO.getInsertMarketId | ( | ) |
Get the ID of the last inserted market entry.
Definition at line 207 of file MarketDAO.inc.php.
Referenced by insertObject().
| MarketDAO.insertObject | ( | &$ | market | ) |
Insert a new market entry.
| $market | Market |
Definition at line 111 of file MarketDAO.inc.php.
References getInsertMarketId().
| MarketDAO.MarketDAO | ( | ) |
Constructor
Definition at line 22 of file MarketDAO.inc.php.
| MarketDAO.newDataObject | ( | ) |
Construct a new data object corresponding to this DAO.
Definition at line 72 of file MarketDAO.inc.php.
Referenced by _fromRow().
| MarketDAO.updateObject | ( | &$ | market | ) |
Update an existing market entry.
| $market | Market |
Definition at line 145 of file MarketDAO.inc.php.
1.7.1