32 public const TYPE =
'page';
83 $restriction = parent::newFromRow( $row );
84 '@phan-var self $restriction';
88 if ( isset( $row->page_namespace ) && isset( $row->page_title ) ) {
91 $row->page_id = $row->ir_value;
93 $restriction->setTitle(
$title );
106 if ( is_string(
$title ) ) {
112 $restriction->setTitle(
$title );