Rule::__construct PHP Méthode

__construct() public méthode

public __construct ( $groups = null )
        public function __construct($groups = null)
        {
            $this->groups = $groups;
        }

Usage Example

Exemple #1
0
 /**
  * Constructor.
  *
  * @param   string  $name       Name.
  * @param   int     $min        Minimum bound.
  * @param   int     $max        Maximum bound.
  * @param   mixed   $content    Content.
  * @param   string  $nodeId     Node ID.
  * @return  void
  */
 public function __construct($name, $min, $max, $content, $nodeId)
 {
     parent::__construct($name, $content, $nodeId);
     $this->_min = $min;
     $this->_max = $max;
     return;
 }
All Usage Examples Of Rule::__construct