16: public function __construct($conn) {
20: public function getDashboardData() {
36: public function getTotalPendings() {
53: private function getTotalCompleted() {
66: private function getOrdersCount() {
73: private function getProductsCount() {
80: private function getUsersCount() {
87: private function getAdminsCount() {
94: private function getTotalAccounts() {
101: private function getMessagesCount() {
108: private function handleDatabaseError($e) {
113: public function addProduct($postData, $files) {
143: public function deleteProduct($id) {
168: private function validateImageName($imageName) {
173: private function getSecureImagePath($imageName) {
200: private function handleImageDelete($imageName) {
237: public function updateProduct($postData, $files) {
304: public function getAllProducts() {
318: public function getAllOrders() {
340: public function updateOrderStatus($orderId, $status) {
354: public function deleteOrder($orderId) {
367: public function getAllUsers() {
388: public function deleteUser($userId) {
401: public function getAllMessages() {
422: public function deleteMessage($messageId) {