original_string: public static function __createOutput ( $printerId  ) {
          // cargar datos de la impresora
          $Printer = ClassRegistry::init("Printers.Printer");
          $Printer->recursive = -1;
          $printer = $Printer->read(null, $printerId);
          if ( empty($printer['Printer']['output']) ) {
              return false;
          }
          $outputName = $printer['Printer']['output'] . 'PrinterOutput';
  
  
          // cargar la Salida correspondiente segun la configuracion de la impresora
          App::uses($outputName, 'Printers.Lib/PrinterOutput');
          self::$Output = new $outputName;
          return true;
      }
code: public static function __createOutput ( $printerId  ) {
          // cargar datos de la impresora
          $Printer = ClassRegistry::init("Printers.Printer");
          $Printer->recursive = -1;
          $printer = $Printer->read(null, $printerId);
          if ( empty($printer['Printer']['output']) ) {
              return false;
          }
          $outputName = $printer['Printer']['output'] . 'PrinterOutput';
  
  
          // cargar la Salida correspondiente segun la configuracion de la impresora
          App::uses($outputName, 'Printers.Lib/PrinterOutput');
          self::$Output = new $outputName;
          return true;
      }
code_tokens: public static function __createOutput ( $ printerId ) { // cargar datos de la impresora $ Printer = ClassRegistry :: init ( "Printers.Printer" ) ; $ Printer -> recursive = - 1 ; $ printer = $ Printer -> read ( null , $ printerId ) ; if ( empty ( $ printer [ 'Printer' ] [ 'output' ] ) ) { return false ; } $ outputName = $ printer [ 'Printer' ] [ 'output' ] . 'PrinterOutput' ; // cargar la Salida correspondiente segun la configuracion de la impresora App :: uses ( $ outputName , 'Printers.Lib/PrinterOutput' ) ; self :: $ Output = new $ outputName ; return true ; }
docstring: Gets the name of the printer engine
  
  @return boolean true si hay outut false si no la hay
docstring_tokens: Gets the name of the printer engine