<?php

/**
 * Goweb Sitemanager 5 Framework
 * 
 * @version    5.0.0
 * @category   Goweb
 * @package    Goweb_Db
 * @subpackage Model
 * @author     I&D <dev@goweb.pt>, Pedro Pinto <ppinto@goweb.pt>
 * @copyright  2009 (c) Goweb (http://www.goweb.pt)
 */

/**
 * Goweb_Db_Model_Col
 */
Goweb::loadClass('Goweb_Db_Model_Col');

/**
 * Classe para representar um campo do tipo Filepath
 *
 * @version    5.0.0
 * @category   Goweb
 * @package    Goweb_Db
 * @subpackage Model
 * @author     I&D <dev@goweb.pt>, Pedro Pinto <ppinto@goweb.pt>
 * @copyright  2009 (c) Goweb (http://www.goweb.pt)
 */
class Goweb_Db_Model_Col_Filepath extends Goweb_Db_Model_Col {

    /**
     * Constructor
     * 
     * Paremetros extra:
     *
     * <code>
     * maxlength => (string) Nemero meximo de carecteres
     * </code>
     *
     * @param  array  $param  Paremetros do campo
     */
    public function __construct($params) {
        $this->_params['type'] = 'Filepath';
        $this->_params['maxlength'] = 255;
        parent::__construct($params);
    }
}
