* class constructor
*
* @param string $title title of the page
- * @param int $mode mode of the page
+ * @param int $mode mode of the page
*
- * @return CRM_Core_Page
+ * @return \CRM_Core_Page_Basic
*/
function __construct($title = NULL, $mode = NULL) {
parent::__construct($title, $mode);
$object->orderBy($key . ' asc');
}
-
- $contactTypes = CRM_Contact_BAO_ContactType::getSelectElements();
+ //@todo FIXME - using the CRM_Core_DAO::VALUE_SEPARATOR creates invalid html - if you can find the form
+ // this is loaded onto then replace with something like '__' & test
+ $separator = CRM_Core_DAO::VALUE_SEPARATOR;
+ $contactTypes = CRM_Contact_BAO_ContactType::getSelectElements(FALSE, TRUE, $separator);
// find all objects
$object->find();
while ($object->fetch()) {
* @param int $mode - what mode for the form ?
* @param int $id - id of the entity (for update, view operations)
*
+ * @param bool $imageUpload
+ * @param bool $pushUserContext
+ *
* @return void
*/
function edit($mode, $id = NULL, $imageUpload = FALSE, $pushUserContext = TRUE) {