diff options
Diffstat (limited to 'generated-classes')
| -rw-r--r-- | generated-classes/Category.php | 16 | ||||
| -rw-r--r-- | generated-classes/Product.php | 16 | ||||
| -rw-r--r-- | generated-classes/User.php | 24 |
3 files changed, 54 insertions, 2 deletions
diff --git a/generated-classes/Category.php b/generated-classes/Category.php index 041fe78..5e6be78 100644 --- a/generated-classes/Category.php +++ b/generated-classes/Category.php @@ -14,5 +14,19 @@ use Base\Category as BaseCategory; */ class Category extends BaseCategory { - + /* (non-PHPdoc) + * @see \Base\Category::getName() + */ + public function getName() + { + return htmlentities(parent::getName()); + } + + /* (non-PHPdoc) + * @see \Base\Category::getDescription() + */ + public function getDescription() + { + return htmlentities(parent::getDescription()); + } } diff --git a/generated-classes/Product.php b/generated-classes/Product.php index afa6b7d..5c23acc 100644 --- a/generated-classes/Product.php +++ b/generated-classes/Product.php @@ -14,5 +14,19 @@ use Base\Product as BaseProduct; */ class Product extends BaseProduct { - + /* (non-PHPdoc) + * @see \Base\Product::getName() + */ + public function getName() + { + return htmlentities(parent::getName()); + } + + /* (non-PHPdoc) + * @see \Base\Product::getDescription() + */ + public function getDescription() + { + return htmlentities(parent::getDescription()); + } } diff --git a/generated-classes/User.php b/generated-classes/User.php index 91d404f..b8ad000 100644 --- a/generated-classes/User.php +++ b/generated-classes/User.php @@ -43,6 +43,30 @@ class User extends BaseUser return self::createHash($v) === parent::getPassword(); } + /* (non-PHPdoc) + * @see \Base\User::getUsername() + */ + public function getUsername() + { + return htmlentities(parent::getUsername()); + } + + /* (non-PHPdoc) + * @see \Base\User::getPassword() + */ + public function getPassword() + { + return htmlentities(parent::getPassword()); + } + + /* (non-PHPdoc) + * @see \Base\User::getSalt() + */ + public function getSalt() + { + return htmlentities(parent::getSalt()); + } + /** * Create a password hash with sha-1 * |
