concrete/src/Page/Page.php
public function setPageToDraft()
    {
        $db = Database::connection();
        $db->executeQuery('update Pages set cIsDraft = 1 where cID = ?', [$this->getCollectionID()]);
        $this->cIsDraft = true;
    }
public function setPageToDraft()
    {
        $db = Database::connection();
        $db->executeQuery('update Pages set cIsDraft = 1 where cID = ?', [$this->getCollectionID()]);
        $this->cIsDraft = true;
    }
public function setPageToDraft ( ) { $ db = Database :: connection ( ) ; $ db -> executeQuery ( 'update Pages set cIsDraft = 1 where cID = ?' , [ $ this -> getCollectionID ( ) ] ) ; $ this -> cIsDraft = true ; }
Mark this page as non draft.
Mark this page as non draft .