Skip to content

Instantly share code, notes, and snippets.

@kitsunet
Created February 29, 2012 09:07
Show Gist options
  • Save kitsunet/1939333 to your computer and use it in GitHub Desktop.
Save kitsunet/1939333 to your computer and use it in GitHub Desktop.
multi plugin extbase
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Frontend',
array(
'Post' => 'list, archivelist, latestlist, show',
'Comment' => 'create',
),
// non-cacheable actions
array(
'Post' => 'create, update, delete',
'Comment' => 'create, update, delete',
)
);
##### WIRD ZU
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Liste',
array(
'Post' => 'list',
),
// non-cacheable actions
array(
)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Archiv',
array(
'Post' => 'archivelist',
),
// non-cacheable actions
array(
)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Latest',
array(
'Post' => 'latestlist',
),
// non-cacheable actions
array(
)
);
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Single',
array(
'Post' => 'show',
'Comment' => 'create',
),
// non-cacheable actions
array(
'Comment' => 'create',
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment