' . PHP_EOL; $out .= '
' . PHP_EOL; $sm = $this->result->data->analysis->sm; $out .= ''; $out .= ''; $spellState = $this->result->data->analysis->sm->state; $out .= '
' . PHP_EOL; $out .= '
' . PHP_EOL; $out .= ''; $out .= ''; $gm = $this->result->data->analysis->gm; $out .= '
' . PHP_EOL; $out .= '
' . PHP_EOL; $linkState = $this->result->data->analysis->lc->state; $out .= ''; $out .= ''; $lc = $this->result->data->analysis->lc; $out .= '
' . PHP_EOL; $out .= '
' . PHP_EOL; $out .= '
'; $out .= '
Word Count: ' . $ln->measured->words . '
' . PHP_EOL; $out .= 'Sentence Count: ' . $ln->measured->sentences . '
' . PHP_EOL; $pc = count( $this->result->data->analysis->pwd->detail->paragraphs ); $out .= 'Paragraph Count: ' . $pc . '
' . PHP_EOL; $out .= 'Keywords: ' . $this->keywordsList() . '
' . PHP_EOL; $out .= ''; if ( strtolower( $spellState ) != "green" ) { $out .= '
Spelling
'; $out .= ''; $out .= '
Grammar
'; $out .= ''; } if ( strtolower( $lc->state ) != "green" ) { $out .= '
Links
'; $out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->actual == 'Knowledgeable' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->actual == 'Specialist' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->actual == 'Academic' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
if ( $this->result->data->analysis->so->actual == 'Genius' ) {
if ( $this->result->data->analysis->so->detail == 'TOO SIMPLE' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'TOO COMPLEX' ) {
$out .= '
';
} elseif ( $this->result->data->analysis->so->detail == 'HIT' ) {
$out .= '
';
}
}
$out .= '';
$out .= '