1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Share/Share.php

19 lines
321 B
PHP

<?php
use Respect\Validation\Validator;
class Share extends WidgetBase
{
function load()
{
}
function display()
{
$validate_url = Validator::url();
$url = $this->get('url');
if($validate_url->validate($url)) {
$this->view->assign('url', $url);
}
}
}