/** * the singleton pattern * * @return ActiveSync_Controller_SyncDevices */ public static function getInstance() { if (self::$_instance === NULL) { self::$_instance = new ActiveSync_Controller_SyncDevices(); } return self::$_instance; }
/** * deletes existing records * * @param array $ids * @return string */ public function deleteSyncDevices($ids) { return $this->_delete($ids, ActiveSync_Controller_SyncDevices::getInstance()); }