File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -706,6 +706,14 @@ public function refresh() {
706
706
return false ;
707
707
}
708
708
709
+ public function setDeprecated ( $ value ) {
710
+ if ( $ value ) {
711
+ $ this ->options_bitmask |= self ::OPTION_DEPRECATED ;
712
+ } else {
713
+ $ this ->options_bitmask &= ~self ::OPTION_DEPRECATED ;
714
+ }
715
+ }
716
+
709
717
public function setEditedCount ( $ value ) {
710
718
$ this ->edited_count = $ value ;
711
719
}
@@ -714,6 +722,14 @@ public function setEditedDateTime( DateTime $value ) {
714
722
$ this ->edited_datetime = $ value ->format ( 'Y-m-d H:i:s ' );
715
723
}
716
724
725
+ public function setInResearch ( $ value ) {
726
+ if ( $ value ) {
727
+ $ this ->options_bitmask |= self ::OPTION_RESEARCH ;
728
+ } else {
729
+ $ this ->options_bitmask &= ~self ::OPTION_RESEARCH ;
730
+ }
731
+ }
732
+
717
733
public function setMarkdown ( $ value ) {
718
734
if ( $ value ) {
719
735
$ this ->options_bitmask |= self ::OPTION_MARKDOWN ;
@@ -745,7 +761,7 @@ public function setPublished( $value ) {
745
761
$ this ->options_bitmask &= ~self ::OPTION_PUBLISHED ;
746
762
}
747
763
}
748
-
764
+
749
765
public function setUsedBy ( $ value ) {
750
766
if (!isset (Common::$ database )) {
751
767
Common::$ database = DatabaseDriver::getDatabaseObject ();
You can’t perform that action at this time.
0 commit comments