���� JFIF ��
Server IP : 103.65.238.20 / Your IP : 10.0.0.10 Web Server : Apache System : Linux localhost.localdomain 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 7.3.32 Disable Function : passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/jdih/frontend/models/ |
Upload File : |
<?php namespace frontend\models; use Yii; /** * This is the model class for table "{{%file_download}}". * * @property int $id * @property string $nama * @property string $file * @property int|null $jumlah_download * @property string|null $created_at * @property string|null $updated_at * @property int|null $created_by * @property int|null $updated_by * @property int $active */ class FileDownload extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ public static function tableName() { return '{{%file_download}}'; } /** * @return \yii\db\Connection the database connection used by this AR class. */ public static function getDb() { return Yii::$app->get('db_jdih'); } /** * {@inheritdoc} */ public function rules() { return [ [['nama', 'file'], 'required'], [['jumlah_download', 'created_by', 'updated_by', 'active'], 'integer'], [['created_at', 'updated_at'], 'safe'], [['nama', 'file'], 'string', 'max' => 255], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'nama' => 'Nama', 'file' => 'File', 'jumlah_download' => 'Jumlah Download', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'created_by' => 'Created By', 'updated_by' => 'Updated By', 'active' => 'Active', ]; } }