mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
14 lines
309 B
PHP
14 lines
309 B
PHP
<?php namespace Visiosoft\ProfileModule\Profile;
|
|
|
|
use Anomaly\Streams\Platform\Entry\EntryPresenter;
|
|
|
|
class ProfilePresenter extends EntryPresenter
|
|
{
|
|
public function getNotification($type) {
|
|
$value = $this->object->$type;
|
|
if ($value == 1) {
|
|
return "checked";
|
|
}
|
|
}
|
|
}
|