forked from a-musing-moose/morph
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
Showing
14 changed files
with
292 additions
and
57 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ | |
$phar->setMetadata($metadata); | ||
$phar->compressFiles(Phar::GZ); | ||
echo "All done!\n"; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
/** | ||
* @package Morph | ||
* @subpackage Property | ||
* @author Jonathan Moss <xirisr@gmail.com> | ||
* @copyright Jonathan Moss 2009 | ||
*/ | ||
namespace morph\property; | ||
/** | ||
* Class to represent a property within a table | ||
* | ||
* See Morph_Property_* for more specific implementations | ||
* | ||
* If you wish to create a more specialised property type you can extend | ||
* this class. Overloading getValue() and setValue() allow you to | ||
* provide automatic marshalling of data. | ||
* | ||
* @package Morph | ||
* @subpackage Property | ||
*/ | ||
class Complex extends Generic | ||
{ | ||
/** | ||
* Called when the property changes | ||
* | ||
* @return void | ||
*/ | ||
public function _onChange() | ||
{ | ||
if ($this->state == \morph\Enum::STATE_CLEAN) { | ||
$this->state = \morph\Enum::STATE_DIRTY; | ||
} | ||
} | ||
} |
Oops, something went wrong.