Sindbad~EG File Manager

Current Path : /home/numerotech/public_html/livemt2023.aios-scientificcommittee.org/app/models/
Upload File :
Current File : //home/numerotech/public_html/livemt2023.aios-scientificcommittee.org/app/models/AbsUpload.php

<?php


class AbsUpload extends Eloquent {

	protected $primaryKey = 'upload_id';
	/**
	 * The database table used by the model.
	 *
	 * @var string
	 */
	protected $table = 'abs_uploads';

	/*Varshini - 29.08.2017*/
    /*FP upload status*/
    public Static function usp_get_abstracts_upload_status($abs_type = null,$selection_type_id = null,$is_received = null)
    {
        try
        {          
          $status = array();
         
          
          $pdo = DB::connection()->getPdo();
          $pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
          $stmt = $pdo->prepare('call usp_get_abstracts_upload_status(:abs_type,:selection_type_id,:is_received)');
          $stmt->execute(array(':abs_type' => $abs_type,':selection_type_id' => $selection_type_id,':is_received' => $is_received));

          while ($row = $stmt->fetch())
          {
              array_push($status, (object)$row);
          }
          $stmt->closeCursor();
       
          return $status;
        } 
        catch (Exception $e)
        {
          Log::error('Models: AbsUploads  -> usp_get_abstracts_upload_status '.$e->getMessage());
          return [];
        }
    }
  
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists