Skip to content

Commit

Permalink
ENH Add Nice to DBField
Browse files Browse the repository at this point in the history
  • Loading branch information
lekoala authored Mar 21, 2024
1 parent 8aab888 commit 2c35b8d
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 2c35b8d

Please sign in to comment.