PHP Classes

File: parser.php

Recommend this page to a friend!
  Classes of Everton da Rosa   AlText   parser.php   Download  
File: parser.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary file
Class: AlText
Translate texts extracted from code into INI files
Author: By
Last change:
Date: 8 years ago
Size: 246 bytes
 

Contents

Class file image Download
<?php
/**
 * Implements a parser.
 */
require_once 'altext.parser.php';

/**
 * It runs only in CLI mode.
 */
if(php_sapi_name() !== 'cli'){
    throw new
Exception('PHP not in CLI mode.');
}

AlTextParser::run($argv[1], $argv[2]);