예제 #1
0
 function __construct()
 {
     parent::__construct();
     // Payments Tasks
     $this->registerTask('apply', 'save');
     $this->registerTask('orderup', 'move');
     $this->registerTask('orderdown', 'move');
     JTable::addIncludePath(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_rsmembership' . DS . 'tables');
 }
예제 #2
0
 function __construct()
 {
     parent::__construct();
     // Category Tasks
     $this->registerTask('orderup', 'move');
     $this->registerTask('orderdown', 'move');
     $this->registerTask('apply', 'save');
     $this->registerTask('publish', 'changestatus');
     $this->registerTask('unpublish', 'changestatus');
     JTable::addIncludePath(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_rsmembership' . DS . 'tables');
 }
예제 #3
0
 function __construct()
 {
     parent::__construct();
     // Membership Tasks
     $this->registerTask('orderup', 'move');
     $this->registerTask('orderdown', 'move');
     $this->registerTask('apply', 'save');
     $this->registerTask('publish', 'changestatus');
     $this->registerTask('unpublish', 'changestatus');
     // Folder Tasks (Files)
     $this->registerTask('foldersorderup', 'foldersmove');
     $this->registerTask('foldersorderdown', 'foldersmove');
     $this->registerTask('folderspublish', 'folderschangestatus');
     $this->registerTask('foldersunpublish', 'folderschangestatus');
     // Attachment Tasks (Subscriber Emails)
     $this->registerTask('attachmentspublish', 'attachmentschangestatus');
     $this->registerTask('attachmentsunpublish', 'attachmentschangestatus');
     JTable::addIncludePath(JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_rsmembership' . DS . 'tables');
 }
예제 #4
0
 function __construct()
 {
     parent::__construct();
     $this->registerTask('apply', 'save');
 }
예제 #5
0
 function __construct()
 {
     parent::__construct();
 }