Skip to content

Commit

Permalink
Merge pull request #11184 from lekoala/patch-54
Browse files Browse the repository at this point in the history
ENH Add Nice to DBField
  • Loading branch information
GuySartorelli authored Mar 27, 2024
2 parents 492cb80 + b167f47 commit 46c5f6d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ORM/FieldType/DBField.php
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,14 @@ public function CDATA()
return $this->XML();
}

/**
* @return string
*/
public function Nice()
{
return $this->XML();
}

/**
* Returns the value to be set in the database to blank this field.
* Usually it's a choice between null, 0, and ''
Expand Down

0 comments on commit 46c5f6d

Please sign in to comment.