summaryrefslogtreecommitdiff
path: root/app/php/layouts/Layout.php
blob: 324c69f15d37777847a21bd9b66739b1fbe6d4d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?php

class Layout extends TTemplateControl {

    public function generateViewID() {
        return $this->ViewID->Value ?: md5(mt_rand());
    }

}

?>