public function getNumberOfColumns() { $dimensions = $this->getdimensions(); return $dimensions[0]; }