Subversion Repositories addcollabrule

[/] [trunk/] [extension/] [addcollabrule/] [eventtypes/] [event/] [addcollabrule/] [addcollabruletype.php] - Diff between revs 2 and 5

Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 2 Rev 5
Line 26... Line 26...
 
 
class AddCollabRuleType extends eZWorkflowEventType
class AddCollabRuleType extends eZWorkflowEventType
{
{
    function __construct()
    function __construct()
    {
    {
        $this->eZWorkflowEventType( 'addcollabrule', ezi18n( 'extension/projects', 'Add collaboration rule' ) );
        $this->eZWorkflowEventType( 'addcollabrule', ezpI18n::tr( 'extension/projects', 'Add collaboration rule' ) );
        // limit workflows which use this event to be used only on the post-publish trigger
        // limit workflows which use this event to be used only on the post-publish trigger
        $this->setTriggerTypes( array( 'content' => array( 'publish' => array( 'after' ) ) ) );
        $this->setTriggerTypes( array( 'content' => array( 'publish' => array( 'after' ) ) ) );
    }
    }
 
 
    function typeFunctionalAttributes()
    function typeFunctionalAttributes()
Line 98... Line 98...
}
}
 
 
eZWorkflowEventType::registerEventType( 'addcollabrule', 'AddCollabRuleType' );
eZWorkflowEventType::registerEventType( 'addcollabrule', 'AddCollabRuleType' );
 
 
?>
?>