diff --git a/src/CoreFields/PhangoField.php b/src/CoreFields/PhangoField.php index cca1810..5a9567b 100644 --- a/src/CoreFields/PhangoField.php +++ b/src/CoreFields/PhangoField.php @@ -95,6 +95,12 @@ class PhangoField { public $parameters=array(); + /** + * A method used for set if this field can be update or insert by everyone. + */ + + public $protected=false; + /** * Method used for internal tasks related with searchs. You can overwrite this method in your PhangoField object if you need translate the value that the user want search to a real value into the database. */ diff --git a/src/Webmodel.php b/src/Webmodel.php index f5c698d..8c5dd16 100644 --- a/src/Webmodel.php +++ b/src/Webmodel.php @@ -262,7 +262,7 @@ class Webmodel { * */ - protected $reset_conditions=true; + public $reset_conditions=true; /** * Internal arrays for create new indexes in the tables