/**
  * Construct the post_type
  * 
  * @param $post_type : the base post_type to add language
  * @param $lang : the lang to add to the base post_type
  * @return false o nfailure
  * @author Rahe
  */
 function __construct($post_type = '', $lang = '')
 {
     // check post_type and lang given
     if (!isset($post_type) || empty($post_type) || !isset($lang) || empty($lang)) {
         return false;
     }
     // set class properties
     $this->_post_type = $post_type;
     $this->_lang = $lang;
     // Init options of the parent
     parent::initOptions();
     // Init the post_type
     $this->_init();
 }
 function __construct()
 {
     // Get the options
     parent::initOptions();
     // Add the scripts if needed
     add_action('admin_enqueue_scripts', array(&$this, 'addRessources'));
     // Adds the Translation Column to the Edit screen
     add_filter("manage_posts_columns", array(&$this, 'addColumn'), 10, 2);
     add_filter("manage_pages_columns", array(&$this, 'addColumn'), 10, 2);
     // Add the content of the columns
     add_action("manage_posts_custom_column", array(&$this, 'addColumnContent'), 10, 2);
     add_action("manage_pages_custom_column", array(&$this, 'addColumnContent'), 10, 2);
     // Add the metaboxes
     add_action('admin_menu', array(&$this, 'addTranslationBoxes'));
     // Add the checkboxes
     add_action('post_submitbox_misc_actions', array(&$this, 'duplicateOriginalDate'));
     add_action('page_submitbox_misc_actions', array(&$this, 'duplicateOriginalDate'));
 }