9bbca577295d656a6d154cbfbb124bfe5eaff491

Author: Joaquín Windmüller

Date: 2008-05-20 03:23:52 +0000

Agregando notas de Licencia a los archivos y activando keywords svn para sustitución. (Crucen los dedos) Eliminando archivos innecesarios.

diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/COPYING @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + <program> Copyright (C) <year> <name of author> + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>. diff --git a/app_controller.php b/app_controller.php index 397d693..50d6f3e 100755 --- a/app_controller.php +++ b/app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Core', 'Sanitize'); class AppController extends Controller { var $components = array('Acl','Auth','RequestHandler','OsmosisComponents','Placeholder'); diff --git a/app_helper.php b/app_helper.php index 2bcb899..34a5f25 100755 --- a/app_helper.php +++ b/app_helper.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class AppHelper extends Helper { } -?> \ No newline at end of file +?> diff --git a/app_model.php b/app_model.php index 5b5820e..cd92576 100755 --- a/app_model.php +++ b/app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class AppModel extends Model{ var $actsAs = array('Containable', 'Hookable'); @@ -36,4 +66,4 @@ class AppModel extends Model{ } } } -?> \ No newline at end of file +?> diff --git a/config/acl.ini.php b/config/acl.ini.php index 9cb36e3..a0fb356 100755 --- a/config/acl.ini.php +++ b/config/acl.ini.php @@ -1,31 +1,36 @@ -;<?php die() ?> -; SVN FILE: $Id: acl.ini.php 5118 2007-05-18 17:19:53Z phpnut $ -;/** -; * Short description for file. -; * -; * -; * PHP versions 4 and 5 -; * -; * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> -; * Copyright 2005-2007, Cake Software Foundation, Inc. -; * 1785 E. Sahara Avenue, Suite 490-204 -; * Las Vegas, Nevada 89104 -; * -; * Licensed under The MIT License -; * Redistributions of files must retain the above copyright notice. -; * -; * @filesource -; * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. -; * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project -; * @package cake -; * @subpackage cake.app.config -; * @since CakePHP(tm) v 0.10.0.1076 -; * @version $Revision: 5118 $ -; * @modifiedby $LastChangedBy: phpnut $ -; * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ -; * @license http://www.opensource.org/licenses/mit-license.php The MIT License -; */ - +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ + die(); +?> ; acl.ini.php - Cake ACL Configuration ; --------------------------------------------------------------------- ; Use this file to specify user permissions. @@ -73,4 +78,4 @@ allow = aco3, aco4 [groupname-goes-here] deny = aco5, aco6 -allow = aco7, aco8 \ No newline at end of file +allow = aco7, aco8 diff --git a/config/bootstrap.php b/config/bootstrap.php index e25d4b7..f856680 100755 --- a/config/bootstrap.php +++ b/config/bootstrap.php @@ -1,30 +1,33 @@ <?php -/* SVN FILE: $Id: bootstrap.php 5118 2007-05-18 17:19:53Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * Short description for file. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * Long description for file + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and 5 + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.10.8.2117 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ /** * @@ -43,4 +46,4 @@ * */ //EOF -?> \ No newline at end of file +?> diff --git a/config/core.php b/config/core.php index 8c6df54..9be1ed8 100755 --- a/config/core.php +++ b/config/core.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * CakePHP Debug Level: * diff --git a/config/database.php.default b/config/database.php.default index 70cc508..3419c52 100755 --- a/config/database.php.default +++ b/config/database.php.default @@ -1,30 +1,33 @@ <?php -/* SVN FILE: $Id: database.php.default 5118 2007-05-18 17:19:53Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * This is core configuration file. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * Use it to configure core behaviour ofCake. + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and 5 + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ /** * In this file you set up your database connection details. @@ -92,4 +95,4 @@ class DATABASE_CONFIG { ); } -?> \ No newline at end of file +?> diff --git a/config/inflections.php b/config/inflections.php index e70527f..2702ebe 100755 --- a/config/inflections.php +++ b/config/inflections.php @@ -1,31 +1,33 @@ <?php -/* SVN FILE: $Id: inflections.php 5118 2007-05-18 17:19:53Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * Custom Inflected Words. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * This file is used to hold words that are not matched in the normail Inflector::pluralize() and - * Inflector::singularize() + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and % + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.config - * @since CakePHP(tm) v 1.0.0.2312 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ /** * This is a key => value array of regex used to match words. @@ -69,4 +71,4 @@ * $irregularSingular = array('atlases' => 'atlas', 'beefs' => 'beef', 'brothers' => 'brother') */ $irregularSingular = array_flip($irregularPlural); -?> \ No newline at end of file +?> diff --git a/config/plugin_descriptions.php b/config/plugin_descriptions.php index e6f36ac..84b6af6 100644 --- a/config/plugin_descriptions.php +++ b/config/plugin_descriptions.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ $configure =& Configure::getInstance(); $paths = $configure->pluginPaths; $plugins = $configure->listObjects('plugin'); @@ -18,4 +48,4 @@ foreach ($search as $path) { } -?> \ No newline at end of file +?> diff --git a/config/routes.php b/config/routes.php index 1a8b267..6218d65 100755 --- a/config/routes.php +++ b/config/routes.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ Router::parseExtensions('js','xml'); Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home')); Router::connect('/algo', array('controller'=> 'wikis', 'action' => 'index', 'plugin' => 'wiki')); @@ -6,4 +36,4 @@ Router::connect('/tests', array('controller' => 'tests', 'action' => 'index')); Router::connect('/admin', array('controller' => 'dashboards', 'action' => 'dashboard', 'admin' => true)); -?> \ No newline at end of file +?> diff --git a/controllers/components/html_purifier.php b/controllers/components/html_purifier.php index e8ecc14..db76f72 100644 --- a/controllers/components/html_purifier.php +++ b/controllers/components/html_purifier.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Component that provides functions to purify, prevent xss attacks, and make standard-compliant html code */ @@ -32,4 +62,4 @@ class HtmlPurifierComponent extends Object { function purify($html) { return $this->lib->purify($html); } -} \ No newline at end of file +} diff --git a/controllers/components/init_acl.php b/controllers/components/init_acl.php index 4f00e3e..7f1c207 100644 --- a/controllers/components/init_acl.php +++ b/controllers/components/init_acl.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Component that provides functions to initialize Access control lists */ diff --git a/controllers/components/installer.php b/controllers/components/installer.php index 734aefa..6442e4a 100644 --- a/controllers/components/installer.php +++ b/controllers/components/installer.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Core','Schema'); class InstallerComponent extends Object { var $controller; @@ -61,4 +91,4 @@ class InstallerComponent extends Object { } -?> \ No newline at end of file +?> diff --git a/controllers/components/osmosis_components.php b/controllers/components/osmosis_components.php index 381d125..18f26c2 100644 --- a/controllers/components/osmosis_components.php +++ b/controllers/components/osmosis_components.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'Member'); class OsmosisComponentsComponent extends Object { @@ -22,4 +52,4 @@ class OsmosisComponentsComponent extends Object { } -?> \ No newline at end of file +?> diff --git a/controllers/components/placeholder.php b/controllers/components/placeholder.php index 2e49de9..3e822dd 100644 --- a/controllers/components/placeholder.php +++ b/controllers/components/placeholder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * A Facade to attach various placeholders to a view * @@ -157,4 +187,4 @@ class PlaceholderComponent extends Object { } } -?> \ No newline at end of file +?> diff --git a/controllers/components/placeholder_data.php b/controllers/components/placeholder_data.php index d904384..0a13e06 100644 --- a/controllers/components/placeholder_data.php +++ b/controllers/components/placeholder_data.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Defines a template class for setting arbitrary data to the view from any plugin * @@ -216,4 +246,4 @@ abstract class PlaceholderDataComponent extends Object { !$this->RequestHandler->isAjax(); } } -?> \ No newline at end of file +?> diff --git a/controllers/components/zip.php b/controllers/components/zip.php index 896d852..d573fa8 100644 --- a/controllers/components/zip.php +++ b/controllers/components/zip.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Component that manages zip archive creation, modification and extraction. */ diff --git a/controllers/courses_controller.php b/controllers/courses_controller.php index a877d6b..b47fa84 100644 --- a/controllers/courses_controller.php +++ b/controllers/courses_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class CoursesController extends AppController { var $name = 'Courses'; @@ -164,4 +194,4 @@ class CoursesController extends AppController { } } -?> \ No newline at end of file +?> diff --git a/controllers/dashboards_controller.php b/controllers/dashboards_controller.php index 4e59e10..c3a6cc5 100644 --- a/controllers/dashboards_controller.php +++ b/controllers/dashboards_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DashboardsController extends AppController { var $name = 'Dashboards'; @@ -11,4 +41,4 @@ class DashboardsController extends AppController { } -?> \ No newline at end of file +?> diff --git a/controllers/departments_controller.php b/controllers/departments_controller.php index 0b9e18f..61813df 100644 --- a/controllers/departments_controller.php +++ b/controllers/departments_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DepartmentsController extends AppController { var $name = 'Departments'; diff --git a/controllers/init_acl_controller.php b/controllers/init_acl_controller.php index e62015b..7d7851e 100644 --- a/controllers/init_acl_controller.php +++ b/controllers/init_acl_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class InitAclController extends AppController { var $name = 'InitAcl'; var $components = array('Acl','InitAcl'); diff --git a/controllers/members_controller.php b/controllers/members_controller.php index d34b8e2..e2b3a29 100644 --- a/controllers/members_controller.php +++ b/controllers/members_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MembersController extends AppController { var $name = 'Members'; diff --git a/controllers/pages_controller.php b/controllers/pages_controller.php index 0094719..b4406b5 100755 --- a/controllers/pages_controller.php +++ b/controllers/pages_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Short description for class. * diff --git a/controllers/plugins_controller.php b/controllers/plugins_controller.php index a48abc4..ebbbad0 100644 --- a/controllers/plugins_controller.php +++ b/controllers/plugins_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class PluginsController extends AppController { var $name = 'Plugins'; @@ -96,4 +126,4 @@ class PluginsController extends AppController { } } -?> \ No newline at end of file +?> diff --git a/file_header.txt b/file_header.txt new file mode 100644 index 0000000..346e217 --- /dev/null +++ b/file_header.txt @@ -0,0 +1,31 @@ +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ diff --git a/index.php b/index.php index d3901eb..0194a72 100755 --- a/index.php +++ b/index.php @@ -1,26 +1,33 @@ <?php -/* SVN FILE: $Id: index.php 5118 2007-05-18 17:19:53Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * PHP versions 4 and 5 + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app - * @since CakePHP(tm) v 0.10.0.1076 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ require 'webroot' . DIRECTORY_SEPARATOR . 'index.php'; -?> \ No newline at end of file +?> diff --git a/models/behaviors/bindable.php b/models/behaviors/bindable.php index cd5a94a..0661367 100644 --- a/models/behaviors/bindable.php +++ b/models/behaviors/bindable.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Bindable Behavior class file. * @@ -9,7 +39,7 @@ * @filesource * @author Mariano Iglesias * @link http://cake-syrup.sourceforge.net/ingredients/bindable-behavior/ - * @version $Revision: 19 $ + * @version $Revision$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @package app * @subpackage app.models.behaviors @@ -511,4 +541,4 @@ class BindableBehavior extends ModelBehavior } } -?> \ No newline at end of file +?> diff --git a/models/behaviors/hookable.php b/models/behaviors/hookable.php index ca0d685..46fdbc6 100644 --- a/models/behaviors/hookable.php +++ b/models/behaviors/hookable.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class HookableBehavior extends ModelBehavior { /** @@ -157,4 +187,4 @@ class HookableBehavior extends ModelBehavior { } } } -?> \ No newline at end of file +?> diff --git a/models/behaviors/loggable.php b/models/behaviors/loggable.php index ebe086c..35ca588 100644 --- a/models/behaviors/loggable.php +++ b/models/behaviors/loggable.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class LoggableBehavior extends ModelBehavior { function afterSave(&$model, $created) { @@ -18,4 +48,4 @@ class LoggableBehavior extends ModelBehavior { ); } } -?> \ No newline at end of file +?> diff --git a/models/behaviors/sluggable.php b/models/behaviors/sluggable.php index ced25cd..7e4fafe 100644 --- a/models/behaviors/sluggable.php +++ b/models/behaviors/sluggable.php @@ -1,5 +1,34 @@ -<?php -/* SVN FILE: $Id: sluggable.php 36 2007-11-26 15:10:14Z mgiglesias $ */ +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Sluggable Behavior class file. @@ -7,7 +36,7 @@ * @filesource * @author Mariano Iglesias * @link http://cake-syrup.sourceforge.net/ingredients/sluggable-behavior/ - * @version $Revision: 36 $ + * @version $Revision$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @package app * @subpackage app.models.behaviors diff --git a/models/behaviors/taggable.php b/models/behaviors/taggable.php index b2900d2..f72ce0f 100644 --- a/models/behaviors/taggable.php +++ b/models/behaviors/taggable.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Model behavior to support tagging of model records * @@ -116,4 +146,4 @@ class TaggableBehavior extends ModelBehavior { } -?> \ No newline at end of file +?> diff --git a/models/behaviors/transaction.php b/models/behaviors/transaction.php index 3f38fd5..4ad2ce6 100644 --- a/models/behaviors/transaction.php +++ b/models/behaviors/transaction.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Transaction support for models in 1.2 * @@ -249,4 +279,4 @@ class TransactionBehavior extends ModelBehavior { $this->_error('Not valid transaction state'); } } -?> \ No newline at end of file +?> diff --git a/models/behaviors/visitable.php b/models/behaviors/visitable.php index cbbaaf1..d40c18b 100644 --- a/models/behaviors/visitable.php +++ b/models/behaviors/visitable.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class VisitableBehavior extends ModelBehavior { var $field; var $__settings; @@ -33,4 +63,4 @@ class VisitableBehavior extends ModelBehavior { return true; } } -?> \ No newline at end of file +?> diff --git a/models/course.php b/models/course.php index 8f8ae0a..b318c6e 100644 --- a/models/course.php +++ b/models/course.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Model Class that represents a Course. */ diff --git a/models/department.php b/models/department.php index 5a08861..fa80d88 100644 --- a/models/department.php +++ b/models/department.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Department extends AppModel { var $name = 'Department'; diff --git a/models/member.php b/models/member.php index beb2ee3..17f3a0d 100644 --- a/models/member.php +++ b/models/member.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Member extends AppModel { var $name = 'Member'; var $displayField = 'full_name'; @@ -134,4 +164,4 @@ class Member extends AppModel { } } -?> \ No newline at end of file +?> diff --git a/models/model_log.php b/models/model_log.php index 0c5425c..129339a 100644 --- a/models/model_log.php +++ b/models/model_log.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ModelLog extends AppModel { var $name = 'ModelLog'; @@ -14,4 +44,4 @@ class ModelLog extends AppModel { ); } -?> \ No newline at end of file +?> diff --git a/models/plugin.php b/models/plugin.php index ca94c19..236d289 100644 --- a/models/plugin.php +++ b/models/plugin.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Plugin extends AppModel { var $name = 'Plugin'; @@ -181,4 +211,4 @@ class Plugin extends AppModel { } -?> \ No newline at end of file +?> diff --git a/models/role.php b/models/role.php index 39d8acd..97ac471 100644 --- a/models/role.php +++ b/models/role.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Role extends AppModel { var $name = 'Role'; diff --git a/models/tag.php b/models/tag.php index 2801372..4ee79bb 100644 --- a/models/tag.php +++ b/models/tag.php @@ -1,7 +1,37 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Tag extends AppModel { var $name = 'Tag'; } -?> \ No newline at end of file +?> diff --git a/plugins/blog/blog_app_controller.php b/plugins/blog/blog_app_controller.php index 3c7821c..6c3221b 100755 --- a/plugins/blog/blog_app_controller.php +++ b/plugins/blog/blog_app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class BlogAppController extends AppController { } ?> diff --git a/plugins/blog/blog_app_model.php b/plugins/blog/blog_app_model.php index 4772867..6b6403c 100755 --- a/plugins/blog/blog_app_model.php +++ b/plugins/blog/blog_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class BlogAppModel extends AppModel{ } -?> \ No newline at end of file +?> diff --git a/plugins/blog/config/description.php b/plugins/blog/config/description.php index 968795a..2869c84 100644 --- a/plugins/blog/config/description.php +++ b/plugins/blog/config/description.php @@ -1,5 +1,35 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ Configure::write('Blog.description','Lorem ipsum dolor sit amet, consectetuer adipiscing elit.'); Configure::write('Blog.title','Blog'); Configure::write('Blog.type',array('other')); -?> \ No newline at end of file +?> diff --git a/plugins/blog/controllers/blogs_controller.php b/plugins/blog/controllers/blogs_controller.php index b01d74f..9aa6dda 100644 --- a/plugins/blog/controllers/blogs_controller.php +++ b/plugins/blog/controllers/blogs_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class BlogsController extends BlogAppController { var $name = 'Blogs'; diff --git a/plugins/blog/controllers/comments_controller.php b/plugins/blog/controllers/comments_controller.php index c1c0061..954428e 100644 --- a/plugins/blog/controllers/comments_controller.php +++ b/plugins/blog/controllers/comments_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class CommentsController extends BlogAppController { var $name = 'Comments'; diff --git a/plugins/blog/controllers/components/blog_member_hook.php b/plugins/blog/controllers/components/blog_member_hook.php index ccaef59..b2f25b5 100644 --- a/plugins/blog/controllers/components/blog_member_hook.php +++ b/plugins/blog/controllers/components/blog_member_hook.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class BlogMemberHookComponent extends Object{ function beforeValidate() { // debug('hola!'); @@ -10,4 +40,4 @@ class BlogMemberHookComponent extends Object{ } -?> \ No newline at end of file +?> diff --git a/plugins/blog/controllers/pages_controller.php b/plugins/blog/controllers/pages_controller.php index b74b70b..d4f131d 100755 --- a/plugins/blog/controllers/pages_controller.php +++ b/plugins/blog/controllers/pages_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class PagesController extends AppController{ /** * Controller name @@ -56,4 +86,4 @@ class PagesController extends AppController{ $this->render(join('/', $path)); } } -?> \ No newline at end of file +?> diff --git a/plugins/blog/controllers/posts_controller.php b/plugins/blog/controllers/posts_controller.php index d9cd2ab..499d3e9 100644 --- a/plugins/blog/controllers/posts_controller.php +++ b/plugins/blog/controllers/posts_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class PostsController extends BlogAppController { var $name = 'Posts'; diff --git a/plugins/blog/models/behaviors/sluggable.php b/plugins/blog/models/behaviors/sluggable.php index 2170331..58f9fad 100644 --- a/plugins/blog/models/behaviors/sluggable.php +++ b/plugins/blog/models/behaviors/sluggable.php @@ -1,5 +1,35 @@ -<?php -/* SVN FILE: $Id: sluggable.php 36 2007-11-26 15:10:14Z mgiglesias $ */ +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ +/* SVN FILE: $Id$ */ /** * Sluggable Behavior class file. @@ -7,7 +37,7 @@ * @filesource * @author Mariano Iglesias * @link http://cake-syrup.sourceforge.net/ingredients/sluggable-behavior/ - * @version $Revision: 36 $ + * @version $Revision$ * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @package app * @subpackage app.models.behaviors diff --git a/plugins/blog/models/blog.php b/plugins/blog/models/blog.php index 5bc919b..641d3b8 100644 --- a/plugins/blog/models/blog.php +++ b/plugins/blog/models/blog.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Blog extends BlogAppModel { var $name = 'Blog'; diff --git a/plugins/blog/models/comment.php b/plugins/blog/models/comment.php index 6637870..fddde46 100644 --- a/plugins/blog/models/comment.php +++ b/plugins/blog/models/comment.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Comment extends BlogAppModel { var $name = 'Comment'; diff --git a/plugins/blog/models/post.php b/plugins/blog/models/post.php index ebbfa1c..b98eae6 100644 --- a/plugins/blog/models/post.php +++ b/plugins/blog/models/post.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Post extends BlogAppModel { var $name = 'Post'; diff --git a/plugins/blog/tests/cases/behaviors/sluggable.test.php b/plugins/blog/tests/cases/behaviors/sluggable.test.php index 110865f..c88f91b 100644 --- a/plugins/blog/tests/cases/behaviors/sluggable.test.php +++ b/plugins/blog/tests/cases/behaviors/sluggable.test.php @@ -1,5 +1,34 @@ <?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Test cases for Sluggable Behavior, which are basically testing methods to test several diff --git a/plugins/blog/tests/cases/models/blog.test.php b/plugins/blog/tests/cases/models/blog.test.php index c096267..791b7b5 100644 --- a/plugins/blog/tests/cases/models/blog.test.php +++ b/plugins/blog/tests/cases/models/blog.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'Blog.Blog'); diff --git a/plugins/blog/tests/cases/models/comment.test.php b/plugins/blog/tests/cases/models/comment.test.php index 5523855..f72abaa 100644 --- a/plugins/blog/tests/cases/models/comment.test.php +++ b/plugins/blog/tests/cases/models/comment.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'Blog.Blog'); App::import('Model', 'Blog.Post'); diff --git a/plugins/blog/tests/cases/models/post.test.php b/plugins/blog/tests/cases/models/post.test.php index d3113b7..2b90e8d 100644 --- a/plugins/blog/tests/cases/models/post.test.php +++ b/plugins/blog/tests/cases/models/post.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'Blog.Blog'); App::import('Model', 'Blog.Post'); diff --git a/plugins/blog/tests/fixtures/blog_fixture.php b/plugins/blog/tests/fixtures/blog_fixture.php index 836792c..6286d8c 100644 --- a/plugins/blog/tests/fixtures/blog_fixture.php +++ b/plugins/blog/tests/fixtures/blog_fixture.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class BlogFixture extends CakeTestFixture{ var $name = 'BlogBlogs'; var $import = array('model'=> 'Blog'); diff --git a/plugins/blog/tests/fixtures/comment_fixture.php b/plugins/blog/tests/fixtures/comment_fixture.php index 9c7f9a0..0dd240c 100644 --- a/plugins/blog/tests/fixtures/comment_fixture.php +++ b/plugins/blog/tests/fixtures/comment_fixture.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class CommentFixture extends CakeTestFixture{ var $name = 'BlogComment'; var $import = array('model'=> 'Comment'); diff --git a/plugins/blog/tests/fixtures/post_fixture.php b/plugins/blog/tests/fixtures/post_fixture.php index ae1559e..3dd9752 100644 --- a/plugins/blog/tests/fixtures/post_fixture.php +++ b/plugins/blog/tests/fixtures/post_fixture.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class PostFixture extends CakeTestFixture{ var $name = 'BlogPosts'; var $import = array('model'=> 'Post'); diff --git a/plugins/blog/tests/fixtures/slug_article_fixture.php b/plugins/blog/tests/fixtures/slug_article_fixture.php index 27c2bd2..7a5d142 100644 --- a/plugins/blog/tests/fixtures/slug_article_fixture.php +++ b/plugins/blog/tests/fixtures/slug_article_fixture.php @@ -1,6 +1,35 @@ <?php /* SVN FILE: $Id$ */ /** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + +/** * Fixture for test case in SluggableBehavior. * * Go to the SluggableBehavior page at Cake Syrup to learn more about it: diff --git a/plugins/chat/chat_app_controller.php b/plugins/chat/chat_app_controller.php index cfd9233..461a22d 100644 --- a/plugins/chat/chat_app_controller.php +++ b/plugins/chat/chat_app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChatAppController extends AppController { diff --git a/plugins/chat/chat_app_model.php b/plugins/chat/chat_app_model.php index a9129bb..bd9b578 100644 --- a/plugins/chat/chat_app_model.php +++ b/plugins/chat/chat_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChatAppModel extends AppModel { diff --git a/plugins/chat/controllers/chats_controller.php b/plugins/chat/controllers/chats_controller.php index a2c6535..89bbdea 100644 --- a/plugins/chat/controllers/chats_controller.php +++ b/plugins/chat/controllers/chats_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChatsController extends ChatAppController { var $name = 'Chats'; @@ -37,4 +67,4 @@ class ChatsController extends ChatAppController { parent::__updateOnlineUsers(); } } -?> \ No newline at end of file +?> diff --git a/plugins/chat/controllers/components/chat_holder.php b/plugins/chat/controllers/components/chat_holder.php index 3f83907..3293bfa 100644 --- a/plugins/chat/controllers/components/chat_holder.php +++ b/plugins/chat/controllers/components/chat_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component', 'PlaceholderData'); class ChatHolderComponent extends PlaceholderDataComponent { @@ -13,4 +43,4 @@ class ChatHolderComponent extends PlaceholderDataComponent { return false; } } -?> \ No newline at end of file +?> diff --git a/plugins/chat/controllers/messages_controller.php b/plugins/chat/controllers/messages_controller.php index 150949a..88f7e50 100644 --- a/plugins/chat/controllers/messages_controller.php +++ b/plugins/chat/controllers/messages_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MessagesController extends ChatAppController { var $name = 'Messages'; @@ -48,4 +78,4 @@ class MessagesController extends ChatAppController { return true; } } -?> \ No newline at end of file +?> diff --git a/plugins/chat/models/message.php b/plugins/chat/models/message.php index 404124a..62c31a7 100644 --- a/plugins/chat/models/message.php +++ b/plugins/chat/models/message.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Message extends ChatAppModel { var $name = 'Message'; @@ -43,4 +73,4 @@ class Message extends ChatAppModel { } } -?> \ No newline at end of file +?> diff --git a/plugins/chat/tests/cases/controllers/chat_messages_controller.test.php b/plugins/chat/tests/cases/controllers/chat_messages_controller.test.php index 2ad7995..0c99aaa 100644 --- a/plugins/chat/tests/cases/controllers/chat_messages_controller.test.php +++ b/plugins/chat/tests/cases/controllers/chat_messages_controller.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /* ChatMessagesController Test cases generated on: 2008-05-03 12:05:58 : 1209832378*/ App::import('Controller', 'Chat.ChatMessages'); @@ -22,4 +51,4 @@ class ChatMessagesControllerTest extends CakeTestCase { unset($this->ChatMessages); } } -?> \ No newline at end of file +?> diff --git a/plugins/chat/tests/cases/models/message.test.php b/plugins/chat/tests/cases/models/message.test.php index e19a6ce..ab92c19 100644 --- a/plugins/chat/tests/cases/models/message.test.php +++ b/plugins/chat/tests/cases/models/message.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* ChatMessage Test cases generated on: 2008-05-03 12:05:52 : 1209831172*/ App::import('Model', 'Chat.Message'); @@ -37,4 +66,4 @@ class MessageTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/chat/tests/fixtures/chat_message_fixture.php b/plugins/chat/tests/fixtures/chat_message_fixture.php index 5ecad68..a1f2f4f 100644 --- a/plugins/chat/tests/fixtures/chat_message_fixture.php +++ b/plugins/chat/tests/fixtures/chat_message_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* ChatMessage Fixure generated on: 2008-05-03 12:05:52 : 1209831172*/ class ChatMessageFixture extends CakeTestFixture { @@ -23,4 +52,4 @@ class ChatMessageFixture extends CakeTestFixture { 'text' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/plugins/forum/config/description.php b/plugins/forum/config/description.php index abac748..1916560 100644 --- a/plugins/forum/config/description.php +++ b/plugins/forum/config/description.php @@ -1,5 +1,35 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ Configure::write('Forum.description','Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer elit sapien, scelerisque vel, euismod vel, faucibus at, dolor. Ut vehicula lorem vel nibh. Nam sed elit id sapien fringilla fermentum. Nam mattis. Proin egestas cursus justo. Nullam et odio a erat condimentum porta. Phasellus ipsum eros, blandit nec, sollicitudin a, facilisis nec, lacus. In sed mi. Praesent mauris enim, consectetuer ut, fringilla vitae, commodo et, magna. Sed ac arcu ac turpis gravida fringilla. '); Configure::write('Forum.title','Forums'); Configure::write('Forum.type',array('tool')); -?> \ No newline at end of file +?> diff --git a/plugins/forum/controllers/components/forum_holder.php b/plugins/forum/controllers/components/forum_holder.php index ee4df72..a1d3683 100644 --- a/plugins/forum/controllers/components/forum_holder.php +++ b/plugins/forum/controllers/components/forum_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component', 'PlaceholderData'); class ForumHolderComponent extends PlaceholderDataComponent { @@ -98,4 +128,4 @@ class ForumHolderComponent extends PlaceholderDataComponent { return $result; } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/controllers/discussions_controller.php b/plugins/forum/controllers/discussions_controller.php index 6cf34c9..fc5af48 100644 --- a/plugins/forum/controllers/discussions_controller.php +++ b/plugins/forum/controllers/discussions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DiscussionsController extends ForumAppController { var $name = 'Discussions'; @@ -77,4 +107,4 @@ class DiscussionsController extends ForumAppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/controllers/responses_controller.php b/plugins/forum/controllers/responses_controller.php index afcff8e..d5a57f3 100644 --- a/plugins/forum/controllers/responses_controller.php +++ b/plugins/forum/controllers/responses_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ResponsesController extends ForumAppController { var $name = 'Responses'; @@ -56,4 +86,4 @@ class ResponsesController extends ForumAppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/controllers/topics_controller.php b/plugins/forum/controllers/topics_controller.php index 15d2dfd..8af6bd5 100644 --- a/plugins/forum/controllers/topics_controller.php +++ b/plugins/forum/controllers/topics_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class TopicsController extends ForumAppController { var $name = 'Topics'; @@ -85,4 +115,4 @@ class TopicsController extends ForumAppController { } } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/forum_app_controller.php b/plugins/forum/forum_app_controller.php index a44464c..e193ab3 100644 --- a/plugins/forum/forum_app_controller.php +++ b/plugins/forum/forum_app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ForumAppController extends AppController { var $helpers = array('Time', 'Text'); var $components = array('Security', 'HtmlPurifier'); diff --git a/plugins/forum/forum_app_model.php b/plugins/forum/forum_app_model.php index f99039c..0d068e5 100644 --- a/plugins/forum/forum_app_model.php +++ b/plugins/forum/forum_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ForumAppModel extends AppModel { diff --git a/plugins/forum/models/discussion.php b/plugins/forum/models/discussion.php index 0f58a77..bcde945 100644 --- a/plugins/forum/models/discussion.php +++ b/plugins/forum/models/discussion.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Discussion extends AppModel { var $name = 'Discussion'; @@ -99,4 +129,4 @@ class Discussion extends AppModel { parent::__construct($id,$table,$ds); } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/models/response.php b/plugins/forum/models/response.php index a6ce3e5..2736807 100644 --- a/plugins/forum/models/response.php +++ b/plugins/forum/models/response.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Response extends AppModel { var $name = 'Response'; @@ -43,4 +73,4 @@ class Response extends AppModel { parent::__construct($id, $table, $ds); } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/models/topic.php b/plugins/forum/models/topic.php index 81cfeaa..a74527e 100644 --- a/plugins/forum/models/topic.php +++ b/plugins/forum/models/topic.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Topic extends AppModel { var $name = 'Topic'; @@ -96,4 +126,4 @@ class Topic extends AppModel { return $this->find('first', array('course_id' => $course_id)); } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/tests/cases/models/discussion.test.php b/plugins/forum/tests/cases/models/discussion.test.php index 80e604f..cf012c7 100644 --- a/plugins/forum/tests/cases/models/discussion.test.php +++ b/plugins/forum/tests/cases/models/discussion.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Discussion Test cases generated on: 2008-02-02 14:02:13 : 1201975693*/ App::import('Model', 'Discussion'); @@ -48,4 +77,4 @@ class DiscussionTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/tests/cases/models/response.test.php b/plugins/forum/tests/cases/models/response.test.php index 6f8ccd1..1bf942a 100644 --- a/plugins/forum/tests/cases/models/response.test.php +++ b/plugins/forum/tests/cases/models/response.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Response Test cases generated on: 2008-02-02 14:02:37 : 1201975837*/ App::import('Model', 'Response'); @@ -46,4 +75,4 @@ class ResponseTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/tests/cases/models/subject.test.php b/plugins/forum/tests/cases/models/subject.test.php index c0b7553..ed7ce08 100644 --- a/plugins/forum/tests/cases/models/subject.test.php +++ b/plugins/forum/tests/cases/models/subject.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Topic Test cases generated on: 2008-02-02 14:02:10 : 1201975390*/ App::import('Model', 'Topic'); @@ -37,4 +66,4 @@ class TopicTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/forum/tests/fixtures/discussion_fixture.php b/plugins/forum/tests/fixtures/discussion_fixture.php index dc00dd1..6e270ab 100644 --- a/plugins/forum/tests/fixtures/discussion_fixture.php +++ b/plugins/forum/tests/fixtures/discussion_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Discussion Fixure generated on: 2008-02-02 14:02:13 : 1201975693*/ class DiscussionFixture extends CakeTestFixture { @@ -36,4 +65,4 @@ class DiscussionFixture extends CakeTestFixture { 'status' => 'Lorem ipsum dolor ' )); } -?> \ No newline at end of file +?> diff --git a/plugins/forum/tests/fixtures/forum_fixture.php b/plugins/forum/tests/fixtures/forum_fixture.php index dac9e69..863c99f 100644 --- a/plugins/forum/tests/fixtures/forum_fixture.php +++ b/plugins/forum/tests/fixtures/forum_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Forum Fixure generated on: 2008-02-02 13:02:34 : 1201975054*/ class ForumFixture extends CakeTestFixture { diff --git a/plugins/forum/tests/fixtures/response_fixture.php b/plugins/forum/tests/fixtures/response_fixture.php index 8342ada..972569d 100644 --- a/plugins/forum/tests/fixtures/response_fixture.php +++ b/plugins/forum/tests/fixtures/response_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /* Response Fixure generated on: 2008-02-02 14:02:37 : 1201975837*/ class ResponseFixture extends CakeTestFixture { @@ -32,4 +61,4 @@ class ResponseFixture extends CakeTestFixture { 'created' => '2008-02-02 14:10:37' )); } -?> \ No newline at end of file +?> diff --git a/plugins/forum/tests/fixtures/subject_fixture.php b/plugins/forum/tests/fixtures/subject_fixture.php index 5ed5bd6..0f8ac09 100644 --- a/plugins/forum/tests/fixtures/subject_fixture.php +++ b/plugins/forum/tests/fixtures/subject_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Topic Fixure generated on: 2008-02-02 14:02:10 : 1201975390*/ class TopicFixture extends CakeTestFixture { @@ -25,4 +54,4 @@ class TopicFixture extends CakeTestFixture { 'status' => 'Lorem ipsum dolor ' )); } -?> \ No newline at end of file +?> diff --git a/plugins/locker/controllers/documents_controller.php b/plugins/locker/controllers/documents_controller.php index 5dba0cc..7a12ec9 100644 --- a/plugins/locker/controllers/documents_controller.php +++ b/plugins/locker/controllers/documents_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DocumentsController extends LockerAppController { var $name = 'Documents'; @@ -92,4 +122,4 @@ class DocumentsController extends LockerAppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/controllers/folders_controller.php b/plugins/locker/controllers/folders_controller.php index d67cc44..7df22cc 100644 --- a/plugins/locker/controllers/folders_controller.php +++ b/plugins/locker/controllers/folders_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class FoldersController extends LockerAppController { var $name = 'Folders'; @@ -65,4 +95,4 @@ class FoldersController extends LockerAppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/locker_app_controller.php b/plugins/locker/locker_app_controller.php index 07b9059..9c09275 100644 --- a/plugins/locker/locker_app_controller.php +++ b/plugins/locker/locker_app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class LockerAppController extends AppController { diff --git a/plugins/locker/locker_app_model.php b/plugins/locker/locker_app_model.php index 2da13b9..2196078 100644 --- a/plugins/locker/locker_app_model.php +++ b/plugins/locker/locker_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class LockerAppModel extends AppModel { diff --git a/plugins/locker/models/locker_document.php b/plugins/locker/models/locker_document.php index c9063af..66f2c1e 100644 --- a/plugins/locker/models/locker_document.php +++ b/plugins/locker/models/locker_document.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Core','File'); class LockerDocument extends LockerAppModel { @@ -95,4 +125,4 @@ class LockerDocument extends LockerAppModel { } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/models/locker_folder.php b/plugins/locker/models/locker_folder.php index bf04ab6..d7e138f 100644 --- a/plugins/locker/models/locker_folder.php +++ b/plugins/locker/models/locker_folder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Core','Folder'); class LockerFolder extends LockerAppModel { @@ -141,4 +171,4 @@ class LockerFolder extends LockerAppModel { } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/controllers/directories_controller.test.php b/plugins/locker/tests/cases/controllers/directories_controller.test.php index 6b34144..213a796 100644 --- a/plugins/locker/tests/cases/controllers/directories_controller.test.php +++ b/plugins/locker/tests/cases/controllers/directories_controller.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* DirectoriesController Test cases generated on: 2008-04-29 00:04:30 : 1209445110*/ App::import('Controller', 'Locker.Directories'); @@ -22,4 +51,4 @@ class DirectoriesControllerTest extends CakeTestCase { unset($this->Directories); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/controllers/documents_controller.test.php b/plugins/locker/tests/cases/controllers/documents_controller.test.php index 9856e8e..581e4e1 100644 --- a/plugins/locker/tests/cases/controllers/documents_controller.test.php +++ b/plugins/locker/tests/cases/controllers/documents_controller.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* DocumentsController Test cases generated on: 2008-04-29 01:04:49 : 1209445369*/ App::import('Controller', 'Locker.Documents'); @@ -22,4 +51,4 @@ class DocumentsControllerTest extends CakeTestCase { unset($this->Documents); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/controllers/locker_documents_controller.test.php b/plugins/locker/tests/cases/controllers/locker_documents_controller.test.php index 3080427..9e98ba1 100644 --- a/plugins/locker/tests/cases/controllers/locker_documents_controller.test.php +++ b/plugins/locker/tests/cases/controllers/locker_documents_controller.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* LockerDocumentsController Test cases generated on: 2008-04-29 15:04:48 : 1209497268*/ App::import('Controller', 'Locker.LockerDocuments'); @@ -22,4 +51,4 @@ class LockerDocumentsControllerTest extends CakeTestCase { unset($this->LockerDocuments); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/controllers/locker_folders_controller.test.php b/plugins/locker/tests/cases/controllers/locker_folders_controller.test.php index 671defe..f6f61a2 100644 --- a/plugins/locker/tests/cases/controllers/locker_folders_controller.test.php +++ b/plugins/locker/tests/cases/controllers/locker_folders_controller.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* LockerFoldersController Test cases generated on: 2008-04-29 15:04:02 : 1209497282*/ App::import('Controller', 'Locker.LockerFolders'); @@ -22,4 +51,4 @@ class LockerFoldersControllerTest extends CakeTestCase { unset($this->LockerFolders); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/models/directory.test.php b/plugins/locker/tests/cases/models/directory.test.php index 437c93a..44a2304 100644 --- a/plugins/locker/tests/cases/models/directory.test.php +++ b/plugins/locker/tests/cases/models/directory.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Directory Test cases generated on: 2008-04-29 00:04:07 : 1209445027*/ App::import('Model', 'Locker.Directory'); @@ -33,4 +62,4 @@ class DirectoryTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/models/document.test.php b/plugins/locker/tests/cases/models/document.test.php index 62924e5..6c9b4eb 100644 --- a/plugins/locker/tests/cases/models/document.test.php +++ b/plugins/locker/tests/cases/models/document.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Document Test cases generated on: 2008-04-29 00:04:34 : 1209445054*/ App::import('Model', 'Locker.Document'); @@ -46,4 +75,4 @@ class DocumentTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/models/locker_document.test.php b/plugins/locker/tests/cases/models/locker_document.test.php index 21bca6a..679877f 100644 --- a/plugins/locker/tests/cases/models/locker_document.test.php +++ b/plugins/locker/tests/cases/models/locker_document.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* LockerDocument Test cases generated on: 2008-04-29 15:04:06 : 1209497166*/ App::import('Model', 'Locker.LockerDocument'); @@ -47,4 +76,4 @@ class LockerDocumentTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/cases/models/locker_folder.test.php b/plugins/locker/tests/cases/models/locker_folder.test.php index 88ddf6b..dc8e9c7 100644 --- a/plugins/locker/tests/cases/models/locker_folder.test.php +++ b/plugins/locker/tests/cases/models/locker_folder.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* LockerFolder Test cases generated on: 2008-04-29 15:04:25 : 1209497005*/ App::import('Model', 'Locker.LockerFolder'); @@ -34,4 +63,4 @@ class LockerFolderTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/fixtures/directory_fixture.php b/plugins/locker/tests/fixtures/directory_fixture.php index 3caeaf5..bcd4ebb 100644 --- a/plugins/locker/tests/fixtures/directory_fixture.php +++ b/plugins/locker/tests/fixtures/directory_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Directory Fixure generated on: 2008-04-29 00:04:07 : 1209445027*/ class DirectoryFixture extends CakeTestFixture { @@ -15,4 +44,4 @@ class DirectoryFixture extends CakeTestFixture { 'name' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/fixtures/document_fixture.php b/plugins/locker/tests/fixtures/document_fixture.php index 70b2370..ef329dc 100644 --- a/plugins/locker/tests/fixtures/document_fixture.php +++ b/plugins/locker/tests/fixtures/document_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Document Fixure generated on: 2008-04-29 00:04:34 : 1209445054*/ class DocumentFixture extends CakeTestFixture { @@ -30,4 +59,4 @@ class DocumentFixture extends CakeTestFixture { 'directory_id' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/fixtures/locker_document_fixture.php b/plugins/locker/tests/fixtures/locker_document_fixture.php index e186d1f..4b14478 100644 --- a/plugins/locker/tests/fixtures/locker_document_fixture.php +++ b/plugins/locker/tests/fixtures/locker_document_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* LockerDocument Fixure generated on: 2008-04-29 15:04:06 : 1209497166*/ class LockerDocumentFixture extends CakeTestFixture { @@ -32,4 +61,4 @@ class LockerDocumentFixture extends CakeTestFixture { 'folder_id' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/plugins/locker/tests/fixtures/locker_folder_fixture.php b/plugins/locker/tests/fixtures/locker_folder_fixture.php index 843fd20..168c660 100644 --- a/plugins/locker/tests/fixtures/locker_folder_fixture.php +++ b/plugins/locker/tests/fixtures/locker_folder_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* LockerFolder Fixure generated on: 2008-04-29 15:04:25 : 1209497005*/ class LockerFolderFixture extends CakeTestFixture { @@ -17,4 +46,4 @@ class LockerFolderFixture extends CakeTestFixture { 'parent_id' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/plugins/locker/views/document.php b/plugins/locker/views/document.php index 0eda24a..9460641 100644 --- a/plugins/locker/views/document.php +++ b/plugins/locker/views/document.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('View','Media'); class DocumentView extends MediaView { @@ -97,4 +127,4 @@ class DocumentView extends MediaView { return false; } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/config/description.php b/plugins/quiz/config/description.php index 1850225..4eca017 100644 --- a/plugins/quiz/config/description.php +++ b/plugins/quiz/config/description.php @@ -1,6 +1,36 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ Configure::write('Quiz.description','Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer elit sapien, scelerisque vel, euismod vel, faucibus at, dolor. Ut vehicula lorem vel nibh. Nam sed elit id sapien fringilla fermentum. Nam mattis. Proin egestas cursus justo. Nullam et odio a erat condimentum porta. Phasellus ipsum eros, blandit nec, sollicitudin a, facilisis nec, lacus. In sed mi. Praesent mauris enim, consectetuer ut, fringilla vitae, commodo et, magna. Sed ac arcu ac turpis gravida fringilla. '); Configure::write('Quiz.title','Quizzes'); Configure::write('Quiz.type',array('tool')); Configure::write('Quiz.author','Osmosis Team'); -?> \ No newline at end of file +?> diff --git a/plugins/quiz/controllers/association_questions_controller.php b/plugins/quiz/controllers/association_questions_controller.php index 7912d43..3969814 100755 --- a/plugins/quiz/controllers/association_questions_controller.php +++ b/plugins/quiz/controllers/association_questions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class AssociationQuestionsController extends AppController { var $name = 'AssociationQuestions'; diff --git a/plugins/quiz/controllers/choice_questions_controller.php b/plugins/quiz/controllers/choice_questions_controller.php index fd01e44..7ad0998 100755 --- a/plugins/quiz/controllers/choice_questions_controller.php +++ b/plugins/quiz/controllers/choice_questions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChoiceQuestionsController extends AppController { var $name = 'ChoiceQuestions'; @@ -112,4 +142,4 @@ class ChoiceQuestionsController extends AppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/controllers/components/quiz_holder.php b/plugins/quiz/controllers/components/quiz_holder.php index f789416..82cbe3d 100644 --- a/plugins/quiz/controllers/components/quiz_holder.php +++ b/plugins/quiz/controllers/components/quiz_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component', 'PlaceholderData'); class QuizHolderComponent extends PlaceholderDataComponent { @@ -16,4 +46,4 @@ class QuizHolderComponent extends PlaceholderDataComponent { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/controllers/matching_questions_controller.php b/plugins/quiz/controllers/matching_questions_controller.php index 78dfb20..615b3a3 100755 --- a/plugins/quiz/controllers/matching_questions_controller.php +++ b/plugins/quiz/controllers/matching_questions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingQuestionsController extends AppController { var $name = 'MatchingQuestions'; @@ -129,4 +159,4 @@ class MatchingQuestionsController extends AppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/controllers/ordering_questions_controller.php b/plugins/quiz/controllers/ordering_questions_controller.php index 7a9cf49..53ee6cc 100755 --- a/plugins/quiz/controllers/ordering_questions_controller.php +++ b/plugins/quiz/controllers/ordering_questions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class OrderingQuestionsController extends AppController { var $name = 'OrderingQuestions'; @@ -102,4 +132,4 @@ class OrderingQuestionsController extends AppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/controllers/quizzes_controller.php b/plugins/quiz/controllers/quizzes_controller.php index 253b773..55d11e4 100755 --- a/plugins/quiz/controllers/quizzes_controller.php +++ b/plugins/quiz/controllers/quizzes_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizzesController extends QuizAppController { var $name = 'Quizzes'; @@ -143,4 +173,4 @@ class QuizzesController extends QuizAppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/controllers/text_questions_controller.php b/plugins/quiz/controllers/text_questions_controller.php index 3686483..f4d0f24 100755 --- a/plugins/quiz/controllers/text_questions_controller.php +++ b/plugins/quiz/controllers/text_questions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class TextQuestionsController extends QuizAppController { var $name = 'TextQuestions'; diff --git a/plugins/quiz/models/behaviors/extend_associations.php b/plugins/quiz/models/behaviors/extend_associations.php index ceda5a7..b13c650 100755 --- a/plugins/quiz/models/behaviors/extend_associations.php +++ b/plugins/quiz/models/behaviors/extend_associations.php @@ -1,180 +1,210 @@ -<?php -/** - * Extend Associations Behavior - * Extends some basic add/delete function to the HABTM relationship - * in CakePHP. Also includes an unbindAll($exceptions=array()) for - * unbinding ALL associations on the fly. - * - * This code is loosely based on the concepts from: - * http://rossoft.wordpress.com/2006/08/23/working-with-habtm-associations/ - * - * @author Brandon Parise <brandon@parisemedia.com> - * @package CakePHP Behaviors - * - */ -class ExtendAssociationsBehavior extends ModelBehavior { - /** - * Model-specific settings - * @var array - */ - var $settings = array(); - - /** - * Setup - * Noething sp - * - * @param unknown_type $model - * @param unknown_type $settings - */ - function setup(&$model, $settings = array()) { - // no special setup required - $this->settings[$model->name] = $settings; - } - - /** - * Add an HABTM association - * - * @param Model $model - * @param string $assoc - * @param int $id - * @param mixed $assoc_ids - * @return boolean - */ - function habtmAdd(&$model, $assoc, $id, $assoc_ids) { - if(!is_array($assoc_ids)) { - $assoc_ids = array($assoc_ids); - } - - // make sure the association exists - if(isset($model->hasAndBelongsToMany[$assoc])) { - $data = $this->__habtmFind($model, $assoc, $id); - - // no data to update - if(empty($data)) { - return false; - } - - // important to use array_unique() since merging will add - // non-unique values to the array. - $data[$assoc][$assoc] = array_unique(am($data[$assoc][$assoc], $assoc_ids)); - return $model->save($data); - } - - // association doesn't exist, return false - return false; - } - - /** - * Delete an HABTM Association - * - * @param Model $model - * @param string $assoc - * @param int $id - * @param mixed $assoc_ids - * @return boolean - */ - function habtmDelete(&$model, $assoc, $id, $assoc_ids) { - if(!is_array($assoc_ids)) { - $assoc_ids = array($assoc_ids); - } - - // make sure the association exists - if(isset($model->hasAndBelongsToMany[$assoc])) { - $data = $this->__habtmFind($model, $assoc, $id); - - // no data to update - if(empty($data)) { - return false; - } - - // if the * (all) is set then we want to delete all - if($assoc_ids[0] == '*') { - $data[$assoc][$assoc] = array(); - } else { - // use array_diff to see what values we DONT want to delete - // which is the ones we want to re-save. - $data[$assoc][$assoc] = array_diff($data[$assoc][$assoc], $assoc_ids); - } - return $model->save($data); - } - - // association doesn't exist, return false - return false; - } - - /** - * Delete All HABTM Associations - * Just a nicer way to do easily delete all. - * - * @param Model $model - * @param string $assoc - * @param int $id - * @return boolean - */ - function habtmDeleteAll(&$model, $assoc, $id) { - return $this->habtmDelete($model, $assoc, $id, '*'); - } - - /** - * Find - * This method allows cake to do the dirty work to - * fetch the current HABTM association. - * - * @param Model $model - * @param string $assoc - * @param int $id - * @return array - */ - function __habtmFind(&$model, $assoc, $id) { - // temp holder for model-sensitive params - $tmp_recursive = $model->recursive; - $tmp_cacheQueries = $model->cacheQueries; - - $model->recursive = 1; - $model->cacheQueries = false; - - // unbind all models except the habtm association - $this->unbindAll($model, array('hasAndBelongsToMany' => array($assoc))); - $data = $model->find(array($model->name.'.'.$model->primaryKey => $id)); - - $model->recursive = $tmp_recursive; - $model->cacheQueries = $tmp_cacheQueries; - - if(!empty($data)) { - // use Set::extract to extract the id's ONLY of the $assoc - $data[$assoc] = array($assoc => Set::extract($data, $assoc.'.{n}.'.$model->primaryKey)); - } - - return $data; - } - - /** - * UnbindAll with Exceptions - * Allows you to quickly unbindAll of a model's - * associations with the exception of param 2. - * - * Usage: - * $this->Model->unbindAll(); // unbinds ALL - * $this->Model->unbindAll(array('hasMany' => array('Model2')) // unbind All except hasMany-Model2 - * - * @param Model $model - * @param array $exceptions - */ - function unbindAll(&$model, $exceptions = array()) { - $unbind = array(); - foreach($model->__associations as $type) { - foreach($model->{$type} as $assoc=>$assocData) { - // if the assoc is NOT in the exceptions list then - // add it to the list of models to be unbound. - if(@!in_array($assoc, $exceptions[$type])) { - $unbind[$type][] = $assoc; - } - } - } - // if we actually have models to unbind - if(count($unbind) > 0) { - $model->unbindModel($unbind); - } - } -} -?> +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ +/** + * Extend Associations Behavior + * Extends some basic add/delete function to the HABTM relationship + * in CakePHP. Also includes an unbindAll($exceptions=array()) for + * unbinding ALL associations on the fly. + * + * This code is loosely based on the concepts from: + * http://rossoft.wordpress.com/2006/08/23/working-with-habtm-associations/ + * + * @author Brandon Parise <brandon@parisemedia.com> + * @package CakePHP Behaviors + * + */ +class ExtendAssociationsBehavior extends ModelBehavior { + /** + * Model-specific settings + * @var array + */ + var $settings = array(); + + /** + * Setup + * Noething sp + * + * @param unknown_type $model + * @param unknown_type $settings + */ + function setup(&$model, $settings = array()) { + // no special setup required + $this->settings[$model->name] = $settings; + } + + /** + * Add an HABTM association + * + * @param Model $model + * @param string $assoc + * @param int $id + * @param mixed $assoc_ids + * @return boolean + */ + function habtmAdd(&$model, $assoc, $id, $assoc_ids) { + if(!is_array($assoc_ids)) { + $assoc_ids = array($assoc_ids); + } + + // make sure the association exists + if(isset($model->hasAndBelongsToMany[$assoc])) { + $data = $this->__habtmFind($model, $assoc, $id); + + // no data to update + if(empty($data)) { + return false; + } + + // important to use array_unique() since merging will add + // non-unique values to the array. + $data[$assoc][$assoc] = array_unique(am($data[$assoc][$assoc], $assoc_ids)); + return $model->save($data); + } + + // association doesn't exist, return false + return false; + } + + /** + * Delete an HABTM Association + * + * @param Model $model + * @param string $assoc + * @param int $id + * @param mixed $assoc_ids + * @return boolean + */ + function habtmDelete(&$model, $assoc, $id, $assoc_ids) { + if(!is_array($assoc_ids)) { + $assoc_ids = array($assoc_ids); + } + + // make sure the association exists + if(isset($model->hasAndBelongsToMany[$assoc])) { + $data = $this->__habtmFind($model, $assoc, $id); + + // no data to update + if(empty($data)) { + return false; + } + + // if the * (all) is set then we want to delete all + if($assoc_ids[0] == '*') { + $data[$assoc][$assoc] = array(); + } else { + // use array_diff to see what values we DONT want to delete + // which is the ones we want to re-save. + $data[$assoc][$assoc] = array_diff($data[$assoc][$assoc], $assoc_ids); + } + return $model->save($data); + } + + // association doesn't exist, return false + return false; + } + + /** + * Delete All HABTM Associations + * Just a nicer way to do easily delete all. + * + * @param Model $model + * @param string $assoc + * @param int $id + * @return boolean + */ + function habtmDeleteAll(&$model, $assoc, $id) { + return $this->habtmDelete($model, $assoc, $id, '*'); + } + + /** + * Find + * This method allows cake to do the dirty work to + * fetch the current HABTM association. + * + * @param Model $model + * @param string $assoc + * @param int $id + * @return array + */ + function __habtmFind(&$model, $assoc, $id) { + // temp holder for model-sensitive params + $tmp_recursive = $model->recursive; + $tmp_cacheQueries = $model->cacheQueries; + + $model->recursive = 1; + $model->cacheQueries = false; + + // unbind all models except the habtm association + $this->unbindAll($model, array('hasAndBelongsToMany' => array($assoc))); + $data = $model->find(array($model->name.'.'.$model->primaryKey => $id)); + + $model->recursive = $tmp_recursive; + $model->cacheQueries = $tmp_cacheQueries; + + if(!empty($data)) { + // use Set::extract to extract the id's ONLY of the $assoc + $data[$assoc] = array($assoc => Set::extract($data, $assoc.'.{n}.'.$model->primaryKey)); + } + + return $data; + } + + /** + * UnbindAll with Exceptions + * Allows you to quickly unbindAll of a model's + * associations with the exception of param 2. + * + * Usage: + * $this->Model->unbindAll(); // unbinds ALL + * $this->Model->unbindAll(array('hasMany' => array('Model2')) // unbind All except hasMany-Model2 + * + * @param Model $model + * @param array $exceptions + */ + function unbindAll(&$model, $exceptions = array()) { + $unbind = array(); + foreach($model->__associations as $type) { + foreach($model->{$type} as $assoc=>$assocData) { + // if the assoc is NOT in the exceptions list then + // add it to the list of models to be unbound. + if(@!in_array($assoc, $exceptions[$type])) { + $unbind[$type][] = $assoc; + } + } + } + // if we actually have models to unbind + if(count($unbind) > 0) { + $model->unbindModel($unbind); + } + } +} +?> diff --git a/plugins/quiz/models/choice_choice.php b/plugins/quiz/models/choice_choice.php index 81de69c..50d440f 100755 --- a/plugins/quiz/models/choice_choice.php +++ b/plugins/quiz/models/choice_choice.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChoiceChoice extends QuizAppModel { var $name = 'ChoiceChoice'; @@ -40,4 +70,4 @@ class ChoiceChoice extends QuizAppModel { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/choice_question.php b/plugins/quiz/models/choice_question.php index fa3fae2..226902f 100755 --- a/plugins/quiz/models/choice_question.php +++ b/plugins/quiz/models/choice_question.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChoiceQuestion extends QuizAppModel { var $name = 'ChoiceQuestion'; @@ -127,4 +157,4 @@ class ChoiceQuestion extends QuizAppModel { return (intval($this->data['ChoiceQuestion']['num_correct']) >= intval($this->data['ChoiceQuestion']['min_choices'])); } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/matching_choice.php b/plugins/quiz/models/matching_choice.php index cea559f..e30b926 100755 --- a/plugins/quiz/models/matching_choice.php +++ b/plugins/quiz/models/matching_choice.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingChoice extends QuizAppModel { var $name = 'MatchingChoice'; diff --git a/plugins/quiz/models/matching_question.php b/plugins/quiz/models/matching_question.php index afa8ea8..e5ac6fb 100755 --- a/plugins/quiz/models/matching_question.php +++ b/plugins/quiz/models/matching_question.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingQuestion extends QuizAppModel { var $name = 'MatchingQuestion'; @@ -155,4 +185,4 @@ class MatchingQuestion extends QuizAppModel { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/matching_question_choices.php b/plugins/quiz/models/matching_question_choices.php index 7b7d4ac..633921e 100644 --- a/plugins/quiz/models/matching_question_choices.php +++ b/plugins/quiz/models/matching_question_choices.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingQuestionChoices extends QuizAppModel { var $name = 'MatchingQuestionChoices'; @@ -8,4 +38,4 @@ class MatchingQuestionChoices extends QuizAppModel { } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/ordering_choice.php b/plugins/quiz/models/ordering_choice.php index 826eb8e..d655bfd 100755 --- a/plugins/quiz/models/ordering_choice.php +++ b/plugins/quiz/models/ordering_choice.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class OrderingChoice extends QuizAppModel { var $name = 'OrderingChoice'; diff --git a/plugins/quiz/models/ordering_question.php b/plugins/quiz/models/ordering_question.php index 6ae7ead..cbf88e4 100755 --- a/plugins/quiz/models/ordering_question.php +++ b/plugins/quiz/models/ordering_question.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class OrderingQuestion extends QuizAppModel { var $name = 'OrderingQuestion'; @@ -182,4 +212,4 @@ class OrderingQuestion extends QuizAppModel { return intval($this->data['OrderingQuestion']['min_choices'])<=intval($this->data['OrderingQuestion']['max_choices']); } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/quiz.php b/plugins/quiz/models/quiz.php index 6356804..a553be3 100755 --- a/plugins/quiz/models/quiz.php +++ b/plugins/quiz/models/quiz.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Quiz extends QuizAppModel { var $name = 'Quiz'; diff --git a/plugins/quiz/models/quiz_association.php b/plugins/quiz/models/quiz_association.php index e3871d8..67891b3 100644 --- a/plugins/quiz/models/quiz_association.php +++ b/plugins/quiz/models/quiz_association.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizAssociation extends QuizAppModel { var $name = 'QuizAssociation'; var $belongsTo = array( @@ -7,4 +37,4 @@ class QuizAssociation extends QuizAppModel { } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/quiz_choice.php b/plugins/quiz/models/quiz_choice.php index da00105..e431310 100644 --- a/plugins/quiz/models/quiz_choice.php +++ b/plugins/quiz/models/quiz_choice.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizChoice extends QuizAppModel { var $name = 'QuizChoice'; var $belongsTo = array( @@ -7,4 +37,4 @@ class QuizChoice extends QuizAppModel { } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/quiz_matching.php b/plugins/quiz/models/quiz_matching.php index 8fd18c3..f9d8b7b 100644 --- a/plugins/quiz/models/quiz_matching.php +++ b/plugins/quiz/models/quiz_matching.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizMatching extends QuizAppModel { var $name = 'QuizMatching'; var $belongsTo = array( @@ -7,4 +37,4 @@ class QuizMatching extends QuizAppModel { } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/models/text_question.php b/plugins/quiz/models/text_question.php index 95f2bb3..64b3970 100755 --- a/plugins/quiz/models/text_question.php +++ b/plugins/quiz/models/text_question.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class TextQuestion extends QuizAppModel { var $name = 'TextQuestion'; diff --git a/plugins/quiz/quiz_app_controller.php b/plugins/quiz/quiz_app_controller.php index 6a78e30..330501b 100755 --- a/plugins/quiz/quiz_app_controller.php +++ b/plugins/quiz/quiz_app_controller.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizAppController extends AppController { var $helpers = array('Text'); } diff --git a/plugins/quiz/quiz_app_model.php b/plugins/quiz/quiz_app_model.php index 43edbd5..707455e 100755 --- a/plugins/quiz/quiz_app_model.php +++ b/plugins/quiz/quiz_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizAppModel extends AppModel { } ?> diff --git a/plugins/quiz/tests/cases/models/choiceChoice.test.php b/plugins/quiz/tests/cases/models/choiceChoice.test.php index 882ba27..20df054 100755 --- a/plugins/quiz/tests/cases/models/choiceChoice.test.php +++ b/plugins/quiz/tests/cases/models/choiceChoice.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.ChoiceChoice'); @@ -21,4 +51,4 @@ class ChoiceChoiceTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/cases/models/choiceQuestion.test.php b/plugins/quiz/tests/cases/models/choiceQuestion.test.php index 0a80b1f..56ed26b 100755 --- a/plugins/quiz/tests/cases/models/choiceQuestion.test.php +++ b/plugins/quiz/tests/cases/models/choiceQuestion.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.ChoiceQuestion'); @@ -21,4 +51,4 @@ class ChoiceQuestionTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/cases/models/matchingChoice.test.php b/plugins/quiz/tests/cases/models/matchingChoice.test.php index 1762088..b0f51c0 100755 --- a/plugins/quiz/tests/cases/models/matchingChoice.test.php +++ b/plugins/quiz/tests/cases/models/matchingChoice.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.MatchingChoice'); @@ -21,4 +51,4 @@ class MatchingChoiceTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/cases/models/matchingQuestion.test.php b/plugins/quiz/tests/cases/models/matchingQuestion.test.php index 0875349..9145d20 100755 --- a/plugins/quiz/tests/cases/models/matchingQuestion.test.php +++ b/plugins/quiz/tests/cases/models/matchingQuestion.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.MatchingQuestion'); @@ -23,4 +53,4 @@ class MatchingQuestionTestCase extends CakeTestCase { } } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/cases/models/orderingChoice.test.php b/plugins/quiz/tests/cases/models/orderingChoice.test.php index 9a39f54..b06b3e6 100755 --- a/plugins/quiz/tests/cases/models/orderingChoice.test.php +++ b/plugins/quiz/tests/cases/models/orderingChoice.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.OrderingChoice'); @@ -21,4 +51,4 @@ class OrderingChoiceTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/cases/models/orderingQuestion.test.php b/plugins/quiz/tests/cases/models/orderingQuestion.test.php index a96bc68..d018aae 100755 --- a/plugins/quiz/tests/cases/models/orderingQuestion.test.php +++ b/plugins/quiz/tests/cases/models/orderingQuestion.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.OrderingQuestion'); @@ -21,4 +51,4 @@ class OrderingQuestionTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/cases/models/quiz.test.php b/plugins/quiz/tests/cases/models/quiz.test.php index 7c5e5b8..0177558 100755 --- a/plugins/quiz/tests/cases/models/quiz.test.php +++ b/plugins/quiz/tests/cases/models/quiz.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'quiz.Quiz'); class TestQuiz extends Quiz { diff --git a/plugins/quiz/tests/cases/models/textQuestion.test.php b/plugins/quiz/tests/cases/models/textQuestion.test.php index ba7bc22..b9319d9 100755 --- a/plugins/quiz/tests/cases/models/textQuestion.test.php +++ b/plugins/quiz/tests/cases/models/textQuestion.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('model', 'quiz.TextQuestion'); @@ -21,4 +51,4 @@ class TextQuestionTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/fixtures/association_choice_fixture.php b/plugins/quiz/tests/fixtures/association_choice_fixture.php index 1200344..1c5295c 100644 --- a/plugins/quiz/tests/fixtures/association_choice_fixture.php +++ b/plugins/quiz/tests/fixtures/association_choice_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class AssociationChoiceFixture extends CakeTestFixture { var $name = 'QuizAssociationChoice'; var $import = array('model' => 'AssociationChoice'); diff --git a/plugins/quiz/tests/fixtures/association_question_fixture.php b/plugins/quiz/tests/fixtures/association_question_fixture.php index 7467f8c..419bfe2 100644 --- a/plugins/quiz/tests/fixtures/association_question_fixture.php +++ b/plugins/quiz/tests/fixtures/association_question_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class AssociationQuestionFixture extends CakeTestFixture { var $name = 'QuizAssociationQuestion'; var $import = array('model' => 'AssociationQuestion'); diff --git a/plugins/quiz/tests/fixtures/choice_question_fixture.php b/plugins/quiz/tests/fixtures/choice_question_fixture.php index 837eb7a..baca9c5 100644 --- a/plugins/quiz/tests/fixtures/choice_question_fixture.php +++ b/plugins/quiz/tests/fixtures/choice_question_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChoiceQuestionFixture extends CakeTestFixture { var $name = 'ChoiceQuestion'; var $table = 'quiz_choice_questions'; diff --git a/plugins/quiz/tests/fixtures/matching_choice_fixture.php b/plugins/quiz/tests/fixtures/matching_choice_fixture.php index e98f864..74510c4 100644 --- a/plugins/quiz/tests/fixtures/matching_choice_fixture.php +++ b/plugins/quiz/tests/fixtures/matching_choice_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingChoiceFixture extends CakeTestFixture { var $name = 'QuizMatchingChoice'; var $import = array('model' => 'MatchingChoice'); diff --git a/plugins/quiz/tests/fixtures/matching_question_choices_fixture.php b/plugins/quiz/tests/fixtures/matching_question_choices_fixture.php index 0ed1915..2aa9249 100644 --- a/plugins/quiz/tests/fixtures/matching_question_choices_fixture.php +++ b/plugins/quiz/tests/fixtures/matching_question_choices_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingQuestionChoicesFixture extends CakeTestFixture { var $name = 'QuizMatchingChoicesMatchingQuestion'; var $import = array('table' => 'quiz_matching_choices_matching_questions'); @@ -10,4 +40,4 @@ class MatchingQuestionChoicesFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/fixtures/matching_question_fixture.php b/plugins/quiz/tests/fixtures/matching_question_fixture.php index 03d6b40..a09fcbf 100644 --- a/plugins/quiz/tests/fixtures/matching_question_fixture.php +++ b/plugins/quiz/tests/fixtures/matching_question_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MatchingQuestionFixture extends CakeTestFixture { var $name = 'QuizMatchingQuestion'; var $table = 'quiz_matching_questions'; diff --git a/plugins/quiz/tests/fixtures/ordering_question_fixture.php b/plugins/quiz/tests/fixtures/ordering_question_fixture.php index 47c3def..dcc62b4 100644 --- a/plugins/quiz/tests/fixtures/ordering_question_fixture.php +++ b/plugins/quiz/tests/fixtures/ordering_question_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class OrderingQuestionFixture extends CakeTestFixture { var $name = 'QuizOrderingQuestion'; var $table = 'quiz_ordering_questions'; diff --git a/plugins/quiz/tests/fixtures/quiz_association_fixture.php b/plugins/quiz/tests/fixtures/quiz_association_fixture.php index cdbe56f..0aa9c60 100644 --- a/plugins/quiz/tests/fixtures/quiz_association_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_association_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizAssociationFixture extends CakeTestFixture { var $name = 'QuizAssociationQuestionsQuizzes'; var $import = array('table' => 'quiz_association_questions_quizzes'); diff --git a/plugins/quiz/tests/fixtures/quiz_choice_fixture.php b/plugins/quiz/tests/fixtures/quiz_choice_fixture.php index 45e5a9c..50c4618 100644 --- a/plugins/quiz/tests/fixtures/quiz_choice_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_choice_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizChoiceFixture extends CakeTestFixture { var $name = 'QuizChoiceQuestionsQuizzes'; var $import = array('table' => 'quiz_choice_questions_quizzes'); diff --git a/plugins/quiz/tests/fixtures/quiz_cloze_fixture.php b/plugins/quiz/tests/fixtures/quiz_cloze_fixture.php index fd16b3e..60cd5ac 100644 --- a/plugins/quiz/tests/fixtures/quiz_cloze_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_cloze_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizClozeFixture extends CakeTestFixture { var $name = 'QuizClozeQuestionsQuizzes'; var $import = array('table' => 'quiz_cloze_questions_quizzes'); @@ -9,4 +39,4 @@ class QuizClozeFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/fixtures/quiz_fixture.php b/plugins/quiz/tests/fixtures/quiz_fixture.php index f47cc55..62f0329 100644 --- a/plugins/quiz/tests/fixtures/quiz_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizFixture extends CakeTestFixture { var $name = 'Quiz'; var $table = 'quiz_quizzes'; diff --git a/plugins/quiz/tests/fixtures/quiz_matching_fixture.php b/plugins/quiz/tests/fixtures/quiz_matching_fixture.php index a2447fc..90e997a 100644 --- a/plugins/quiz/tests/fixtures/quiz_matching_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_matching_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizMatchingFixture extends CakeTestFixture { var $name = 'QuizMatchingQuestionsQuizzes'; var $import = array('table' => 'quiz_matching_questions_quizzes'); @@ -9,4 +39,4 @@ class QuizMatchingFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/fixtures/quiz_ordering_fixture.php b/plugins/quiz/tests/fixtures/quiz_ordering_fixture.php index f0b382c..d042eb2 100644 --- a/plugins/quiz/tests/fixtures/quiz_ordering_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_ordering_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizOrderingFixture extends CakeTestFixture { var $name = 'QuizOrderingQuestionsQuizzes'; var $import = array('table' => 'quiz_ordering_questions_quizzes'); @@ -9,4 +39,4 @@ class QuizOrderingFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/fixtures/quiz_text_fixture.php b/plugins/quiz/tests/fixtures/quiz_text_fixture.php index 94c194b..8f17ec6 100644 --- a/plugins/quiz/tests/fixtures/quiz_text_fixture.php +++ b/plugins/quiz/tests/fixtures/quiz_text_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class QuizTextFixture extends CakeTestFixture { var $name = 'QuizTextQuestionsQuizzes'; var $import = array('table' => 'quiz_text_questions_quizzes'); @@ -9,4 +39,4 @@ class QuizTextFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/plugins/quiz/tests/fixtures/text_question_fixture.php b/plugins/quiz/tests/fixtures/text_question_fixture.php index a156b43..a68fc26 100644 --- a/plugins/quiz/tests/fixtures/text_question_fixture.php +++ b/plugins/quiz/tests/fixtures/text_question_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class TextQuestionFixture extends CakeTestFixture { var $name = 'TextQuestion'; var $table = 'quiz_text_questions'; diff --git a/plugins/scorm/config/description.php b/plugins/scorm/config/description.php index 1f8a4c9..d3aef8d 100644 --- a/plugins/scorm/config/description.php +++ b/plugins/scorm/config/description.php @@ -1,5 +1,35 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ Configure::write('Scorm.description','Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer elit sapien, scelerisque vel, euismod vel, faucibus at, dolor. Ut vehicula lorem vel nibh. Nam sed elit id sapien fringilla fermentum. Nam mattis. Proin egestas cursus justo. Nullam et odio a erat condimentum porta. Phasellus ipsum eros, blandit nec, sollicitudin a, facilisis nec, lacus. In sed mi. Praesent mauris enim, consectetuer ut, fringilla vitae, commodo et, magna. Sed ac arcu ac turpis gravida fringilla. '); Configure::write('Scorm.title','Lessons'); Configure::write('Scorm.type',array('tool')); -?> \ No newline at end of file +?> diff --git a/plugins/scorm/controllers/components/scorm_holder.php b/plugins/scorm/controllers/components/scorm_holder.php index e76e417..2897f21 100644 --- a/plugins/scorm/controllers/components/scorm_holder.php +++ b/plugins/scorm/controllers/components/scorm_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component', 'PlaceholderData'); class ScormHolderComponent extends PlaceholderDataComponent { @@ -13,4 +43,4 @@ class ScormHolderComponent extends PlaceholderDataComponent { return false; } } -?> \ No newline at end of file +?> diff --git a/plugins/scorm/controllers/scorm_attendee_trackings_controller.php b/plugins/scorm/controllers/scorm_attendee_trackings_controller.php index 1c01b8f..178801a 100644 --- a/plugins/scorm/controllers/scorm_attendee_trackings_controller.php +++ b/plugins/scorm/controllers/scorm_attendee_trackings_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScormAttendeeTrackingsController extends ScormAppController { var $name = 'ScormAttendeeTrackings'; diff --git a/plugins/scorm/controllers/scorms_controller.php b/plugins/scorm/controllers/scorms_controller.php index 291695f..df239f5 100644 --- a/plugins/scorm/controllers/scorms_controller.php +++ b/plugins/scorm/controllers/scorms_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ uses('Folder'); class ScormsController extends ScormAppController { diff --git a/plugins/scorm/controllers/scos_controller.php b/plugins/scorm/controllers/scos_controller.php index 04345a1..0159ea1 100644 --- a/plugins/scorm/controllers/scos_controller.php +++ b/plugins/scorm/controllers/scos_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScosController extends ScormAppController { var $name = 'Scos'; diff --git a/plugins/scorm/models/choice_consideration.php b/plugins/scorm/models/choice_consideration.php index f4d6f89..039b2c0 100644 --- a/plugins/scorm/models/choice_consideration.php +++ b/plugins/scorm/models/choice_consideration.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChoiceConsideration extends ScormAppModel { var $name = 'ChoiceConsideration'; diff --git a/plugins/scorm/models/condition.php b/plugins/scorm/models/condition.php index fb98d1e..5dbaad3 100644 --- a/plugins/scorm/models/condition.php +++ b/plugins/scorm/models/condition.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Condition extends ScormAppModel { var $name = 'Condition'; diff --git a/plugins/scorm/models/control_mode.php b/plugins/scorm/models/control_mode.php index d07fc77..1298b4b 100644 --- a/plugins/scorm/models/control_mode.php +++ b/plugins/scorm/models/control_mode.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ControlMode extends ScormAppModel { var $name = 'ControlMode'; diff --git a/plugins/scorm/models/delivery_control.php b/plugins/scorm/models/delivery_control.php index 7b3b62c..3af270c 100644 --- a/plugins/scorm/models/delivery_control.php +++ b/plugins/scorm/models/delivery_control.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DeliveryControl extends ScormAppModel { var $name = 'DeliveryControl'; diff --git a/plugins/scorm/models/map_info.php b/plugins/scorm/models/map_info.php index ef34e9b..2eb2c6f 100644 --- a/plugins/scorm/models/map_info.php +++ b/plugins/scorm/models/map_info.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MapInfo extends ScormAppModel { var $name = 'MapInfo'; diff --git a/plugins/scorm/models/objective.php b/plugins/scorm/models/objective.php index 4ad078e..176dcea 100644 --- a/plugins/scorm/models/objective.php +++ b/plugins/scorm/models/objective.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Objective extends ScormAppModel { var $name = 'Objective'; diff --git a/plugins/scorm/models/randomization.php b/plugins/scorm/models/randomization.php index 14d57ba..b0a58ba 100644 --- a/plugins/scorm/models/randomization.php +++ b/plugins/scorm/models/randomization.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Randomization extends ScormAppModel { var $name = 'Randomization'; diff --git a/plugins/scorm/models/rollup.php b/plugins/scorm/models/rollup.php index b41bf07..99e9221 100644 --- a/plugins/scorm/models/rollup.php +++ b/plugins/scorm/models/rollup.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Rollup extends ScormAppModel { var $name = 'Rollup'; var $useTable = 'scorm_rollups'; diff --git a/plugins/scorm/models/rollup_consideration.php b/plugins/scorm/models/rollup_consideration.php index c88981c..103efe1 100644 --- a/plugins/scorm/models/rollup_consideration.php +++ b/plugins/scorm/models/rollup_consideration.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RollupConsideration extends ScormAppModel { var $name = 'RollupConsideration'; diff --git a/plugins/scorm/models/rule.php b/plugins/scorm/models/rule.php index ef548f9..aceb382 100644 --- a/plugins/scorm/models/rule.php +++ b/plugins/scorm/models/rule.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Rule extends ScormAppModel { var $name = 'Rule'; diff --git a/plugins/scorm/models/sco.php b/plugins/scorm/models/sco.php index 93a3c3e..3883129 100644 --- a/plugins/scorm/models/sco.php +++ b/plugins/scorm/models/sco.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Sco extends ScormAppModel { var $name = 'Sco'; diff --git a/plugins/scorm/models/sco_presentation.php b/plugins/scorm/models/sco_presentation.php index 5afa2b2..1d38802 100644 --- a/plugins/scorm/models/sco_presentation.php +++ b/plugins/scorm/models/sco_presentation.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScoPresentation extends ScormAppModel { var $name = 'ScoPresentation'; diff --git a/plugins/scorm/models/scorm.php b/plugins/scorm/models/scorm.php index 823356d..5326c5f 100644 --- a/plugins/scorm/models/scorm.php +++ b/plugins/scorm/models/scorm.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Core','Xml'); App::import('Core','File'); class Scorm extends ScormAppModel { diff --git a/plugins/scorm/models/scorm_attendee_tracking.php b/plugins/scorm/models/scorm_attendee_tracking.php index 01a6397..912f145 100644 --- a/plugins/scorm/models/scorm_attendee_tracking.php +++ b/plugins/scorm/models/scorm_attendee_tracking.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScormAttendeeTracking extends ScormAppModel { var $name = 'ScormAttendeeTracking'; diff --git a/plugins/scorm/scorm_app_controller.php b/plugins/scorm/scorm_app_controller.php index f4a8e37..ce16bc7 100644 --- a/plugins/scorm/scorm_app_controller.php +++ b/plugins/scorm/scorm_app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScormAppController extends AppController { var $helpers = array('Javascript'); diff --git a/plugins/scorm/scorm_app_model.php b/plugins/scorm/scorm_app_model.php index 6136460..ada8229 100644 --- a/plugins/scorm/scorm_app_model.php +++ b/plugins/scorm/scorm_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ define('IS_BOOLEAN', '/(true|false)/'); class ScormAppModel extends AppModel { diff --git a/plugins/scorm/tests/cases/models/choice_consideration.test.php b/plugins/scorm/tests/cases/models/choice_consideration.test.php index 32c6ae0..d49b4af 100644 --- a/plugins/scorm/tests/cases/models/choice_consideration.test.php +++ b/plugins/scorm/tests/cases/models/choice_consideration.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'Scorm.ChoiceConsideration'); diff --git a/plugins/scorm/tests/cases/models/condition.test.php b/plugins/scorm/tests/cases/models/condition.test.php index 4dcf114..f8d49a4 100644 --- a/plugins/scorm/tests/cases/models/condition.test.php +++ b/plugins/scorm/tests/cases/models/condition.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.Condition'); diff --git a/plugins/scorm/tests/cases/models/control_mode.test.php b/plugins/scorm/tests/cases/models/control_mode.test.php index c519c8a..adafadc 100644 --- a/plugins/scorm/tests/cases/models/control_mode.test.php +++ b/plugins/scorm/tests/cases/models/control_mode.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.ControlMode'); class TestControlMode extends ControlMode { diff --git a/plugins/scorm/tests/cases/models/delivery_control.test.php b/plugins/scorm/tests/cases/models/delivery_control.test.php index 30cb16a..0d6fd6d 100644 --- a/plugins/scorm/tests/cases/models/delivery_control.test.php +++ b/plugins/scorm/tests/cases/models/delivery_control.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.DeliveryControl'); class TestDeliveryControl extends DeliveryControl { diff --git a/plugins/scorm/tests/cases/models/map_info.test.php b/plugins/scorm/tests/cases/models/map_info.test.php index 70dceb1..08a2b2f 100644 --- a/plugins/scorm/tests/cases/models/map_info.test.php +++ b/plugins/scorm/tests/cases/models/map_info.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.MapInfo'); diff --git a/plugins/scorm/tests/cases/models/objective.test.php b/plugins/scorm/tests/cases/models/objective.test.php index f2981e6..85f4353 100644 --- a/plugins/scorm/tests/cases/models/objective.test.php +++ b/plugins/scorm/tests/cases/models/objective.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.Objective'); diff --git a/plugins/scorm/tests/cases/models/randomization.test.php b/plugins/scorm/tests/cases/models/randomization.test.php index 4085502..9e375fa 100644 --- a/plugins/scorm/tests/cases/models/randomization.test.php +++ b/plugins/scorm/tests/cases/models/randomization.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.Randomization'); diff --git a/plugins/scorm/tests/cases/models/rollup.test.php b/plugins/scorm/tests/cases/models/rollup.test.php index fe9a9c4..3c6465d 100644 --- a/plugins/scorm/tests/cases/models/rollup.test.php +++ b/plugins/scorm/tests/cases/models/rollup.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.Rollup'); diff --git a/plugins/scorm/tests/cases/models/rollup_consideration.test.php b/plugins/scorm/tests/cases/models/rollup_consideration.test.php index bd7d776..00baa1e 100644 --- a/plugins/scorm/tests/cases/models/rollup_consideration.test.php +++ b/plugins/scorm/tests/cases/models/rollup_consideration.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.RollupConsideration'); class TestRollupConsideration extends RollupConsideration { diff --git a/plugins/scorm/tests/cases/models/rule.test.php b/plugins/scorm/tests/cases/models/rule.test.php index 94cdaf3..dc16221 100644 --- a/plugins/scorm/tests/cases/models/rule.test.php +++ b/plugins/scorm/tests/cases/models/rule.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model','scorm.Rule'); diff --git a/plugins/scorm/tests/cases/models/sco.test.php b/plugins/scorm/tests/cases/models/sco.test.php index e9ba203..c3759e8 100644 --- a/plugins/scorm/tests/cases/models/sco.test.php +++ b/plugins/scorm/tests/cases/models/sco.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.Sco'); diff --git a/plugins/scorm/tests/cases/models/sco_presentation.test.php b/plugins/scorm/tests/cases/models/sco_presentation.test.php index c273a32..6b8a381 100644 --- a/plugins/scorm/tests/cases/models/sco_presentation.test.php +++ b/plugins/scorm/tests/cases/models/sco_presentation.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.ScoPresentation'); class TestScoPresentation extends ScoPresentation { diff --git a/plugins/scorm/tests/cases/models/scorm.test.php b/plugins/scorm/tests/cases/models/scorm.test.php index 3f48ef8..bbd3cbc 100644 --- a/plugins/scorm/tests/cases/models/scorm.test.php +++ b/plugins/scorm/tests/cases/models/scorm.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'scorm.Scorm'); class TestScorm extends Scorm { diff --git a/plugins/scorm/tests/fixtures/choice_consideration_fixture.php b/plugins/scorm/tests/fixtures/choice_consideration_fixture.php index 52fa6d9..afb160e 100644 --- a/plugins/scorm/tests/fixtures/choice_consideration_fixture.php +++ b/plugins/scorm/tests/fixtures/choice_consideration_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ChoiceConsiderationFixture extends CakeTestFixture { var $name = 'ScormChoiceConsideration'; var $useTable = 'scorm_choice_considerations'; diff --git a/plugins/scorm/tests/fixtures/condition_fixture.php b/plugins/scorm/tests/fixtures/condition_fixture.php index fbc0464..ec2853b 100644 --- a/plugins/scorm/tests/fixtures/condition_fixture.php +++ b/plugins/scorm/tests/fixtures/condition_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ConditionFixture extends CakeTestFixture { var $name = 'Condition'; var $table = 'scorm_conditions'; diff --git a/plugins/scorm/tests/fixtures/control_mode_fixture.php b/plugins/scorm/tests/fixtures/control_mode_fixture.php index 6b3b87b..41c4d8a 100644 --- a/plugins/scorm/tests/fixtures/control_mode_fixture.php +++ b/plugins/scorm/tests/fixtures/control_mode_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ControlModeFixture extends CakeTestFixture { var $name = 'ControlMode'; var $table = 'scorm_control_modes'; diff --git a/plugins/scorm/tests/fixtures/delivery_control_fixture.php b/plugins/scorm/tests/fixtures/delivery_control_fixture.php index c8baf1e..ca8c3bd 100644 --- a/plugins/scorm/tests/fixtures/delivery_control_fixture.php +++ b/plugins/scorm/tests/fixtures/delivery_control_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DeliveryControlFixture extends CakeTestFixture { var $name = 'ScormDeliveryControl'; var $table = 'scorm_delivery_controls'; diff --git a/plugins/scorm/tests/fixtures/map_info_fixture.php b/plugins/scorm/tests/fixtures/map_info_fixture.php index 8f36a85..5e9063c 100644 --- a/plugins/scorm/tests/fixtures/map_info_fixture.php +++ b/plugins/scorm/tests/fixtures/map_info_fixture.php @@ -1,5 +1,34 @@ - <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class MapInfoFixture extends CakeTestFixture { var $name = 'ScormMapInfo'; var $table = 'scorm_map_infos'; diff --git a/plugins/scorm/tests/fixtures/objective_fixture.php b/plugins/scorm/tests/fixtures/objective_fixture.php index a0c10c2..db977ba 100644 --- a/plugins/scorm/tests/fixtures/objective_fixture.php +++ b/plugins/scorm/tests/fixtures/objective_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ //loadModel('scorm.Objective'); class ObjectiveFixture extends CakeTestFixture { var $name = 'ScormObjective'; diff --git a/plugins/scorm/tests/fixtures/randomization_fixture.php b/plugins/scorm/tests/fixtures/randomization_fixture.php index 19828dd..c719ab3 100644 --- a/plugins/scorm/tests/fixtures/randomization_fixture.php +++ b/plugins/scorm/tests/fixtures/randomization_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RandomizationFixture extends CakeTestFixture { var $name = 'ScormRandomization'; var $table = 'scorm_randomizations'; diff --git a/plugins/scorm/tests/fixtures/rollup_consideration_fixture.php b/plugins/scorm/tests/fixtures/rollup_consideration_fixture.php index 3b4d2b5..2927751 100644 --- a/plugins/scorm/tests/fixtures/rollup_consideration_fixture.php +++ b/plugins/scorm/tests/fixtures/rollup_consideration_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RollupConsiderationFixture extends CakeTestFixture { var $name = 'ScormRollupConsideration'; var $table = 'scorm_rollup_considerations'; diff --git a/plugins/scorm/tests/fixtures/rollup_fixture.php b/plugins/scorm/tests/fixtures/rollup_fixture.php index 4cca8a5..b8cda41 100644 --- a/plugins/scorm/tests/fixtures/rollup_fixture.php +++ b/plugins/scorm/tests/fixtures/rollup_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RollupFixture extends CakeTestFixture { var $name = 'Rollup'; var $table = 'scorm_rollups'; diff --git a/plugins/scorm/tests/fixtures/rule_fixture.php b/plugins/scorm/tests/fixtures/rule_fixture.php index e7ee6b6..7f08a2d 100644 --- a/plugins/scorm/tests/fixtures/rule_fixture.php +++ b/plugins/scorm/tests/fixtures/rule_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RuleFixture extends CakeTestFixture { var $name = 'Rule'; var $table = 'scorm_rules'; diff --git a/plugins/scorm/tests/fixtures/sco_fixture.php b/plugins/scorm/tests/fixtures/sco_fixture.php index bec4593..e852133 100644 --- a/plugins/scorm/tests/fixtures/sco_fixture.php +++ b/plugins/scorm/tests/fixtures/sco_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScoFixture extends CakeTestFixture { var $name = 'ScormSco'; var $table = 'scorm_scos'; diff --git a/plugins/scorm/tests/fixtures/sco_presentation_fixture.php b/plugins/scorm/tests/fixtures/sco_presentation_fixture.php index 30a8beb..fd28214 100644 --- a/plugins/scorm/tests/fixtures/sco_presentation_fixture.php +++ b/plugins/scorm/tests/fixtures/sco_presentation_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScoPresentationFixture extends CakeTestFixture { var $name = 'ScoPresentation'; var $table = 'scorm_sco_presentations'; diff --git a/plugins/scorm/tests/fixtures/scorm_fixture.php b/plugins/scorm/tests/fixtures/scorm_fixture.php index 70ce064..77bd7e5 100644 --- a/plugins/scorm/tests/fixtures/scorm_fixture.php +++ b/plugins/scorm/tests/fixtures/scorm_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ScormFixture extends CakeTestFixture { var $name = 'Scorm'; var $table = 'scorm_scorms'; diff --git a/plugins/scorm/tests/groups/models.group.php b/plugins/scorm/tests/groups/models.group.php index bb30fe0..e1d3fdd 100644 --- a/plugins/scorm/tests/groups/models.group.php +++ b/plugins/scorm/tests/groups/models.group.php @@ -1,4 +1,35 @@ -<?php class AllScormModelsGroupTest extends GroupTest { +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ +class AllScormModelsGroupTest extends GroupTest { var $label = 'All Scorm models'; @@ -6,4 +37,4 @@ TestManager::addTestCasesFromDirectory($this, APP.DS.'plugins'.DS.'scorm'. DS . 'tests' . DS . 'cases' . DS . 'models'); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/config/description.php b/plugins/wiki/config/description.php index 71ea764..19c089a 100644 --- a/plugins/wiki/config/description.php +++ b/plugins/wiki/config/description.php @@ -1,5 +1,35 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ Configure::write('Wiki.description','Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer elit sapien, scelerisque vel, euismod vel, faucibus at, dolor. Ut vehicula lorem vel nibh. Nam sed elit id sapien fringilla fermentum. Nam mattis. Proin egestas cursus justo. Nullam et odio a erat condimentum porta. Phasellus ipsum eros, blandit nec, sollicitudin a, facilisis nec, lacus. In sed mi. Praesent mauris enim, consectetuer ut, fringilla vitae, commodo et, magna. Sed ac arcu ac turpis gravida fringilla. '); Configure::write('Wiki.title','Wiki'); Configure::write('Wiki.type',array('tool')); -?> \ No newline at end of file +?> diff --git a/plugins/wiki/config/sql/schema.php b/plugins/wiki/config/sql/schema.php index 1114f8e..dfdd493 100644 --- a/plugins/wiki/config/sql/schema.php +++ b/plugins/wiki/config/sql/schema.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class WikiSchema extends CakeSchema { var $name = 'Wiki'; @@ -33,4 +63,4 @@ class WikiSchema extends CakeSchema { 'indexes' => array('PRIMARY' => array('column' => 'id', 'unique' => 1)) ); } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/controllers/components/diff.php b/plugins/wiki/controllers/components/diff.php index 7ed5da9..230d434 100644 --- a/plugins/wiki/controllers/components/diff.php +++ b/plugins/wiki/controllers/components/diff.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Component that rovides functions to purify, prevent xss attacks, and make standard-compliant html code */ @@ -39,4 +69,4 @@ class DiffComponent extends Object { function formatted_diff($old,$new) { return $this->format($this->diff($old,$new)); } -} \ No newline at end of file +} diff --git a/plugins/wiki/controllers/components/wiki_holder.php b/plugins/wiki/controllers/components/wiki_holder.php index b83ef32..826c4f0 100644 --- a/plugins/wiki/controllers/components/wiki_holder.php +++ b/plugins/wiki/controllers/components/wiki_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component', 'PlaceholderData'); class WikiHolderComponent extends PlaceholderDataComponent { @@ -14,4 +44,4 @@ class WikiHolderComponent extends PlaceholderDataComponent { 'course_id' =>$this->controller->_getActiveCourse())); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/controllers/entries_controller.php b/plugins/wiki/controllers/entries_controller.php index b9bf318..97f1e39 100644 --- a/plugins/wiki/controllers/entries_controller.php +++ b/plugins/wiki/controllers/entries_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class EntriesController extends WikiAppController { var $name = 'Entries'; diff --git a/plugins/wiki/controllers/installer_controller.php b/plugins/wiki/controllers/installer_controller.php index 4320064..31d4c9e 100644 --- a/plugins/wiki/controllers/installer_controller.php +++ b/plugins/wiki/controllers/installer_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class InstallerController extends AppController { var $name = 'Installer'; @@ -21,4 +51,4 @@ class InstallerController extends AppController { $this->redirect(array('plugin'=>'','admin' => true,'controller' => 'plugins')); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/controllers/revisions_controller.php b/plugins/wiki/controllers/revisions_controller.php index 36ac8ad..5c2840c 100644 --- a/plugins/wiki/controllers/revisions_controller.php +++ b/plugins/wiki/controllers/revisions_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RevisionsController extends WikiAppController { var $name = 'Revisions'; var $helpers = array('Html','Time','Wiki'); @@ -36,4 +66,4 @@ class RevisionsController extends WikiAppController { $this->set('revision', $this->Revision->read(null, $id)); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/controllers/wikis_controller.php b/plugins/wiki/controllers/wikis_controller.php index d562e6c..4524e87 100644 --- a/plugins/wiki/controllers/wikis_controller.php +++ b/plugins/wiki/controllers/wikis_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class WikisController extends WikiAppController { var $name = 'Wikis'; @@ -66,4 +96,4 @@ class WikisController extends WikiAppController { } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/models/entry.php b/plugins/wiki/models/entry.php index f12b28a..e75f4ef 100644 --- a/plugins/wiki/models/entry.php +++ b/plugins/wiki/models/entry.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Entry extends AppModel { var $name = 'Entry'; @@ -149,4 +179,4 @@ class Entry extends AppModel { } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/models/revision.php b/plugins/wiki/models/revision.php index 79dc886..0ee9333 100644 --- a/plugins/wiki/models/revision.php +++ b/plugins/wiki/models/revision.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Revision extends AppModel { var $name = 'Revision'; @@ -21,4 +51,4 @@ class Revision extends AppModel { ); } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/models/wiki.php b/plugins/wiki/models/wiki.php index 7ed714f..eed64c3 100644 --- a/plugins/wiki/models/wiki.php +++ b/plugins/wiki/models/wiki.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class Wiki extends AppModel { var $name = 'Wiki'; @@ -39,4 +69,4 @@ class Wiki extends AppModel { ); } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/tests/cases/controllers/entries_controller.test.php b/plugins/wiki/tests/cases/controllers/entries_controller.test.php index fe338f3..28ec58e 100644 --- a/plugins/wiki/tests/cases/controllers/entries_controller.test.php +++ b/plugins/wiki/tests/cases/controllers/entries_controller.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Controller', 'Entries'); @@ -21,4 +51,4 @@ class EntriesControllerTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/tests/cases/controllers/wikis_controller.test.php b/plugins/wiki/tests/cases/controllers/wikis_controller.test.php index bb3b463..8dfe4e9 100644 --- a/plugins/wiki/tests/cases/controllers/wikis_controller.test.php +++ b/plugins/wiki/tests/cases/controllers/wikis_controller.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Controller', 'Wikis'); @@ -21,4 +51,4 @@ class WikisControllerTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/tests/cases/models/entry.test.php b/plugins/wiki/tests/cases/models/entry.test.php index 2ef4a08..d134769 100644 --- a/plugins/wiki/tests/cases/models/entry.test.php +++ b/plugins/wiki/tests/cases/models/entry.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* WikiEntry Test cases generated on: 2008-05-14 12:05:57 : 1210781877*/ App::import('Model', 'Wiki.Entry'); @@ -168,4 +197,4 @@ class WikiEntryTestCase extends CakeTestCase { $this->assertEqual($expected,$result['Entry']); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/tests/cases/models/revision.test.php b/plugins/wiki/tests/cases/models/revision.test.php index 4d96808..30c2dbe 100644 --- a/plugins/wiki/tests/cases/models/revision.test.php +++ b/plugins/wiki/tests/cases/models/revision.test.php @@ -1,5 +1,35 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ + /* WikiRevision Test cases generated on: 2008-05-14 12:05:15 : 1210782075*/ App::import('Model', 'Wiki.Revision'); @@ -49,4 +79,4 @@ class WikiRevisionTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/tests/cases/models/wiki.test.php b/plugins/wiki/tests/cases/models/wiki.test.php index 94cb229..d7ded40 100644 --- a/plugins/wiki/tests/cases/models/wiki.test.php +++ b/plugins/wiki/tests/cases/models/wiki.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* WikiWiki Test cases generated on: 2008-05-14 12:05:14 : 1210783754*/ App::import('Model', 'Wiki.Wiki'); @@ -46,4 +75,4 @@ class WikiTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/tests/fixtures/entry_fixture.php b/plugins/wiki/tests/fixtures/entry_fixture.php index ce51369..5e9f89f 100644 --- a/plugins/wiki/tests/fixtures/entry_fixture.php +++ b/plugins/wiki/tests/fixtures/entry_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class EntryFixture extends CakeTestFixture { var $name = 'Entry'; var $table = 'wiki_entries'; diff --git a/plugins/wiki/tests/fixtures/revision_fixture.php b/plugins/wiki/tests/fixtures/revision_fixture.php index a7d7624..b6f09c2 100644 --- a/plugins/wiki/tests/fixtures/revision_fixture.php +++ b/plugins/wiki/tests/fixtures/revision_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RevisionFixture extends CakeTestFixture { var $name = 'Revision'; var $table = 'wiki_revisions'; diff --git a/plugins/wiki/tests/fixtures/wiki_fixture.php b/plugins/wiki/tests/fixtures/wiki_fixture.php index 22aab5b..00b8357 100644 --- a/plugins/wiki/tests/fixtures/wiki_fixture.php +++ b/plugins/wiki/tests/fixtures/wiki_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* WikiWiki Fixure generated on: 2008-05-14 12:05:14 : 1210783754*/ class WikiFixture extends CakeTestFixture { @@ -30,4 +59,4 @@ class WikiFixture extends CakeTestFixture { feugiat lacinia mauris sed, lacinia et felis.' )); } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/vendors/diff/diff_engine.php b/plugins/wiki/vendors/diff/diff_engine.php index a949544..d53b99b 100644 --- a/plugins/wiki/vendors/diff/diff_engine.php +++ b/plugins/wiki/vendors/diff/diff_engine.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ // A PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3) // // Copyright (C) 2000, 2001 Geoffrey T. Dairiki <dairiki@dairiki.org> @@ -1181,4 +1211,4 @@ class HtmlDiffFormatter extends DiffFormatter } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/views/helpers/wiki.php b/plugins/wiki/views/helpers/wiki.php index a46f199..b90b9ed 100644 --- a/plugins/wiki/views/helpers/wiki.php +++ b/plugins/wiki/views/helpers/wiki.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class WikiHelper extends AppHelper { var $helpers = array('Html'); @@ -56,4 +86,4 @@ class WikiHelper extends AppHelper { return $string; } } -?> \ No newline at end of file +?> diff --git a/plugins/wiki/wiki_app_controller.php b/plugins/wiki/wiki_app_controller.php index 702fafc..7e78933 100644 --- a/plugins/wiki/wiki_app_controller.php +++ b/plugins/wiki/wiki_app_controller.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class WikiAppController extends AppController { } ?> diff --git a/plugins/wiki/wiki_app_model.php b/plugins/wiki/wiki_app_model.php index 8f458df..9b45397 100644 --- a/plugins/wiki/wiki_app_model.php +++ b/plugins/wiki/wiki_app_model.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class WikiAppModel extends AppModel { } diff --git a/tests/cases/behaviors/hookable.test.php b/tests/cases/behaviors/hookable.test.php index 8d38f8e..96f672a 100644 --- a/tests/cases/behaviors/hookable.test.php +++ b/tests/cases/behaviors/hookable.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Behavior', 'Hookable'); App::import('Model', 'Member'); diff --git a/tests/cases/behaviors/taggable.test.php b/tests/cases/behaviors/taggable.test.php index 4f253d8..be6863b 100644 --- a/tests/cases/behaviors/taggable.test.php +++ b/tests/cases/behaviors/taggable.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Behavior', 'Taggable'); App::import('Model', 'Tag'); diff --git a/tests/cases/components/placeholder_component.test.php b/tests/cases/components/placeholder_component.test.php index 917e563..96e9379 100644 --- a/tests/cases/components/placeholder_component.test.php +++ b/tests/cases/components/placeholder_component.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Test order is important. */ diff --git a/tests/cases/components/placeholder_data_component.test.php b/tests/cases/components/placeholder_data_component.test.php index 04bfb09..06ae2ad 100644 --- a/tests/cases/components/placeholder_data_component.test.php +++ b/tests/cases/components/placeholder_data_component.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Test order is important. */ diff --git a/tests/cases/components/zip_component.test.php b/tests/cases/components/zip_component.test.php index 5d92e6c..c6d84b4 100644 --- a/tests/cases/components/zip_component.test.php +++ b/tests/cases/components/zip_component.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Test order is important. */ diff --git a/tests/cases/controllers/courses_controller.test.php b/tests/cases/controllers/courses_controller.test.php index aa44f16..6a21cfb 100644 --- a/tests/cases/controllers/courses_controller.test.php +++ b/tests/cases/controllers/courses_controller.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ loadController('Courses'); @@ -17,4 +47,4 @@ class CoursesControllerTestCase extends CakeTestCase { } } -?> \ No newline at end of file +?> diff --git a/tests/cases/controllers/departments_controller.test.php b/tests/cases/controllers/departments_controller.test.php index b3b6957..1fcf15d 100644 --- a/tests/cases/controllers/departments_controller.test.php +++ b/tests/cases/controllers/departments_controller.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ loadController('Departments'); @@ -21,4 +51,4 @@ class DepartmentsControllerTestCase extends CakeTestCase { } */ } -?> \ No newline at end of file +?> diff --git a/tests/cases/helpers/placeholder.test.php b/tests/cases/helpers/placeholder.test.php index 320a118..8bed60c 100644 --- a/tests/cases/helpers/placeholder.test.php +++ b/tests/cases/helpers/placeholder.test.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component','Placeholder'); App::import('Helper','Placeholder'); App::import('Helper','Html'); @@ -55,4 +85,4 @@ class PlaceholderHelperTest extends CakeTestCase { } } -?> \ No newline at end of file +?> diff --git a/tests/cases/models/course.test.php b/tests/cases/models/course.test.php index e9deedf..268abfc 100644 --- a/tests/cases/models/course.test.php +++ b/tests/cases/models/course.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model', 'Course'); @@ -79,4 +109,4 @@ class CourseTestCase extends CakeTestCase { $this->assertEqual($this->TestObject->validationErrors, $expectedErrors); } } -?> \ No newline at end of file +?> diff --git a/tests/cases/models/department.test.php b/tests/cases/models/department.test.php index d13d5f7..a434384 100644 --- a/tests/cases/models/department.test.php +++ b/tests/cases/models/department.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ loadModel('Department'); @@ -34,4 +64,4 @@ class DepartmentTestCase extends CakeTestCase { $this->assertEqual($this->TestObject->validationErrors,array('description'=>'Error.empty')); } } -?> \ No newline at end of file +?> diff --git a/tests/cases/models/member.test.php b/tests/cases/models/member.test.php index 4446460..fb16605 100644 --- a/tests/cases/models/member.test.php +++ b/tests/cases/models/member.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Member Test cases generated on: 2008-05-14 12:05:28 : 1210782628*/ App::import('Model', 'Member'); @@ -43,4 +72,4 @@ class MemberTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/tests/cases/models/model_log.test.php b/tests/cases/models/model_log.test.php index d9f316f..c917df0 100644 --- a/tests/cases/models/model_log.test.php +++ b/tests/cases/models/model_log.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* ModelLog Test cases generated on: 2008-05-13 19:05:50 : 1210721510*/ App::import('Model', 'ModelLog'); @@ -37,4 +66,4 @@ class ModelLogTestCase extends CakeTestCase { $this->assertEqual($results, $expected); } } -?> \ No newline at end of file +?> diff --git a/tests/cases/models/role.test.php b/tests/cases/models/role.test.php index 6a400fb..74ffaff 100644 --- a/tests/cases/models/role.test.php +++ b/tests/cases/models/role.test.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Model','Role'); @@ -29,4 +59,4 @@ class RoleTestCase extends CakeTestCase { } } -?> \ No newline at end of file +?> diff --git a/tests/cases/models/tag.test.php b/tests/cases/models/tag.test.php index 9659a45..037d031 100644 --- a/tests/cases/models/tag.test.php +++ b/tests/cases/models/tag.test.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /* Tag Test cases generated on: 2008-05-12 18:05:35 : 1210631555*/ App::import('Model', 'Tag'); diff --git a/tests/fixtures/course_fixture.php b/tests/fixtures/course_fixture.php index 962d2be..7e66d99 100644 --- a/tests/fixtures/course_fixture.php +++ b/tests/fixtures/course_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class CourseFixture extends CakeTestFixture { var $name = 'Course'; var $import = 'Course'; @@ -29,4 +59,4 @@ class CourseFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/hookable_fixture.php b/tests/fixtures/hookable_fixture.php index 23f01be..58c298e 100644 --- a/tests/fixtures/hookable_fixture.php +++ b/tests/fixtures/hookable_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class HookableFixture extends CakeTestFixture { var $name = 'Hookable'; var $fields = array( @@ -15,4 +45,4 @@ class HookableFixture extends CakeTestFixture { array ('id' => 3, 'title' => 'Third Article', 'body' => 'Third Article Body', 'created' => '2007-03-18 10:43:23', 'modified' => '2007-03-18 10:45:31') ); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/hookable_model_fixture.php b/tests/fixtures/hookable_model_fixture.php index d1272f9..049305c 100644 --- a/tests/fixtures/hookable_model_fixture.php +++ b/tests/fixtures/hookable_model_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class HookableModelFixture extends CakeTestFixture { var $name = 'HookableModel'; var $table = 'hookables'; @@ -14,4 +44,4 @@ class HookableModelFixture extends CakeTestFixture { array('locale' => 'eng', 'model' => 'TranslatedItemWithTable', 'foreign_key' => 1, 'field' => 'content', 'content' => 'Another Content #1') ); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/images_tag_fixture.php b/tests/fixtures/images_tag_fixture.php index 06ce38f..7c8cc74 100644 --- a/tests/fixtures/images_tag_fixture.php +++ b/tests/fixtures/images_tag_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class ImagesTagFixture extends CakeTestFixture { var $name = 'ImagesTag'; var $fields = array( @@ -15,4 +45,4 @@ class ImagesTagFixture extends CakeTestFixture { array('image_id' => 2, 'tag_id' => 3,'member_id' => 1) ); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/member_fixture.php b/tests/fixtures/member_fixture.php index 374fa26..69f1a2a 100644 --- a/tests/fixtures/member_fixture.php +++ b/tests/fixtures/member_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Member Fixure generated on: 2008-05-14 12:05:27 : 1210782627*/ class MemberFixture extends CakeTestFixture { @@ -35,4 +64,4 @@ class MemberFixture extends CakeTestFixture { 'password' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/model_log_fixture.php b/tests/fixtures/model_log_fixture.php index e765d1b..b390c65 100644 --- a/tests/fixtures/model_log_fixture.php +++ b/tests/fixtures/model_log_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* ModelLog Fixure generated on: 2008-05-13 19:05:50 : 1210721510*/ class ModelLogFixture extends CakeTestFixture { @@ -23,4 +52,4 @@ class ModelLogFixture extends CakeTestFixture { 'created' => '2008-05-13 19:01:50' )); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/online_user_fixture.php b/tests/fixtures/online_user_fixture.php index 156e4f0..2029d68 100644 --- a/tests/fixtures/online_user_fixture.php +++ b/tests/fixtures/online_user_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* OnlineUser Fixure generated on: 2008-05-05 13:05:52 : 1210009732*/ class OnlineUserFixture extends CakeTestFixture { @@ -17,4 +46,4 @@ class OnlineUserFixture extends CakeTestFixture { 'viewing' => 'Lorem ipsum dolor sit amet' )); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/plugin_fixture.php b/tests/fixtures/plugin_fixture.php index 5eb859b..58947ec 100644 --- a/tests/fixtures/plugin_fixture.php +++ b/tests/fixtures/plugin_fixture.php @@ -1,5 +1,34 @@ -<?php +<?php /* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + /* Plugin Fixure generated on: 2008-04-23 13:04:14 : 1208972774*/ class PluginFixture extends CakeTestFixture { @@ -45,4 +74,4 @@ class PluginFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/plugins/fake/controllers/components/fake_holder.php b/tests/fixtures/plugins/fake/controllers/components/fake_holder.php index 8e75b16..896a1f9 100644 --- a/tests/fixtures/plugins/fake/controllers/components/fake_holder.php +++ b/tests/fixtures/plugins/fake/controllers/components/fake_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component','PlaceholderData'); class FakeHolderComponent extends PlaceHolderDataComponent { @@ -10,4 +40,4 @@ class FakeHolderComponent extends PlaceHolderDataComponent { return array('var' => 'value'); } } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/plugins/fake/controllers/components/fake_menu_holder.php b/tests/fixtures/plugins/fake/controllers/components/fake_menu_holder.php index 2e34418..adcebd5 100644 --- a/tests/fixtures/plugins/fake/controllers/components/fake_menu_holder.php +++ b/tests/fixtures/plugins/fake/controllers/components/fake_menu_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component','PlaceholderData'); class FakeMenuHolderComponent extends PlaceHolderDataComponent { @@ -10,4 +40,4 @@ class FakeMenuHolderComponent extends PlaceHolderDataComponent { return array('var' => 'value'); } } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/plugins/fake2/controllers/components/fake2_holder.php b/tests/fixtures/plugins/fake2/controllers/components/fake2_holder.php index 098bb29..d485e42 100644 --- a/tests/fixtures/plugins/fake2/controllers/components/fake2_holder.php +++ b/tests/fixtures/plugins/fake2/controllers/components/fake2_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component','PlaceholderData'); class Fake2HolderComponent extends PlaceHolderDataComponent { @@ -10,4 +40,4 @@ class Fake2HolderComponent extends PlaceHolderDataComponent { return array('var' => 'value'); } } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/plugins/fake2/controllers/components/fake2_other_holder.php b/tests/fixtures/plugins/fake2/controllers/components/fake2_other_holder.php index df63d44..1516bd9 100644 --- a/tests/fixtures/plugins/fake2/controllers/components/fake2_other_holder.php +++ b/tests/fixtures/plugins/fake2/controllers/components/fake2_other_holder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ App::import('Component','PlaceholderData'); class Fake2OtherHolderComponent extends PlaceHolderDataComponent { @@ -10,4 +40,4 @@ class Fake2OtherHolderComponent extends PlaceHolderDataComponent { return array('var' => 'value'); } } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/role_fixture.php b/tests/fixtures/role_fixture.php index 13214ea..66283d7 100644 --- a/tests/fixtures/role_fixture.php +++ b/tests/fixtures/role_fixture.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class RoleFixture extends CakeTestFixture { var $name = 'Role'; var $import = array('model'=>'Role'); @@ -18,4 +48,4 @@ class RoleFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/tests/fixtures/tag_fixture.php b/tests/fixtures/tag_fixture.php index 7f2fdee..e493f86 100644 --- a/tests/fixtures/tag_fixture.php +++ b/tests/fixtures/tag_fixture.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class TagFixture extends CakeTestFixture { var $name = 'Tag'; var $fields = array( @@ -29,4 +59,4 @@ class TagFixture extends CakeTestFixture { ) ); } -?> \ No newline at end of file +?> diff --git a/views/helpers/dynamicjs.php b/views/helpers/dynamicjs.php index ba8d62e..522ae90 100644 --- a/views/helpers/dynamicjs.php +++ b/views/helpers/dynamicjs.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class DynamicjsHelper extends Helper { var $helpers = array('Javascript'); diff --git a/views/helpers/placeholder.php b/views/helpers/placeholder.php index 6aef81d..d6f0934 100644 --- a/views/helpers/placeholder.php +++ b/views/helpers/placeholder.php @@ -1,4 +1,34 @@ <?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ /** * Helper class responsible for rendering placeholders * @@ -81,4 +111,4 @@ class PlaceholderHelper extends AppHelper { return $subscribers; } } -?> \ No newline at end of file +?> diff --git a/views/helpers/tree.php b/views/helpers/tree.php index bcd60f5..dec13fd 100644 --- a/views/helpers/tree.php +++ b/views/helpers/tree.php @@ -1,4 +1,34 @@ -<?php +<?php +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ class TreeHelper extends Helper { var $tab = " "; diff --git a/views/layouts/ajax.ctp b/views/layouts/ajax.ctp index 993b5cb..3f29013 100755 --- a/views/layouts/ajax.ctp +++ b/views/layouts/ajax.ctp @@ -1,27 +1 @@ -<?php -/* SVN FILE: $Id: ajax.ctp 5118 2007-05-18 17:19:53Z phpnut $ */ -/** - * - * PHP versions 4 and 5 - * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.cake.libs.view.templates.layouts - * @since CakePHP(tm) v 0.10.0.1076 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -?> <?php echo $content_for_layout; ?> \ No newline at end of file diff --git a/views/layouts/flash.ctp b/views/layouts/flash.ctp index 9123b2f..b3ae32d 100755 --- a/views/layouts/flash.ctp +++ b/views/layouts/flash.ctp @@ -1,29 +1,3 @@ -<?php -/* SVN FILE: $Id: flash.ctp 5318 2007-06-20 09:01:21Z phpnut $ */ -/** - * - * PHP versions 4 and 5 - * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.cake.libs.view.templates.layouts - * @since CakePHP(tm) v 0.10.0.1076 - * @version $Revision: 5318 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-06-20 05:01:21 -0400 (Wed, 20 Jun 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> diff --git a/views/pages/home.ctp b/views/pages/home.ctp index 2c5305c..8bc3524 100644 --- a/views/pages/home.ctp +++ b/views/pages/home.ctp @@ -1,30 +1,4 @@ <?php -/* SVN FILE: $Id: home.ctp 5752 2007-10-14 01:09:21Z gwoo $ */ -/** - * - * PHP versions 4 and 5 - * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.cake.libs.view.templates.pages - * @since CakePHP(tm) v 0.10.0.1076 - * @version $Revision: 5752 $ - * @modifiedby $LastChangedBy: gwoo $ - * @lastmodified $Date: 2007-10-13 21:09:21 -0400 (Sat, 13 Oct 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License - */ -?> -<?php if(Configure::read() > 0): Debugger::checkSessionKey(); endif; diff --git a/webroot/css.php b/webroot/css.php index 0342a60..89362d5 100755 --- a/webroot/css.php +++ b/webroot/css.php @@ -1,30 +1,33 @@ <?php -/* SVN FILE: $Id: css.php 5118 2007-05-18 17:19:53Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * Short description for file. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * Long description for file + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and 5 + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ /** * Enter description here... @@ -96,4 +99,4 @@ header("Cache-Control: cache"); // HTTP/1.1 header("Pragma: cache"); // HTTP/1.0 print $output; -?> \ No newline at end of file +?> diff --git a/webroot/css/cake.generic.css b/webroot/css/cake.generic.css deleted file mode 100755 index 093110b..0000000 --- a/webroot/css/cake.generic.css +++ /dev/null @@ -1,394 +0,0 @@ -* { -margin:0; -padding:0; -} - -/* General Style Info */ -body { - background-color: #000; - color: #fff; - font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; -} -a { - background-color: inherit; - color: #003d4c; - text-decoration: underline; - font-weight: bold; -} -a:hover { - background-color: inherit; - color: #003d4c; - text-decoration:none; -} -a img { - border:none; -} -h1, h2, h3, h4 { - background-color: inherit; - font-weight:normal; -} -h1 { - color: #003d4c; - font-size: 160%; - margin: 0.1em 0; -} -h2 { - color: #2C6877; - font-size: 160%; - margin: 0.3em 0; - padding-top: 1em; -} -h3 { - color: #c6c65b; - font-size: 120%; - padding-top: 2em; -} -h4 { - color: #c6c65b; - font-weight: normal; - padding-top: 0.5em; -} -ul, li { - margin: 0 12px; -} - -/* Layout */ -#container { - text-align: left; -} - -#header{ - background-color: #000; - padding: 10px 20px 0 20px; - height: 5em; -} -#header h1 { - color: #ffffff; - padding: 5px 50px; - height: 5em; -} -#header h1 a { - color: #ffffff; - background: #000; - text-decoration: none; -} -#header h1 a:hover { - color: #ffffff; - background: #333; - text-decoration: none; -} -#content{ - background-color: #fff; - clear: both; - color: #333; - padding: 0px 40px 40px 40px; - overflow: auto; -} -#footer { - clear: both; - padding: 6px 10px; - text-align: right; -} - -/* Tables */ -table { - background-color: #fff; - border-top: 1px solid #ccc; - border-left: 1px solid #ccc; - border-bottom: 1px solid #ccc; - clear: both; - color: #333; - margin-bottom: 10px; - width: 100%; -} -th { - background-color: #f2f2f2; - border-top: 1px solid #fff; - border-left: 1px solid #fff; - border-right: 1px solid #bbb; - border-bottom: 1px solid #bbb; - text-align: center; -} - -th a { - display: block; - padding: 2px 4px; - text-decoration: none; -} - -th a:hover { - background-color: #ccc; - color: #333; - text-decoration: none; -} - -table tr td { - background: #fff; - border-right: 1px solid #ccc; - padding: 4px; - text-align: center; - vertical-align: top; -} -table tr.altrow td { - background: #f4f4f4; -} -td.actions { - text-align: center; - white-space: nowrap; -} -td.actions a { - display: inline; - margin: 0px 6px; -} -.cakeSqlLog table { - background: #f4f4f4; -} -.cakeSqlLog td { - padding: 4px 8px; - text-align: left; -} - -/* Paging */ -div.paging { - color: #ccc; - margin-bottom: 2em; -} -div.paging div.disabled { - color: #ddd; - display: inline; -} - -/* Scaffold View */ -dl { - line-height: 2em; - margin: 0em 0em; - width: 50%; -} -dl .altrow { - background: #f4f4f4; -} -dt { - font-weight: bold; - padding-left: 4px; - vertical-align: top; -} -dd { - margin-left: 10em; - margin-top: -2em; - vertical-align: top; -} - -/* Forms */ -form { - clear: both; - margin-right: 20px; - padding: 0; - width: 60%; -} -fieldset { - border: 1px solid #ccc; - margin-top: 30px; - padding: 16px 20px; -} -fieldset legend { - color: #2C6877; - font-size: 160%; - font-weight: bold; -} -form div { - clear: both; - margin-bottom: 1em; - padding: .5em; - vertical-align: text-top; -} -form div.required { - color: #333; - font-weight: bold; -} -form div.optional, form div.input { - color: #444; -} -form div.submit { - border: 0; - clear: both; - margin-top: 10px; - margin-left: 140px; -} -label { - display: block; - font-size: 110%; - padding-right: 20px; -} -input, textarea { - clear: both; - display: block; - font-size: 140%; - font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; - padding: 2px; - width: 100%; -} -select { - clear: both; - font-size: 120%; - vertical-align: text-bottom; -} -select[multiple=multiple] { - width: 100%; -} -option { - font-size: 120%; - padding: 0 3px; -} -input[type=checkbox] { - clear: left; - float: left; - margin: 0px 6px 7px 2px; - width: auto; -} -input[type=submit] { - display: inline; - padding: 2px 5px; - width: auto; - font-size: 110%; - vertical-align: bottom; -} - -/* Notices and Errors */ -div.message, p.error, div.error-message { - color: #900; - font-size: 140%; - font-weight: bold; - margin: 8px 0px; -} -div.error-message { - clear: both; -} -div.error em { - font-size: 140%; - color: #003d4c; -} -span.notice { - background-color: #c6c65b; - color: #fff; - display: block; - font-size: 140%; - padding: 0.5em; - margin: 1em 0; -} - -/* Nav & Actions */ -div.nav { - text-align: left; - position: absolute; - top: 9em; - left: 60%; -} -div.nav ul li a { - display: block; - background: #fff; - color: #003d4c; - padding: 3px 8px; - text-decoration: none; -} -div.nav ul { - background: #003d4c; - margin: 0; - padding: 0; - list-style-type: none; -} -div.nav li { - list-style-type: none; - margin: 0; - padding: 0; -} -div.nav ul li a { - background: #fff; - color: #003d4c; - padding: 3px 8px; - text-decoration: none; -} -div.nav ul li a:hover { - background: #003d4c; - color: #fff; -} - -/* Actions */ -div.actions { - clear: both; - margin-top: .2em; - text-align: left; -} -div.actions ul { - margin: 0; - padding: 0; -} -div.actions li { - display: inline; - list-style-type: none; - margin: 0 2em 0 0; - padding: 0; -} -div.actions ul li a { - background: #fff; - color: #003d4c; - text-decoration: none; -} -div.actions ul li a:hover { - background: #003d4c; - color: #fff; -} - -/* Related */ -div.related { - clear: both; - display: block; -} - -/* Debugging */ -pre { - color: #000; - background: #f0f0f0; - padding: 1em; -} - -pre.cake_debug { - background: #ffcc00; - font-size: 120%; - line-height: 18px; - margin: 4px 2px; - overflow: auto; - position: relative; -} -div.cake-stack-trace { - background: #fff; - color: #333; - margin: 4px 2px; - padding: 4px; - font-size: 120%; - line-height: 18px; - overflow: auto; - position: relative; -} -div.cake-code-dump pre { - position: relative; - overflow: auto; -} -div.cake-stack-trace pre, div.cake-code-dump pre { - color: #000000; - background-color: #F0F0F0; - border: 1px dotted #606060; - margin: 4px 2px; - padding: 4px; - overflow: auto; -} -div.cake-code-dump pre, div.cake-code-dump pre code { - clear: both; - font-size: 12px; - line-height: 5px; - margin: 4px 2px; - padding: 4px; - overflow: auto; -} -div.cake-code-dump span.code-highlight { - background-color: #FFFF00; -} diff --git a/webroot/index.php b/webroot/index.php index aefa01c..c60ab06 100755 --- a/webroot/index.php +++ b/webroot/index.php @@ -1,30 +1,33 @@ <?php -/* SVN FILE: $Id: index.php 5118 2007-05-18 17:19:53Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * Short description for file. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * Long description for file + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and 5 + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 5118 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-05-18 13:19:53 -0400 (Fri, 18 May 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ /** * Do not change diff --git a/webroot/js/jquery/plugins/jquery.osmosis-selector.js b/webroot/js/jquery/plugins/jquery.osmosis-selector.js index 68293f0..c385845 100755 --- a/webroot/js/jquery/plugins/jquery.osmosis-selector.js +++ b/webroot/js/jquery/plugins/jquery.osmosis-selector.js @@ -1,3 +1,34 @@ +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ + /** * jQuery plugin: osmosisSelector (Convert MultiSelect boxes into facebook style multi selector) * @requires jQuery 1.2.2b2 or later diff --git a/webroot/js/osmosis/ui.js b/webroot/js/osmosis/ui.js index a6cb754..8518255 100644 --- a/webroot/js/osmosis/ui.js +++ b/webroot/js/osmosis/ui.js @@ -1,3 +1,33 @@ +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ $(document).ready(function() { $('select[multiple]').osmosisSelector(); }); \ No newline at end of file diff --git a/webroot/js/plugins/scorm/controls.js b/webroot/js/plugins/scorm/controls.js index ea504b1..5a365a9 100644 --- a/webroot/js/plugins/scorm/controls.js +++ b/webroot/js/plugins/scorm/controls.js @@ -1,3 +1,33 @@ +/* SVN FILE: $Id$ */ +/** + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS + * + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. + * + * @filesource + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 + */ var ScormControl = new function(){ this.updateUI = function(link) { debugGroup("Activado el link " + link.id); diff --git a/webroot/js/vendors.php b/webroot/js/vendors.php index 68c2cca..07fc1eb 100755 --- a/webroot/js/vendors.php +++ b/webroot/js/vendors.php @@ -1,31 +1,33 @@ <?php -/* SVN FILE: $Id: vendors.php 5318 2007-06-20 09:01:21Z phpnut $ */ +/* SVN FILE: $Id$ */ /** - * Short description for file. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * This file includes js vendor-files from /vendor/ directory if they need to - * be accessible to the public. + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and 5 + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/> - * Copyright 2005-2007, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2007, Cake Software Foundation, Inc. - * @link http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project - * @package cake - * @subpackage cake.app.webroot.js - * @since CakePHP(tm) v 0.2.9 - * @version $Revision: 5318 $ - * @modifiedby $LastChangedBy: phpnut $ - * @lastmodified $Date: 2007-06-20 05:01:21 -0400 (Wed, 20 Jun 2007) $ - * @license http://www.opensource.org/licenses/mit-license.php The MIT License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ /** * Enter description here... @@ -40,4 +42,4 @@ if ($pos === false) { } else { header('HTTP/1.1 404 Not Found'); } -?> \ No newline at end of file +?> diff --git a/webroot/test.php b/webroot/test.php index 9c0aace..fd9f03e 100755 --- a/webroot/test.php +++ b/webroot/test.php @@ -1,30 +1,33 @@ <?php -/* SVN FILE: $Id: test.php 6715 2008-04-23 18:25:03Z DarkAngelBGE $ */ +/* SVN FILE: $Id$ */ /** - * Short description for file. + * Ósmosis LMS: <http://www.osmosislms.org/> + * Copyright 2008, Ósmosis LMS * - * Long description for file + * This file is part of Ósmosis LMS. + * Ósmosis LMS is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. * - * PHP versions 4 and 5 + * Ósmosis LMS is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * - * CakePHP(tm) Tests <https://trac.cakephp.org/wiki/Developement/TestSuite> - * Copyright 2005-2008, Cake Software Foundation, Inc. - * 1785 E. Sahara Avenue, Suite 490-204 - * Las Vegas, Nevada 89104 - * - * Licensed under The Open Group Test Suite License - * Redistributions of files must retain the above copyright notice. + * You should have received a copy of the GNU General Public License + * along with Ósmosis LMS. If not, see <http://www.gnu.org/licenses/>. * * @filesource - * @copyright Copyright 2005-2008, Cake Software Foundation, Inc. - * @link https://trac.cakephp.org/wiki/Developement/TestSuite CakePHP(tm) Tests - * @package cake - * @subpackage cake.cake.tests.libs - * @since CakePHP(tm) v 1.2.0.4433 - * @version $Revision: 6715 $ - * @modifiedby $LastChangedBy: DarkAngelBGE $ - * @lastmodified $Date: 2008-04-23 13:55:03 -0430 (Wed, 23 Apr 2008) $ - * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License + * @copyright Copyright 2008, Ósmosis LMS + * @link http://www.osmosislms.org/ + * @package org.osmosislms + * @subpackage org.osmosislms.app + * @since Version 2.0 + * @version $Revision$ + * @modifiedby $LastChangedBy$ + * @lastmodified $Date$ + * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 */ error_reporting(E_ALL); set_time_limit(0); @@ -145,4 +148,4 @@ if (isset($_GET['group'])) { CakePHPTestGroupTestList(); } CakePHPTestSuiteFooter(); -?> \ No newline at end of file +?>