Created
December 5, 2013 19:12
-
-
Save puneetkay/7811424 to your computer and use it in GitHub Desktop.
Tech Specs / Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class: | |
CSSParser | |
Functions: | |
1 - minifier() | |
2 - beautifier() | |
3 - parser() | |
Input variables: | |
$this->input->post('content') OR $_POST['content'] | |
Output variables (for minifier and beautifier): | |
$this->data['output'] - for output content after processing | |
Output variables (for parser): | |
$this->data['output']->severe - array for severe errors in CSS. | |
$this->data['output']->error - array for errors. | |
$this->data['output']->warning - array for warnings. | |
Possible array format (line_number => 'error') | |
Interaction variables: | |
$this->data['success'] - If successful, with message to display | |
$this->data['error'] - If not successful, with array of errors. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment