Ejemplo n.º 1
0
 public function getdocfiles_name_html()
 {
     return Proc::file_exists_utf8(Yii::$app->basePath . '/docs/' . $this->docfiles_hash) ? Html::a(Html::encode($this->docfiles_name), ['Fregat/docfiles/download-file', 'id' => $this->docfiles_id], ['data-pjax' => '0']) : '<span style="text-decoration: line-through">' . Html::encode($this->docfiles_name) . '</span>';
 }