*/ /** * Włączanie modułów */ stPluginHelper::addEnableModule('stTextBackend', 'backend'); /** * Dodawanie routingów */ stPluginHelper::addRouting('stTextPlugin', '/text/:action/*', 'stTextBackend', 'list', 'backend'); /** * usuwanie cachy */ sfMixer::register('BaseText:save:post', array('stTextCache', 'deleteCacheText')); sfMixer::register('BaseText:delete:post', array('stTextCache', 'deleteCacheText'));