Operations for retrieving and modifying FooterLink objects. More...
Public Member Functions | |
| _fromRow (&$row) | |
| deleteById ($footerLinkId, $pressId=null) | |
| deleteByPressId ($pressId) | |
| deleteObject (&$footerLink) | |
| FooterLinkDAO () | |
| & | getByCategoryId ($categoryId, $pressId=null, $rangeInfo=null) |
| & | getById ($footerLinkId, $pressId=null) |
| getInsertFooterLinkId () | |
| getLargestCategoryTotalByPressId ($pressId) | |
| getLocaleFieldNames () | |
| insertObject (&$footerLink) | |
| newDataObject () | |
| updateLocaleFields (&$footerLink) | |
| updateObject ($footerLink) | |
Operations for retrieving and modifying FooterLink objects.
Definition at line 19 of file FooterLinkDAO.inc.php.
| FooterLinkDAO._fromRow | ( | &$ | row | ) |
Internal function to return an FooterLink object from a row.
| $row | array |
Definition at line 69 of file FooterLinkDAO.inc.php.
References newDataObject().
Referenced by getById().
| FooterLinkDAO.deleteById | ( | $ | footerLinkId, | |
| $ | pressId = null | |||
| ) |
Delete a footer link by ID.
| $footerLinkId | int | |
| $pressId | int optional |
Definition at line 166 of file FooterLinkDAO.inc.php.
Referenced by deleteObject().
| FooterLinkDAO.deleteByPressId | ( | $ | pressId | ) |
Delete footer link by press ID. NOTE: This does not delete dependent entries. It is intended to be called only when deleting a press.
| $pressId | int |
Definition at line 193 of file FooterLinkDAO.inc.php.
References deleteObject().
| FooterLinkDAO.deleteObject | ( | &$ | footerLink | ) |
Delete a link.
| $footerLink | FooterLink |
Definition at line 154 of file FooterLinkDAO.inc.php.
References deleteById().
Referenced by deleteByPressId().
| FooterLinkDAO.FooterLinkDAO | ( | ) |
Constructor
Definition at line 23 of file FooterLinkDAO.inc.php.
| & FooterLinkDAO.getByCategoryId | ( | $ | categoryId, | |
| $ | pressId = null, |
|||
| $ | rangeInfo = null | |||
| ) |
Retrieve all footerlinks for a footer category.
Definition at line 205 of file FooterLinkDAO.inc.php.
| & FooterLinkDAO.getById | ( | $ | footerLinkId, | |
| $ | pressId = null | |||
| ) |
Retrieve a footer link by ID.
| $footerLinkId | int | |
| $pressId | int optional |
Definition at line 33 of file FooterLinkDAO.inc.php.
References _fromRow().
| FooterLinkDAO.getInsertFooterLinkId | ( | ) |
Get the ID of the last inserted link.
Definition at line 225 of file FooterLinkDAO.inc.php.
Referenced by insertObject().
| FooterLinkDAO.getLargestCategoryTotalByPressId | ( | $ | pressId | ) |
Retrieve the maximum number of links in any category, by press id.
| int | $pressId |
Definition at line 234 of file FooterLinkDAO.inc.php.
| FooterLinkDAO.getLocaleFieldNames | ( | ) |
Get the list of fields for which data can be localized.
Definition at line 88 of file FooterLinkDAO.inc.php.
| FooterLinkDAO.insertObject | ( | &$ | footerLink | ) |
Insert a new footer link.
| $footerLink | FooterLink |
Definition at line 110 of file FooterLinkDAO.inc.php.
References getInsertFooterLinkId(), and updateLocaleFields().
| FooterLinkDAO.newDataObject | ( | ) |
Construct a new data object corresponding to this DAO.
Definition at line 60 of file FooterLinkDAO.inc.php.
Referenced by _fromRow().
| FooterLinkDAO.updateLocaleFields | ( | &$ | footerLink | ) |
Update the localized fields for this table
| $footerLink | object |
Definition at line 96 of file FooterLinkDAO.inc.php.
Referenced by insertObject(), and updateObject().
| FooterLinkDAO.updateObject | ( | $ | footerLink | ) |
Update an existing link.
| $footerLink | FooterLink |
Definition at line 132 of file FooterLinkDAO.inc.php.
References updateLocaleFields().
1.7.1