public function setChecks(array $checks)
    {
        $this->checks = array();

        foreach ($checks as $check) {
            $this->addCheck($check);
        }
    }
public function setChecks(array $checks)
    {
        $this->checks = array();

        foreach ($checks as $check) {
            $this->addCheck($check);
        }
    }
public function setChecks ( array $ checks ) { $ this -> checks = array ( ) ; foreach ( $ checks as $ check ) { $ this -> addCheck ( $ check ) ; } }
Sets the table chekcs.

@param array $checks The table checks.
Sets the table chekcs .