Blame view

libraries/nextend2/nextend/library/applications/system/backend/controllers/Style.php 472 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<?php

class N2SystemBackendStyleController extends N2SystemBackendVisualManagerController
{

    protected $type = 'style';

    public function __construct($appType, $defaultParams) {
        $this->logoText = n2_('Style manager');

        N2Localization::addJS(array(
            'style',
            'styles',
        ));

        parent::__construct($appType, $defaultParams);
    }

    public function getModel() {
        return new N2SystemStyleModel();
    }

}