Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aad373c
commit 567b2e4
Showing
23 changed files
with
670 additions
and
38 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
/** | ||
* !Source Default | ||
* !Table classes | ||
*/ | ||
class Class extends Model { | ||
/** !Type integer */ | ||
public $id; | ||
|
||
/** !Type string */ | ||
public $className; | ||
|
||
} | ||
?> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* !Source Default | ||
* !Table classes | ||
*/ | ||
class fdas extends Model { | ||
/** !Type integer */ | ||
public $id; | ||
|
||
/** !Type text */ | ||
public $name; | ||
|
||
/** !Type integer */ | ||
public $parentId; | ||
|
||
/** !Type integer */ | ||
public $packageId; | ||
|
||
/** !Type text */ | ||
public $docComment; | ||
|
||
/** !Type text */ | ||
public $file; | ||
|
||
/** !Type integer */ | ||
public $lastModified; | ||
|
||
} | ||
?> |
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
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
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
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
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
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
37 changes: 37 additions & 0 deletions
37
recess/lib/recess/apps/tools/views/apps/newModelComplete.php
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
$title = 'New Application Instructions'; | ||
$selectedNav = 'apps'; | ||
include_once($viewsDir . 'common/header.php'); | ||
?> | ||
<h1>Introducing <strong><?php echo $modelName; ?></strong> Model...</h1> | ||
|
||
<h3 class="bottom">Code Gen <?php if($modelWasSaved){ echo '<span class="added">Done</a>'; } else { echo '<span class="highlight">Almost Done</span>'; } ?></h3> | ||
<?php if($modelWasSaved): ?> | ||
<p>The <strong><?php echo $modelName; ?></strong> model was <span class="added">successfully saved</span> to <span class="added"><?php echo $path; ?></span>. If you'd like to take a peak at the generated code, expand the source below.</p> | ||
<?php else:?> | ||
<p><strong><?php echo $modelName; ?></strong> could not be saved. <?php echo $codeGenMessage; ?></p> | ||
<p>To finish adding your model please <span class="highlight">save the code below</span> to the file <span class="highlight"><strong><?php echo $path; ?></strong></span>.</p> | ||
<?php endif; ?> | ||
<pre name="code" class="php<?php if($modelWasSaved) echo ':collapse'; ?>"> | ||
<?php echo str_replace('<','<',$modelCode); ?> | ||
</pre> | ||
|
||
<h3>Table Gen | ||
<?php | ||
if(!$tableGenAttempted) { | ||
echo ' - Skipped'; | ||
} else { | ||
if($tableWasCreated) { | ||
echo '<span class="added">Done</a>'; | ||
} else { | ||
echo '<span class="highlight">Almost Done</span>'; | ||
} | ||
} | ||
?></h3> | ||
|
||
|
||
<h2><span class="highlight">Next Steps</span></h2> | ||
|
||
<?php | ||
include_once($viewsDir . 'common/footer.php'); | ||
?> |
Oops, something went wrong.