constraintfailure.phpm
来自「Professional PHP5 code for this book」· PHPM 代码 · 共 27 行
PHPM
27 行
<?phprequire_once("constants.phpm");require_once("constraint.phpm");class constraintfailure { private $_strParameterName; private $_intVerbMethod; private $_objFailedConstraintObject; function __construct($strParameterName, $intVerbMethod, $objFailedConstraintObject) { $this->_strParameterName = $strParameterName; $this->_intVerbMethod = $intVerbMethod; $this->_objFailedConstraintObject = $objFailedConstraintObject; } function GetParameterName() { return($this->_strParameterName); } function GetVerbMethod() { return($this->_intVerbMethod); } function GetFailedConstraintObject() { return($this->_objFailedConstraintObject); } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?