public function actions()
    {
        return [
            'lock' => [
                'class' => 'bizley\podium\actions\ThreadAction',
                'permission' => Rbac::PERM_LOCK_THREAD,
                'boolAttribute' => 'locked',
                'switcher' => 'podiumLock',
                'onMessage' => Yii::t('podium/flash', 'Thread has been locked.'),
                'offMessage' => Yii::t('podium/flash', 'Thread has been unlocked.')
            ],
            'pin' => [
                'class' => 'bizley\podium\actions\ThreadAction',
                'permission' => Rbac::PERM_PIN_THREAD,
                'boolAttribute' => 'pinned',
                'switcher' => 'podiumPin',
                'onMessage' => Yii::t('podium/flash', 'Thread has been pinned.'),
                'offMessage' => Yii::t('podium/flash', 'Thread has been unpinned.')
            ],
        ];
    }
public function actions()
    {
        return [
            'lock' => [
                'class' => 'bizley\podium\actions\ThreadAction',
                'permission' => Rbac::PERM_LOCK_THREAD,
                'boolAttribute' => 'locked',
                'switcher' => 'podiumLock',
                'onMessage' => Yii::t('podium/flash', 'Thread has been locked.'),
                'offMessage' => Yii::t('podium/flash', 'Thread has been unlocked.')
            ],
            'pin' => [
                'class' => 'bizley\podium\actions\ThreadAction',
                'permission' => Rbac::PERM_PIN_THREAD,
                'boolAttribute' => 'pinned',
                'switcher' => 'podiumPin',
                'onMessage' => Yii::t('podium/flash', 'Thread has been pinned.'),
                'offMessage' => Yii::t('podium/flash', 'Thread has been unpinned.')
            ],
        ];
    }
public function actions ( ) { return [ 'lock' => [ 'class' => 'bizley\podium\actions\ThreadAction' , 'permission' => Rbac :: PERM_LOCK_THREAD , 'boolAttribute' => 'locked' , 'switcher' => 'podiumLock' , 'onMessage' => Yii :: t ( 'podium/flash' , 'Thread has been locked.' ) , 'offMessage' => Yii :: t ( 'podium/flash' , 'Thread has been unlocked.' ) ] , 'pin' => [ 'class' => 'bizley\podium\actions\ThreadAction' , 'permission' => Rbac :: PERM_PIN_THREAD , 'boolAttribute' => 'pinned' , 'switcher' => 'podiumPin' , 'onMessage' => Yii :: t ( 'podium/flash' , 'Thread has been pinned.' ) , 'offMessage' => Yii :: t ( 'podium/flash' , 'Thread has been unpinned.' ) ] , ] ; }
Returns separated thread actions.
@return array
@since 0.6
Returns separated thread actions .