public function Slug() { $Session = Gdn::Session(); if ($Session->IsValid()) { $Text = GetIncomingValue('Text'); echo CandyModel::Slug($Text); } }