public function size($s) { if (!empty($s) and preg_match('/^([0-9]+x[0-9]+)$/', $s)) { $this->set('s', $s, false); } return $this; }